cURL
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", "org_id": "<string>", "project_id": "<string>", "video_id": "<string>" } }
UpdatePlaylist
Updates playlist.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the playlist. For example: "Raw" or "playlist 1"
Show child attributes
VISIBILITY_UNSPECIFIED
VISIBILITY_PUBLISHED
VISIBILITY_UNLISTED
VISIBILITY_HIDDEN
OK
The ID of the playlist. For example: "p2YzNCA-0PTigkfN8xN3L"
PLAYLIST_FORMAT_UNSPECIFIED
PLAYLIST_FORMAT_HLS