POST
/
streaming
/
clips
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/streaming/clips/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "name": "<string>",
  "trim_in": "<string>",
  "trim_out": "<string>",
  "labels": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}'
{
  "clip": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "playlist_url": {
      "playlist_url": "<string>",
      "bearer_token": "<string>"
    },
    "asset_id": "<string>",
    "reserved_asset_id": "<string>",
    "trim_in": "<string>",
    "trim_out": "<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

CreateClipRequest is the request message for CreateClip.

Response

200
application/json

OK

CreateClipResponse is the response message for CreateClip.

POST
/
streaming
/
clips
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/streaming/clips/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "name": "<string>",
  "trim_in": "<string>",
  "trim_out": "<string>",
  "labels": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}'
{
  "clip": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "playlist_url": {
      "playlist_url": "<string>",
      "bearer_token": "<string>"
    },
    "asset_id": "<string>",
    "reserved_asset_id": "<string>",
    "trim_in": "<string>",
    "trim_out": "<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

CreateClipRequest is the request message for CreateClip.

Response

200
application/json

OK

CreateClipResponse is the response message for CreateClip.