cURL
curl --request POST \ --url https://api.opus.pro/api/collection-contents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "collectionId": "xmAwhhFi0IJt", "contentId": "Q20107035eDq.CU0b92e6" } '
{ "data": { "collectionId": "xmAwhhFi0IJt", "contentId": "Q20107035eDq.CU0b92e6" } }
You can add a clip to an existing collection by making a POST request to https://api.opus.pro/api/collection-contents.
POST
https://api.opus.pro/api/collection-contents
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The collectionID of the collection that you want to add the clip to.
"xmAwhhFi0IJt"
The ID of the clip that you want to add to the collection. FullClipId: {projectId}.{curationId}
"Q20107035eDq.CU0b92e6"
Show child attributes
The collectionID of the collection that the clip was added to.
The ID of the clip that has been added to the collection. FullClipId: {projectId}.{curationId}
Was this page helpful?