Import shots csv

POST /import/csv/projects/{project_id}/shots

Import project shots from a CSV file. Creates or updates shots based on CSV rows. Supports sequences, episodes, and task status updates.

Path parameters

  • project_id string(uuid) Required

Query parameters

  • update boolean

    Whether to update existing shots

Responses

  • 201 application/json

    Shots imported successfully

    Hide response attributes Show response attributes object
    • id string(uuid)
    • name string
    • project_id string(uuid)
    • parent_id string(uuid)
    • nb_frames integer
    • description string
  • 400

    Invalid CSV format or missing required columns

POST /import/csv/projects/{project_id}/shots
curl \
 --request POST 'http://api.example.com/import/csv/projects/a24a6ea4-ce75-4665-a070-57453082c25/shots' \
 --header "Authorization: $API_KEY"
Response examples (201)
[
  {
    "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,
    "description": "Shot description"
  }
]