Channel Import – Channels API – MediaKind
Channel Import
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
This endpoint expects an object.
payload
object ExportPayload Required
- schemaVersion string Optional Defaults to 1
- description object Optional
- string string
- null null
- exportedAt string Required format: date-time
- sourceVersion object Optional
- string string
- null null
- channels list of objects ExportedChannel Required
Channel Properties
- kind string Optional Defaults to BeamChannel
- metadata object ChannelMetadata Required
- name string Required
- displayName string Required
- spec object ChannelSpec Required
- type enum ChannelType Required
Allowed values: EncodingContribution EncodingDistribution Reception Decoding ReceptionGateway EncodingStreaming - state enum DesiredState Optional Defaults to Stopped
Allowed values: Running Stopped - inputs list of objects Optional Defaults to []
- type enum ChannelType Required
Discriminated by type. Select one variant:
SRTCaller object SrtCallerInput
- type string Optional Defaults to SRTCaller
- name string Required
- transport object SrtCallerTransport Required
- url string Required pattern: ^srt://
- interface object Optional
- string string
- null null
- latency double Optional 0.06 to 8 Defaults to 0.125
- encryptionStandard enum SrtEncryptionStandard Optional Defaults to None
Allowed values: Unsynced None AES128 AES192 AES256
- passPhrase object Optional
- string string
- null null
- payload object Optional
- MptsPayload object
- programNumber string Optional Defaults to 1
- delayMode enum DelayMode Optional Defaults to Standard
Allowed values: Unsynced Standard Low SuperLow - decrypt object Optional
- DecryptConfig object
- type enum DecryptType Optional Defaults to None
Allowed values: Unsynced None BISS BISS CAD BCI
- type enum DecryptType Optional Defaults to None
- DecryptConfig object
- MptsPayload object
... (Other input types omitted for brevity)
Response
200 Successful Response
- imported list of objects ImportedChannelResult Optional
- name string Required
- sourceName string Required
- displayName string Required
- status enum Required
Allowed values: accepted skipped rejected - error object Optional
- string string
- null null
- deleted list of strings Optional
- errors list of strings Optional
- warnings list of strings Optional
Errors
422 Validation Error
- detail list of objects ValidationError Optional
- loc list of objects Required
- string string
- integer integer
- msg string Required
- type string Required
- input any Optional
- ctx object Optional
- loc list of objects Required