Update shot
Update a shot by id. Only mutable fields are allowed. Send a JSON body with the fields to change.
PUT
/data/shots/{shot_id}
curl \
--request PUT 'http://api.example.com/data/shots/a24a6ea4-ce75-4665-a070-57453082c25' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"SH010 new name","description":"Update description for the shot","nb_frames":24,"data":{"camera":"camA","cut_in":1001}}'
Request examples
{
"name": "SH010 new name",
"description": "Update description for the shot",
"nb_frames": 24,
"data": {
"camera": "camA",
"cut_in": 1001
}
}
Response examples (200)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"name": "SH010",
"project_id": "b24a6ea4-ce75-4665-a070-57453082c25",
"parent_id": "c24a6ea4-ce75-4665-a070-57453082c25",
"nb_frames": 120,
"data": {
"camera": "camA",
"cut_in": 1001
}
}