Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
asset_id required |
Asset ID Validations:
|
// Failed request GET /api/v2/assets/not-found-id/collections 404 { "error": "asset not found" }
// Succesful request GET /api/v2/assets/ZghYk6IBrpJnJhzkEthH/collections 200 { "collections": [ { "id": "JbuS2l7wxuXQWOx1qfw0", "title": "Sample Collection", "description": "Sample collection description.", "category": null, "tags": [], "owner": "admin-user-87@example.com", "media_type": "collection", "isPublic": false, "created_date": "2023-11-27T09:42:57.716Z", "modification_date": "2023-11-27T09:42:57.716Z", "original_title": "Sample Collection" } ] }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |