/video/playlist/{playlist_id}/assetAdd assets to a playlist
Adds one or more video assets to a playlist. Provide an asset_list of asset IDs and, optionally, their positions; assets without a position are added at the end of the playlist.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The ID of the playlist to add assets to.
Playlist asset addition request. asset_list is required.
An array of asset objects. Each object can specify an asset_id and an optional integer position; an asset without a position is added at the end of the playlist.
success value indicating that the addition completed.One documented failure
incorrect_playlist_idNo playlist with provided id exists.
One documented failure
invalid_api_keyAPI key supplied with request is invalid
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
A 400 is returned for a bad request. A 401 is returned when the request has a missing or invalid API key or bearer token. A 403 is returned for an unpaid account or insufficient role permissions. The playlist_id path parameter identifies the destination playlist, and asset_list is required.