Brightcove Live API (2.0.0)

Download OpenAPI specification:Download

API for interacting with the Brightcove Live platform

jobs

List all jobs in an account

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

query Parameters
regions
Array of strings

regions to query

modified_at
string

modified_at filter - format :

created_at
string

created_at filter - format :

processing_state
string

filter by processing state

ingest_state
string

filter by ingest state

type
string

filter by type

Responses

Response samples

Content type
application/json
{
  • "jobs": [
    ]
}

Configure a new job

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

Request Body schema: application/json
required

Job Config

audio_only
boolean
object
description
string
required
object (external.Input)
live_to_vod
boolean
long_description
string
object (external.MaintenancePreferences)
object (external.ManifestOptions)
name
string
Array of objects (external.Notification)
required
object (external.OutputVariants)
object (external.RedundancyOptions)
reference_id
string
region
required
string
object (external.SSAI)
tags
Array of strings
type
required
string
Enum: "channel" "event"

Responses

Request samples

Content type
application/json
{
  • "audio_only": true,
  • "custom_fields": {
    },
  • "description": "string",
  • "input": {
    },
  • "live_to_vod": true,
  • "long_description": "string",
  • "maintenance_preferences": {
    },
  • "manifest": {
    },
  • "name": "string",
  • "notifications": [
    ],
  • "outputs": {
    },
  • "redundancy": {
    },
  • "reference_id": "string",
  • "region": "string",
  • "ssai": {
    },
  • "tags": [
    ],
  • "type": "channel"
}

Response samples

Content type
application/json
{
  • "account_id": "string",
  • "audio_only": true,
  • "created_at": "string",
  • "id": "string",
  • "ingest_endpoints": [
    ],
  • "input": {
    },
  • "last_started_at": "string",
  • "live_to_vod": true,
  • "maintenance_preferences": {
    },
  • "manifest": {
    },
  • "notifications": [
    ],
  • "outputs": {
    },
  • "redundancy": {
    },
  • "region": "string",
  • "ssai": {
    },
  • "state": {
    },
  • "type": "channel"
}

Finish a job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Job ID

Responses

Response samples

Content type
application/json
{
  • "id": "string"
}

Get a job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Account ID

Responses

Response samples

Content type
application/json
{
  • "account_id": "string",
  • "audio_only": true,
  • "created_at": "string",
  • "id": "string",
  • "ingest_endpoints": [
    ],
  • "input": {
    },
  • "last_started_at": "string",
  • "live_to_vod": true,
  • "maintenance_preferences": {
    },
  • "manifest": {
    },
  • "notifications": [
    ],
  • "outputs": {
    },
  • "redundancy": {
    },
  • "region": "string",
  • "ssai": {
    },
  • "state": {
    },
  • "type": "channel"
}

Update a given job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Account ID

Request Body schema: application/json
required

Job Config

audio_only
boolean
required
object (external.Input)
live_to_vod
boolean
object (external.MaintenancePreferences)
object (external.ManifestOptions)
Array of objects (external.Notification)
required
object (external.OutputVariants)
object (external.RedundancyOptions)
region
required
string
object (external.SSAI)
type
required
string
Enum: "channel" "event"

Responses

Request samples

Content type
application/json
{
  • "audio_only": true,
  • "input": {
    },
  • "live_to_vod": true,
  • "maintenance_preferences": {
    },
  • "manifest": {
    },
  • "notifications": [
    ],
  • "outputs": {
    },
  • "redundancy": {
    },
  • "region": "string",
  • "ssai": {
    },
  • "type": "channel"
}

Response samples

Content type
application/json
{
  • "old_config": {
    },
  • "updated_job": {
    }
}

Clip a given job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Account ID

Request Body schema: application/json
required

Clip Config

description
string
end
string
name
string
reference_id
string
remove_ads
boolean
start
string
tags
Array of strings

Responses

Request samples

Content type
application/json
{
  • "description": "string",
  • "end": "string",
  • "name": "string",
  • "reference_id": "string",
  • "remove_ads": true,
  • "start": "string",
  • "tags": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string"
}

Start a given job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Account ID

Responses

Response samples

Content type
application/json
{
  • "id": "string"
}

Stop a job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Account ID

Responses

Response samples

Content type
application/json
{
  • "id": "string"
}

Get thumnail images from a processing job

Authorizations:
BC_OAuth2
path Parameters
id
required
string

Job ID

account_id
required
string

Account ID

Responses

Response samples

Content type
application/json
{
  • "thumbnail_detail": {
    }
}

List notifications for a job

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

job_id
required
string

Job ID

Responses

Response samples

Content type
application/json
{
  • "last_key": "string",
  • "notifications": [
    ]
}

List notifications for an account

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

Responses

Response samples

Content type
application/json
{
  • "last_key": "string",
  • "notifications": [
    ]
}

metricsapi

Get Job metrics

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

job_id
required
string

Job ID

query Parameters
name
required
string

comma separated metric names to query

period
string

period filter in seconds (ex: 30s, 60s)

range
string

range filter in hours (ex: 1h, 3h)

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "endTime": 0,
  • "isPartial": true,
  • "startTime": 0,
  • "status": "string"
}

Get all supported metrics

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

job_id
required
string

Job ID

Responses

Response samples

Content type
application/json
{
  • "metrics": [
    ]
}

playback

Create a playback token for a job

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

id
required
string

Job ID

Request Body schema: application/json
required

Token Config

dvr
boolean
end_time
string
low_latency
boolean
manifest_format
string
playlist_name
string
start_time
string

Responses

Request samples

Content type
application/json
{
  • "dvr": true,
  • "end_time": "string",
  • "low_latency": true,
  • "manifest_format": "string",
  • "playlist_name": "string",
  • "start_time": "string"
}

Response samples

Content type
application/json
{
  • "token": "string"
}

Generate sources for a job

path Parameters
account_id
required
string

Account ID

job_id
required
string

Job ID

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Generate a playback url for a job

path Parameters
account_id
required
string

Account ID

id
required
string

Job ID

query Parameters
pt
required
string

Playback Token

Responses

Response samples

Content type
application/json
{
  • "url": "string"
}

session

Get a session from a session id

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

id
required
string

Session ID

Responses

Response samples

Content type
application/json
{
  • "account_id": "string",
  • "end_time": 0,
  • "id": "string",
  • "resource_id": "string",
  • "start_time": 0
}

Get events from a session

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

id
required
string

Session ID

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get sessions for a resource

Authorizations:
BC_OAuth2
path Parameters
account_id
required
string

Account ID

id
required
string

Resource ID

Responses

Response samples

Content type
application/json
{
  • "sessions": [
    ]
}

misc

Healthcheck

Responses

Response samples

Content type
application/json
{
  • "build_version": "string",
  • "git_sha": "string"
}