Get asset type casting

GET /data/projects/{project_id}/asset-types/{asset_type_id}/casting

Retrieve the casting information for all assets of a specific asset type in a project.

Path parameters

  • project_id Required

    Unique identifier of the project

  • asset_type_id Required

    Unique identifier of the asset type

Responses

  • 200 application/json

    Asset type casting information successfully retrieved

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

      Asset unique identifier

    • asset_name string

      Asset name

    • asset_type_id string(uuid)

      Asset type identifier

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

        Entity identifier

      • entity_name string

        Entity name

      • entity_type string

        Entity type (shot/sequence)

GET /data/projects/{project_id}/asset-types/{asset_type_id}/casting
curl \
 --request GET 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/asset-types/g80g2kg0-ik31-0221-g736-13019648i81/casting' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "asset_id": "c46c8gc6-eg97-6887-c292-79675204e47",
    "asset_name": "Main Character",
    "asset_type_id": "g80g2kg0-ik31-0221-g736-13019648i81",
    "casting": [
      {
        "entity_id": "e68e0ie8-gi19-8009-e514-91897426g69",
        "entity_name": "SH001",
        "entity_type": "shot"
      }
    ]
  }
]