Playlists
Update Playlist
Changed onUpdates a playlist for the account
patch/v1/accounts/{{account_id}}/playlists/{{playlist_id}}
Request
- Base URLhttps://cms.api.brightcove.com
- AuthOAuth 2Client credentialsToken URLhttps://oauth.brightcove.com/v4/access_tokenScopesvideo-cloud/playlist/update
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
Video Cloud account ID.
playlist_idstring required
Playlist ID.
Headers
Content-Typestring required
Content-Type: application/json
Authorizationstring required
Authorization: Bearer {access_token} - see Getting Access Tokens
Request body
Example request
{
"description": "My new sea playlist",
"name": "Sea Videos",
"type": "ACTIVATED_NEWEST_TO_OLDEST",
"limit": 20,
"search": "tags:birds"
}Response
200
Example response
{
"id": "5716873476001",
"account_id": "57838016001",
"created_at": "2018-01-23T12:55:29.674Z",
"description": "My new sea playlist",
"favorite": false,
"name": "Sea Videos",
"reference_id": null,
"type": "ACTIVATED_NEWEST_TO_OLDEST",
"updated_at": "2018-01-23T12:55:29.677Z",
"limit": 20,
"search": "+tags:\"birds\""
}Changes
- info
endpoint added
- info