PATCH
/
streaming
/
videos
/
v1
/
{video_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/streaming/videos/v1/{video_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "video_id": "<string>",
  "video": {
    "name": "<string>",
    "playlists": [
      {
        "name": "<string>",
        "dvr_settings": {
          "window_size_seconds": 123
        },
        "visibility": "VISIBILITY_UNSPECIFIED"
      }
    ]
  },
  "update_mask": "<string>"
}'
{
  "video": {
    "id": "<string>",
    "name": "<string>",
    "project_id": "<string>",
    "playlists": [
      {
        "id": "<string>",
        "name": "<string>",
        "format": "PLAYLIST_FORMAT_UNSPECIFIED",
        "private_url": "<string>",
        "public_url": "<string>",
        "dvr_settings": {
          "window_size_seconds": 123
        },
        "visibility": "VISIBILITY_UNSPECIFIED"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

video_id
string
required

Body

application/json
video_id
string
required
video
object
update_mask
string

Response

200
application/json
OK
video
object