channel import.md
Channel Import
Channels API · import-export
POST /ui/connectors/channels-api/latest/import/
Import channels from a JSON payload.
mode=merge (default): create missing, update changed, leave others alone.
mode=replace: delete any channel not in the payload, then create/update.
An empty channels list with mode=replace deletes all channels.
Returns immediately. Background tasks push service configs to the controller;
observe final per-channel state via GET /channels/{id}/ (sync_state).
Request body
Content type: application/json · Required
payload· object · RequiredschemaVersion· string · Optional · Defaults to 1description· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
exportedAt· string · Required · format: date-timesourceVersion· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
channels· list of objects · Required- Array items (object):
kind· string · Optional · Defaults to BeamChannelmetadata· object · Requiredname· string · RequireddisplayName· string · Required
spec· object · Requiredtype· enum · Required- Allowed values:
EncodingContribution,EncodingDistribution,ReceptionDecoding,ReceptionGateway,EncodingStreaming
- Allowed values:
state· enum · Optional · Defaults to Stopped- Allowed values:
Running,Stopped
- Allowed values:
inputs· list of objects · Optional · Defaults to []- Array items (object):
- One of the following variants, selected by
type:- SRTCaller (object)
type· string · Optional · Defaults to SRTCallername· string · Requiredtransport· object · Requiredurl· string · Required · pattern: ^srt://interface· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
latency· double · Optional · 0.06 to 8 · Defaults to 0.125encryptionStandard· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,AES128,AES192,AES256
- Allowed values:
passPhrase· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
payload· object · Optional- One of the following variants:
- MptsPayload (object)
programNumber· string · Optional · Defaults to 1delayMode· enum · Optional · Defaults to Standard- Allowed values:
Unsynced,Standard,Low,SuperLow
- Allowed values:
decrypt· object · Optional- One of the following variants:
- DecryptConfig (object)
type· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BISS,BISSCA,DVBCI
- Allowed values:
bissMode· object · Optional- One of the following variants:
- BissMode (enum)
- null (null)
- One of the following variants:
bissKey· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissInjectedKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissCAKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
camSlot· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
camPort· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
- null (null)
- DecryptConfig (object)
- One of the following variants:
- null (null)
- MptsPayload (object)
- One of the following variants:
- SRTListener (object)
type· string · Optional · Defaults to SRTListenername· string · Requiredtransport· object · Requiredinterface· string · Requiredport· integer · Required · 256 to 65535 — Port numbermaxConnections· integer · Optional · >=1 · Defaults to 10latency· double · Optional · 0.06 to 8 · Defaults to 0.125encryptionStandard· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,AES128,AES192,AES256
- Allowed values:
passPhrase· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
payload· object · Optional- One of the following variants:
- MptsPayload (object)
programNumber· string · Optional · Defaults to 1delayMode· enum · Optional · Defaults to Standard- Allowed values:
Unsynced,Standard,Low,SuperLow
- Allowed values:
decrypt· object · Optional- One of the following variants:
- DecryptConfig (object)
type· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BISS,BISSCA,DVBCI
- Allowed values:
bissMode· object · Optional- One of the following variants:
- BissMode (enum)
- null (null)
- One of the following variants:
bissKey· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissInjectedKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissCAKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
camSlot· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
camPort· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
- null (null)
- DecryptConfig (object)
- One of the following variants:
- null (null)
- MptsPayload (object)
- One of the following variants:
- UDP (object)
type· string · Optional · Defaults to UDPname· string · Requiredtransport· object · Requiredurl· string · Requiredinterface· string · Requiredunicast· boolean · Optional · Defaults to false
payload· object · Optional- One of the following variants:
- MptsPayload (object)
programNumber· string · Optional · Defaults to 1delayMode· enum · Optional · Defaults to Standard- Allowed values:
Unsynced,Standard,Low,SuperLow
- Allowed values:
decrypt· object · Optional- One of the following variants:
- DecryptConfig (object)
type· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BISS,BISSCA,DVBCI
- Allowed values:
bissMode· object · Optional- One of the following variants:
- BissMode (enum)
- null (null)
- One of the following variants:
bissKey· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissInjectedKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissCAKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
camSlot· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
camPort· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
- null (null)
- DecryptConfig (object)
- One of the following variants:
- null (null)
- MptsPayload (object)
- One of the following variants:
- ASI (object)
type· string · Optional · Defaults to ASIname· string · Requiredtransport· object · Requiredurl· string · Required · pattern: ^asi://tsPacketSize· object · Optional- One of the following variants:
- TsPacketSize (enum)
- null (null)
- One of the following variants:
payload· object · Optional- One of the following variants:
- MptsPayload (object)
programNumber· string · Optional · Defaults to 1delayMode· enum · Optional · Defaults to Standard- Allowed values:
Unsynced,Standard,Low,SuperLow
- Allowed values:
decrypt· object · Optional- One of the following variants:
- DecryptConfig (object)
type· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BISS,BISSCA,DVBCI
- Allowed values:
bissMode· object · Optional- One of the following variants:
- BissMode (enum)
- null (null)
- One of the following variants:
bissKey· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissInjectedKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissCAKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
camSlot· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
camPort· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
- null (null)
- DecryptConfig (object)
- One of the following variants:
- null (null)
- MptsPayload (object)
- One of the following variants:
- SatDemod (object)
type· string · Optional · Defaults to SatDemodname· string · Requiredtransport· object · Requiredurl· string · Required · pattern: ^rfdemod://lnbFrequencyMHz· integer · RequiredlnbVoltage· enum · Optional · Defaults to Off- Allowed values:
Unsynced,Off,13V,18V
- Allowed values:
lnbToneEnabled· boolean · Optional · Defaults to falsetunerFrequencyHz· integer · RequiredtunerSymbolRate· integer · RequiredtunerSearchRangeHz· integer · Optional · Defaults to 2000000tunerMISEnabled· boolean · Optional · Defaults to falsetunerGoldCode· integer · Optional · Defaults to 0tunerMISStreamId· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
payload· object · Optional- One of the following variants:
- MptsPayload (object)
programNumber· string · Optional · Defaults to 1delayMode· enum · Optional · Defaults to Standard- Allowed values:
Unsynced,Standard,Low,SuperLow
- Allowed values:
decrypt· object · Optional- One of the following variants:
- DecryptConfig (object)
type· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BISS,BISSCA,DVBCI
- Allowed values:
bissMode· object · Optional- One of the following variants:
- BissMode (enum)
- null (null)
- One of the following variants:
bissKey· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissInjectedKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
bissCAKeyId· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
camSlot· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
camPort· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
- null (null)
- DecryptConfig (object)
- One of the following variants:
- null (null)
- MptsPayload (object)
- One of the following variants:
- Smpte2110 (object)
type· string · Optional · Defaults to Smpte2110name· string · Requiredtransport· object · Requiredinterface· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
nmosEnabled· boolean · Optional · Defaults to false
payload· object · Optional- One of the following variants:
- Smpte2110Payload (object)
video· object · Optional- One of the following variants:
- Smpte2110VideoInputEssence (object)
type· string · Optional · Defaults to videotransportFile· object · Optional- One of the following variants:
- TransportFile (object)
data· string · Required — Raw file contents; expects SDP format by default.
- null (null)
- TransportFile (object)
- One of the following variants:
sdpUrl· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
streamIndex· integer · Optional · >=0 · Defaults to 0
- null (null)
- Smpte2110VideoInputEssence (object)
- One of the following variants:
audios· list of objects · Optional · Defaults to []- Array items (object):
type· string · Optional · Defaults to audiotransportFile· object · Optional- One of the following variants:
- TransportFile (object)
data· string · Required — Raw file contents; expects SDP format by default.
- null (null)
- TransportFile (object)
- One of the following variants:
sdpUrl· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
streamIndex· integer · Optional · >=0 · Defaults to 0channelGroupIndex· integer · Optional · >=0 · Defaults to 0name· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
- Array items (object):
- null (null)
- Smpte2110Payload (object)
- One of the following variants:
- SDI (object)
type· string · Optional · Defaults to SDIname· string · Requiredtransport· object · Requiredurl· string · Required · pattern: ^sdi://
payload· object · Optional- One of the following variants:
- SdiPayload (object)
audios· list of objects · Optional · Defaults to []- Array items (object):
name· string · Requiredaggregation· object · Optional · Defaults to {"type":"None","pair":"G1P1"}- One of the following variants, selected by
type:- None (object)
type· string · Optional · Defaults to Nonepair· enum · Required · Defaults to G1P1- Allowed values:
Unsynced,G1P1,G1P2,G2P1,G2P2,G3P1,G3P2,G4P1,G4P2
- Allowed values:
- None (object)
- One of the following variants, selected by
- Array items (object):
- null (null)
- SdiPayload (object)
- One of the following variants:
- Unsynced (object)
type· string · Optional · Defaults to Unsyncedname· string · RequiredunsupportedValue· string · Optional · _Defaults to _
- SRTCaller (object)
- One of the following variants, selected by
- Array items (object):
transform· object · Optional- One of the following variants:
- TransformConfig (object)
encoding· object · Optional- One of the following variants:
- EncodingConfig (object)
video· object · Requiredcodec· enum · Required · Defaults to H264High- Allowed values:
Unsynced,HEVCMain,HEVCMain10bit,HEVCMain422,HEVCMain10bit422,H264Main,H264High,H264High422,H264High10bit,H264High10bit422,H264Baseline,MPEG2,MPEG2422,JPEGXS,JPEGXS10bit
- Allowed values:
videoFormat· enum · Required · Defaults to 1920x1080p- Allowed values:
Unsynced,3840x2160p,1920x1080p,1920x1080i,1440x1080p,1440x1080i,1280x1080p,1280x1080i,960x1080p,960x1080i,1280x720p,960x720p,854x720p,848x720p,640x720p,720x576p,720x576i,704x576p,704x576i,544x576p,544x576i,528x576p,528x576i,480x576p,480x576i,352x576p,352x576i,720x480p,720x480i,704x480p,704x480i,640x480p,640x480i,544x480p,544x480i,528x480p,528x480i,480x480p,480x480i,352x480p,352x480i,352x288p,320x240p,192x192p,176x144p,176x120p,128x96p,96x96p
- Allowed values:
bitrate· integer · Required · 100000 to 60000000 · Defaults to 6000000frameRate· object · Optional · Defaults to TrueMotion- One of the following variants:
- FrameRate (enum)
- null (null)
- One of the following variants:
audios· list of objects · Optional · Defaults to []- Array items (object):
name· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
inputName· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
audioName· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
codec· enum · Required · Defaults to AC3- Allowed values:
Unsynced,PassThrough,SMPTE302PassThrough,MPEG1Layer2,AAC,HEAAC,HEAACv2,AC3,EAC3,AC4
- Allowed values:
mode· object · Optional · Defaults to Stereo- One of the following variants:
- AudioMode (enum)
- null (null)
- One of the following variants:
bitrate· object · Optional · Defaults to 192000- One of the following variants:
- AudioBitrate (enum)
- null (null)
- One of the following variants:
ac4Config· object · Optional- One of the following variants:
- Ac4Config (object)
frameRate· string · Optional · Defaults to 25language· string · Optional · Defaults to autocontentClassifier· enum · Optional · Defaults to classCompleteMain- Allowed values:
Unsynced,classCompleteMain,classEmergency,classMusicEffect,classMainAssociatedMix
- Allowed values:
- null (null)
- Ac4Config (object)
- One of the following variants:
- Array items (object):
- null (null)
- EncodingConfig (object)
- One of the following variants:
abrEncoding· object · Optional- One of the following variants:
- AbrEncodingConfig (object)
representations· list of objects · Optional · Defaults to []- Array items (object):
video· object · Requiredcodec· enum · Required · Defaults to H264High- Allowed values:
Unsynced,HEVCMain,HEVCMain10bit,HEVCMain422,HEVCMain10bit422,H264Main,H264High,H264High422,H264High10bit,H264High10bit422,H264Baseline,MPEG2,MPEG2422,JPEGXS,JPEGXS10bit
- Allowed values:
videoFormat· enum · Required · Defaults to 1920x1080p- Allowed values:
Unsynced,3840x2160p,1920x1080p,1920x1080i,1440x1080p,1440x1080i,1280x1080p,1280x1080i,960x1080p,960x1080i,1280x720p,960x720p,854x720p,848x720p,640x720p,720x576p,720x576i,704x576p,704x576i,544x576p,544x576i,528x576p,528x576i,480x576p,480x576i,352x576p,352x576i,720x480p,720x480i,704x480p,704x480i,640x480p,640x480i,544x480p,544x480i,528x480p,528x480i,480x480p,480x480i,352x480p,352x480i,352x288p,320x240p,192x192p,176x144p,176x120p,128x96p,96x96p
- Allowed values:
bitrate· integer · Required · 100000 to 60000000 · Defaults to 6000000frameRate· object · Optional · Defaults to TrueMotion- One of the following variants:
- FrameRate (enum)
- null (null)
- One of the following variants:
audios· list of objects · Optional · Defaults to []- Array items (object):
name· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
inputName· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
audioName· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
codec· enum · Required · Defaults to AC3- Allowed values:
Unsynced,PassThrough,SMPTE302PassThrough,MPEG1Layer2,AAC,HEAAC,HEAACv2,AC3,EAC3,AC4
- Allowed values:
mode· object · Optional · Defaults to Stereo- One of the following variants:
- AudioMode (enum)
- null (null)
- One of the following variants:
bitrate· object · Optional · Defaults to 192000- One of the following variants:
- AudioBitrate (enum)
- null (null)
- One of the following variants:
ac4Config· object · Optional- One of the following variants:
- Ac4Config (object)
frameRate· string · Optional · Defaults to 25language· string · Optional · Defaults to autocontentClassifier· enum · Optional · Defaults to classCompleteMain- Allowed values:
Unsynced,classCompleteMain,classEmergency,classMusicEffect,classMainAssociatedMix
- Allowed values:
- null (null)
- Ac4Config (object)
- One of the following variants:
- Array items (object):
- Array items (object):
- null (null)
- AbrEncodingConfig (object)
- One of the following variants:
multiplexing· object · Optional- One of the following variants:
- MultiplexingConfig (object)
enabled· boolean · Optional · Defaults to false
- null (null)
- MultiplexingConfig (object)
- One of the following variants:
- null (null)
- TransformConfig (object)
- One of the following variants:
outputs· list of objects · Optional · Defaults to []- Array items (object):
- One of the following variants, selected by
type:- SRTCaller (object)
type· string · Optional · Defaults to SRTCallertransport· object · Requiredurl· string · Required · pattern: ^srt://interface· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
latency· double · Optional · 0.06 to 8 · Defaults to 0.125encryptionStandard· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,AES128,AES192,AES256
- Allowed values:
passPhrase· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
- SRTListener (object)
type· string · Optional · Defaults to SRTListenertransport· object · Requiredinterface· string · Requiredport· integer · Required · 256 to 65535 — Port numbermaxConnections· integer · Optional · >=1 · Defaults to 10latency· double · Optional · 0.06 to 8 · Defaults to 0.125encryptionStandard· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,AES128,AES192,AES256
- Allowed values:
passPhrase· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
- UDP (object)
type· string · Optional · Defaults to UDPtransport· object · Requiredurl· string · Requiredinterface· string · RequiredsourceAddress· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
sourcePort· object · Optional- One of the following variants:
- integer (integer)
- null (null)
- One of the following variants:
- ASI (object)
type· string · Optional · Defaults to ASIname· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
transport· object · Requiredurl· string · Required · pattern: ^asi://
- RF (object)
type· string · Optional · Defaults to RFtransport· object · Requiredurl· string · Required · pattern: ^satmod://
- SDI (object)
type· string · Optional · Defaults to SDItransport· object · Requiredurl· string · Required · pattern: ^sdi://
processing· object · Optional- One of the following variants:
- OutputProcessing (object)
videoScaling· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,1080i
- Allowed values:
dynamicRangeConversion· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BT709
- Allowed values:
- null (null)
- OutputProcessing (object)
- One of the following variants:
- HttpStreaming (object)
type· string · Optional · Defaults to HttpStreaming
- Smpte2110 (object)
type· string · Optional · Defaults to Smpte2110transport· object · Requiredinterface· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
nmosEnabled· boolean · Optional · Defaults to false
processing· object · Optional- One of the following variants:
- OutputProcessing (object)
videoScaling· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,1080i
- Allowed values:
dynamicRangeConversion· enum · Optional · Defaults to None- Allowed values:
Unsynced,None,BT709
- Allowed values:
- null (null)
- OutputProcessing (object)
- One of the following variants:
payload· object · Optional- One of the following variants:
- Smpte2110OutputEssences (object)
video· object · Requiredinterface· string · RequireddestinationAddress· string · Required · format: ipv4destinationPort· integer · Required · 1024 to 65535 — Port numbersourcePort· integer · Required · 1 to 65535 — Port number
audios· list of objects · Optional · Defaults to []- Array items (object):
interface· string · RequireddestinationPort· integer · Required · 1024 to 65535 — Port numbersourcePort· integer · Required · 1 to 65535 — Port number
- Array items (object):
- null (null)
- Smpte2110OutputEssences (object)
- One of the following variants:
- Unsynced (object)
type· string · Optional · Defaults to UnsyncedunsupportedValue· string · Optional · _Defaults to _
- SRTCaller (object)
- One of the following variants, selected by
- Array items (object):
services· list of objects · Optional- Array items (object):
name· string · Requiredtype· string · Requiredid· string · Requiredconfig· object · RequiredconfigVersion· string · Required
- Array items (object):
- Array items (object):
mode· enum · Optional · Defaults to merge- Allowed values:
merge,replace
- Allowed values:
state· object · Optional- One of the following variants:
- DesiredState (enum)
- null (null)
- One of the following variants:
Example request
curl -X POST "/ui/connectors/channels-api/latest/import/" \
-H "Content-Type: application/json" \
-d '{
"payload": {
"schemaVersion": "1",
"description": "string",
"exportedAt": "2024-01-01T00:00:00Z",
"sourceVersion": "string",
"channels": [
{
"kind": "BeamChannel",
"metadata": {
"name": "string",
"displayName": "string"
},
"spec": {
"type": "EncodingContribution",
"state": "Stopped",
"inputs": [],
"transform": {
"encoding": {
"video": {
"codec": "H264High",
"videoFormat": "1920x1080p",
"bitrate": 6000000,
"frameRate": "TrueMotion"
},
"audios": []
},
"abrEncoding": {
"representations": [],
"sharedAudios": []
},
"multiplexing": {
"enabled": false
}
},
"outputs": []
},
"services": [
{
"name": "string",
"type": "string",
"id": "string",
"config": {},
"configVersion": "string"
}
]
}
]
},
"mode": "merge",
"state": "Running"
}'
Responses
200 — Successful Response
imported· list of objects · Optional- Array items (object):
name· string · RequiredsourceName· string · RequireddisplayName· string · Requiredstatus· enum · Required- Allowed values:
accepted,skipped,rejected
- Allowed values:
error· object · Optional- One of the following variants:
- string (string)
- null (null)
- One of the following variants:
- Array items (object):
deleted· list of strings · Optional- Array items (string):
errors· list of strings · Optional- Array items (string):
warnings· list of strings · Optional- Array items (string):
Example:
{
"imported": [
{
"name": "string",
"sourceName": "string",
"displayName": "string",
"status": "accepted",
"error": "string"
}
],
"deleted": [
"string"
],
"errors": [
"string"
],
"warnings": [
"string"
]
}
422 — Validation Error
detail· list of objects · Optional- Array items (object):
loc· list of objects · Required- Array items (object):
- One of the following variants:
- string (string)
- integer (integer)
- One of the following variants:
- Array items (object):
msg· string · Requiredtype· string · Requiredinput· any · Optionalctx· object · Optional
- Array items (object):
Example:
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}