Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
asset_id required |
Asset ID Validations:
|
include_locations optional |
Whether to include media locations in the response Validations:
|
// Successful request GET /api/v2/assets/psSgRfiBJKpoHQ5TGdTY/media 200 { "media": [] }
// Successful request with media locations included GET /api/v2/assets/CutFw4bl1vvTle5lOuq_/media?include_locations=true 200 { "media": [] }
// Failed request GET /api/v2/assets/not_found_id/media 404 { "error": "asset not found" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |