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

Response

200
application/json

OK

The response is of type object.