GET
/
api
/
collections
curl --request GET \
  --url https://api.opus.pro/api/collections \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "list": [
      {
        "collectionId": "xmAwhhFi0IJt",
        "collectionName": "Opus demo clips"
      }
    ],
    "total": 123,
    "next": "<string>",
    "limit": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

q
enum<string>
required

Query type q = mine means list collections of your account. q = findByContentId means list collections contained the specific content(clip).

Available options:
findByContentId,
mine
Example:

"mine"

contentId
string

If specified, will only return collections that contain the clip with this contentID.

Example:

"Q20107035eDq.CU0b92e6"

Response

200
application/json

The response is of type object.