Retrieve all asset instances that are linked to a specific shot.
GET
/data/shots/{shot_id}/asset-instances
curl
curl -X GET "http://api.example.com/data/shots/e68e0ie8-gi19-8009-e514-91897426g69/asset-instances" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/data/shots/e68e0ie8-gi19-8009-e514-91897426g69/asset-instances"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {}
payload = None
response = requests.get(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
Response examples (200)
[
{
"id": "19113511-3542-1332-1847-241207593920",
"asset_id": "c46c80c6-e097-6887-c292-79675204e470",
"shot_id": "e68e02e8-0219-8009-e514-918974260690",
"number": "001",
"description": "Main character instance"
}
]