Add shot asset instance

POST /data/shots/{shot_id}/asset-instances

Add an asset instance to a specific shot.

Path parameters

  • shot_id Required

    Unique identifier of the shot

application/json

Body Required

  • asset_instance_id string(uuid) Required

    Asset instance identifier to add

Responses

  • 201 application/json

    Asset instance successfully added to shot

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

      Shot unique identifier

    • name string

      Shot name

    • asset_instances array[object]
      Hide asset_instances attributes Show asset_instances attributes object
      • id string(uuid)

        Asset instance unique identifier

      • asset_id string(uuid)

        Asset identifier

POST /data/shots/{shot_id}/asset-instances
curl \
 --request POST 'http://api.example.com/data/shots/e68e0ie8-gi19-8009-e514-91897426g69/asset-instances' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"asset_instance_id":"h91h3lh1-jl42-1332-h847-24120759j92"}'
Request examples
{
  "asset_instance_id": "h91h3lh1-jl42-1332-h847-24120759j92"
}
Response examples (201)
{
  "id": "e68e0ie8-gi19-8009-e514-91897426g69",
  "name": "SH001",
  "asset_instances": [
    {
      "id": "h91h3lh1-jl42-1332-h847-24120759j92",
      "asset_id": "c46c8gc6-eg97-6887-c292-79675204e47"
    }
  ]
}