PATCH
/
streaming
/
playlists
/
v1
/
{playlist_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/streaming/playlists/v1/{playlist_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "dvr_settings": {
    "window_size_seconds": 123
  },
  "visibility": "VISIBILITY_UNSPECIFIED"
}'
{
  "playlist": {
    "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

playlist_id
string
required

Query Parameters

update_mask
string

Body

application/json
name
string

The name of the playlist. For example: "Raw" or "playlist 1"

dvr_settings
object
visibility
enum<string>
Available options:
VISIBILITY_UNSPECIFIED,
VISIBILITY_PUBLISHED,
VISIBILITY_UNLISTED,
VISIBILITY_HIDDEN

Response

200
application/json
OK
playlist
object