Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY

Examples

// Asset not found
GET /api/v2/assets/:asset_id/attachments
404
{
  "error": "asset not found"
}
// Successful request
GET /api/v2/assets/UqFkJDWdw7Sdg7TQZS-J/attachments
200
{
  "attachments": []
}
// Successful request
GET /api/v2/assets/bDzHAAxLXsSmhL4lax8D/attachments
200
{
  "attachments": [
    {
      "id": "S3kQqTTXTFMLBhsY8XeY",
      "external_id": null,
      "parent_id": "bDzHAAxLXsSmhL4lax8D",
      "project_id": null,
      "owner": "admin-user-66@example.com",
      "title": "sample attachment",
      "description": null,
      "category": null,
      "tags": [],
      "ai_tags": [],
      "status": "open",
      "media_type": "placeholder",
      "original_filename": null,
      "drop_folder_id": null,
      "md5_sum": null,
      "created_date": "2023-11-27T09:42:52.099Z",
      "modification_date": "2023-11-27T09:42:52.099Z",
      "deleted": null
    }
  ]
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters