Get entity casting

GET /data/projects/{project_id}/entities/{entity_id}/casting

Retrieve the casting information for a specific entity showing which assets are linked to it.

Path parameters

  • project_id Required

    Unique identifier of the project

  • entity_id Required

    Unique identifier of the entity

Responses

  • 200 application/json

    Entity casting information successfully retrieved

    Hide response attributes Show response attributes object
    • entity_id string(uuid)

      Entity unique identifier

    • casting array[object]
      Hide casting attributes Show casting attributes object
      • id string(uuid)

        Casting entry unique identifier

      • asset_id string(uuid)

        Asset identifier

      • asset_name string

        Asset name

GET /data/projects/{project_id}/entities/{entity_id}/casting
curl \
 --request GET 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/entities/a24a6ea4-ce75-4665-a070-57453082c25/casting' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "entity_id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "casting": [
    {
      "id": "b35b7fb5-df86-5776-b181-68564193d36",
      "asset_id": "c46c8gc6-eg97-6887-c292-79675204e47",
      "asset_name": "Main Character"
    }
  ]
}