API routes - Channels
Documentation of the principal routes available in the serverside.ai API.
Channels - get schema
Headers
Name
Type
Description
{
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Channel Name"
},
"apiKey": {
"type": "string",
"title": "API Key"
},
"sourceManifestUrl": {
"type": "string",
"title": "Source URL"
},
"adSlateManifestUrl": {
"type": "string",
"default": "",
"title": "Ad slate URL"
},
"profile": {
"type": "object",
"title": "Encoding Profile"
},
"outputUri": {
"type": "string",
"title": "Output URI"
},
"type": {
"type": "string",
"enum": [
"hls-live",
"hls-vod",
"dash-live",
"dash-vod",
"mrss"
],
"title": "Channel type"
},
"adSource": {
"type": "object",
"title": "Ad Source"
},
"adConditioner": {
"type": "object",
"title": "Ad Conditioner"
},
"state": {
"type": "string",
"enum": [
"disabled",
"enabled",
"failed",
"shutdown"
],
"title": "State"
}
},
"required": [
"name",
"sourceManifestUrl",
"adSlateManifestUrl",
"adSource"
]
}Channels - get
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
Channels - get by id
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Channels - post
Headers
Name
Type
Description
Request Body
Name
Type
Description
Required Fields
Optional fields
Process
Errors
Example body
Channels - put
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Request Body
Name
Type
Description
(See POST for field details and body example)
Mandatory fields for update
Other fields that can be updated
Process
Errors
Channels - setState
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Channels - delete
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Last updated