POST
/
streaming
/
configurations
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/streaming/configurations/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "default": true,
  "disabled": true,
  "type": "CONFIGURATION_TYPE_UNSPECIFIED",
  "data": {
    "transcoder_streams": {
      "streams": [
        {
          "video_quality": "VIDEO_QUALITY_UNSPECIFIED",
          "video_aspect_ratio": "VIDEO_ASPECT_RATIO_UNSPECIFIED",
          "video_bitrate": 123,
          "video_framerate": 123,
          "video_keyframe_interval": 123,
          "segment_duration": 123
        }
      ]
    },
    "transcoder_overlays": {
      "static_overlays": [
        {
          "asset_id": "<string>",
          "x": 123,
          "y": 123,
          "width": 123,
          "height": 123
        }
      ]
    },
    "automated_tagging": {
      "enabled": true
    }
  }
}'
{
  "configuration": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "default": true,
    "disabled": true,
    "type": "CONFIGURATION_TYPE_UNSPECIFIED",
    "data": {
      "transcoder_streams": {
        "streams": [
          {
            "video_quality": "VIDEO_QUALITY_UNSPECIFIED",
            "video_aspect_ratio": "VIDEO_ASPECT_RATIO_UNSPECIFIED",
            "video_bitrate": 123,
            "video_framerate": 123,
            "video_keyframe_interval": 123,
            "segment_duration": 123
          }
        ]
      },
      "transcoder_overlays": {
        "static_overlays": [
          {
            "asset_id": "<string>",
            "x": 123,
            "y": 123,
            "width": 123,
            "height": 123
          }
        ]
      },
      "automated_tagging": {
        "enabled": true
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
project_id
string
required
name
string
required

The name of the configuration.

description
string

The description of the configuration.

default
boolean

Indicates whether this configuration should be applied by default when no configuration is attached to a workflow or simulcast. There can only be one default configuration per type.

disabled
boolean

Indicates that the configuration should not appear as a selectable option in the UI. This configuration will still be usable by any object it is connected to.

type
enum<string>

The type of the configuration. This is used to determine which configuration options are available.

Available options:
CONFIGURATION_TYPE_UNSPECIFIED,
CONFIGURATION_TYPE_TRANSCODER_STREAMS,
CONFIGURATION_TYPE_TRANSCODER_OVERLAYS,
CONFIGURATION_TYPE_AUTOMATED_TAGGING
data
object

The data for the configuration based on the type.

Response

200
application/json
OK
configuration
object