Set how given asset is cast in each given entity (shots, assets or episodes of the project). Unlike the full casting update, the other assets of each entity are left untouched, so concurrent editors cannot erase each other's work. A nb_occurences of 0 removes the asset from the casting.
PUT
/data/projects/{project_id}/entities/casting/assets/{asset_id}
curl \
--request PUT 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/entities/casting/assets/c46c8gc6-eg97-6887-c292-79675204e47' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"entity_ids":["string"],"nb_occurences":42,"label":"string"}'
Request examples
{
"entity_ids": [
"string"
],
"nb_occurences": 42,
"label": "string"
}
Response examples (200)
{}