Assets

Get a single asset by ID

Retrieve details of a specific uploaded image asset.

GET
/assets/{asset_id}
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Path Parameters

asset_idstring

Response Body

Examples

curl -X GET "https://v2.api.piktid.com/assets/string"
{
  "id": "string",
  "filename": "string",
  "url": "string",
  "created_at": "string",
  "created_by": "string",
  "tags": [
    "string"
  ],
  "visibility": "private",
  "thumbnail_big": null,
  "thumbnail_small": null
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty