Link shot to scene

POST /data/scenes/{scene_id}/shots

Link a shot to a scene as its source.

Path parameters

  • scene_id Required
application/json

Body Required

  • shot_id string(uuid) Required

Responses

  • 201 application/json

    Scene marked as source of shot

    Hide response attributes Show response attributes object
    • scene_id string(uuid)
    • shot_id string(uuid)
POST /data/scenes/{scene_id}/shots
curl \
 --request POST 'http://api.example.com/data/scenes/a24a6ea4-ce75-4665-a070-57453082c25/shots' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"shot_id":"a24a6ea4-ce75-4665-a070-57453082c25"}'
Request examples
{
  "shot_id": "a24a6ea4-ce75-4665-a070-57453082c25"
}
Response examples (201)
{
  "scene_id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "shot_id": "b24a6ea4-ce75-4665-a070-57453082c25"
}