Get All Collections
GET/api/v1/assetcollections
Retrieve Collections upto a maximum of 30. For retrieving additional collections, use the Collection Search API with pagination.
HTTP RESPONSE
| Parameter | Type | Description |
|---|---|---|
status | string | OK or ERROR |
data.total_collections | integer | Total number of collections, includes private and group collections user has access to |
data.collections | JSON | List of Collections in Asset Collection JSON format |
Response JSON
{
"status": "OK",
"data": {
"total_collections": 1,
"collections": [
{COLLECTION_JSON}
]
}
}
Responses
- 200
- 401
- 403
- 500
Successful operation
Unauthorized - Invalid or missing authentication
Forbidden - Insufficient permissions
Internal server error