POST
/
streaming
/
stitchers
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/streaming/stitchers/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "name": "<string>",
  "assets": {
    "assets": [
      {
        "asset_id": "<string>",
        "config": {
          "order_index": 123
        }
      }
    ]
  },
  "labels": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}'
{
  "stitcher": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "assets": {
      "assets": [
        {
          "asset_id": "<string>",
          "config": {
            "order_index": 123
          }
        }
      ]
    },
    "asset_id": "<string>",
    "reserved_asset_id": "<string>",
    "state": "STATE_UNSPECIFIED",
    "labels": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

CreateStitcherRequest is the request message for CreateStitcher.

Response

200
application/json

OK

CreateStitcherResponse is the response message for CreateStitcher.