Update asset casting
Modify the casting relationships for a specific asset by updating which shots or sequences use this asset.
PUT
/data/assets/{asset_id}/casting
curl \
--request PUT 'http://api.example.com/data/assets/a24a6ea4-ce75-4665-a070-57453082c25/casting' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"casting":[{"entity_id":"d57d9hd7-fh08-7998-d403-80786315f58","entity_type":"shot"}]}'
Request examples
{
"casting": [
{
"entity_id": "d57d9hd7-fh08-7998-d403-80786315f58",
"entity_type": "shot"
}
]
}
Response examples (200)
{
"asset_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"casting": [
{
"id": "b35b7fb5-df86-5776-b181-68564193d36",
"entity_id": "d57d9hd7-fh08-7998-d403-80786315f58",
"entity_name": "SH001"
}
]
}