videos
Add videos to collections
Changed onThis endpoint adds one or more videos to a collection by video IDs.
post/v2/videos/collections/{id}/items
Request
- Base URLhttps://api.shutterstock.com
- AuthOAuth 2Authorization codehttps://accounts.shutterstock.com/oauth/authorizeToken URLhttps://api.shutterstock.com/v2/oauth/access_tokenScopescollections.edit
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The ID of the collection to which items should be added
Request body
Example request
{
"items": [
{
"added_time": "2020-05-29T12:10:22-05:00",
"id": "1690105108",
"media_type": "image"
}
]
}Response
Successfully added collection items
Changes
- breaking
removed the success response with the status
- info
api operation id
addClipboxItemsremoved and replaced withaddVideoCollectionItems - info
added the non-success response with the status
- breaking