Authentication
Log user out by revoking his auth tokens.
Once logged out, current user cannot access the API anymore.
curl \
--request GET 'http://api.example.com/auth/logout' \
--header "Authorization: $API_KEY"
curl \
--request POST 'http://api.example.com/auth/fido' \
--header "Authorization: $API_KEY"
Resource to retrieve the casting of episodes.
Path parameters
-
project_id
Required
curl \
--request GET 'http://api.example.com/data/projects/{project_id}/episodes/casting' \
--header "Authorization: $API_KEY"
Delete given entity link.
It's mainly used for synchronisation purpose.
Path parameters
-
project_id
Required -
entity_link_id
Required
curl \
--request DELETE 'http://api.example.com/data/projects/{project_id}/entity-links/{entity_link_id}' \
--header "Authorization: $API_KEY"
Retrieve all asset instances linked to scene.
Path parameters
-
scene_id
Required
curl \
--request GET 'http://api.example.com/data/scenes/{scene_id}/asset-instances' \
--header "Authorization: $API_KEY"
Retrieve all entries for given model.
Filters can be specified in the query string.
curl \
--request GET 'http://api.example.com/data/projects' \
--header "Authorization: $API_KEY"
Create a model with data given in the request body.
JSON format is expected. The model performs the validation automatically when instantiated.
curl \
--request POST 'http://api.example.com/data/projects' \
--header "Authorization: $API_KEY"
Delete a model corresponding at given ID and return it as a JSON object.
Path parameters
-
instance_id
Required
curl \
--request DELETE 'http://api.example.com/data/projects/{instance_id}' \
--header "Authorization: $API_KEY"
Create a model with data given in the request body.
JSON format is expected. The model performs the validation automatically when instantiated.
curl \
--request POST 'http://api.example.com/data/project-status' \
--header "Authorization: $API_KEY"
Retrieve all entries for given model.
Filters can be specified in the query string.
curl \
--request GET 'http://api.example.com/data/organisations' \
--header "Authorization: $API_KEY"
Retrieve all entries for given model.
Filters can be specified in the query string.
curl \
--request GET 'http://api.example.com/data/softwares' \
--header "Authorization: $API_KEY"
Update a model with data given in the request body.
JSON format is expected. Model performs the validation automatically when fields are modified.
Path parameters
-
instance_id
Required
curl \
--request PUT 'http://api.example.com/data/softwares/{instance_id}' \
--header "Authorization: $API_KEY"
Create a model with data given in the request body.
JSON format is expected. The model performs the validation automatically when instantiated.
curl \
--request POST 'http://api.example.com/data/working-files' \
--header "Authorization: $API_KEY"
Retrieve all entries for given model.
Filters can be specified in the query string.
curl \
--request GET 'http://api.example.com/data/day-offs/' \
--header "Authorization: $API_KEY"
Retrieve a model corresponding at given ID and return it as a JSON object.
Path parameters
-
instance_id
Required
curl \
--request GET 'http://api.example.com/data/news/{instance_id}' \
--header "Authorization: $API_KEY"
Update a model with data given in the request body.
JSON format is expected. Model performs the validation automatically when fields are modified.
Path parameters
-
instance_id
Required
curl \
--request PUT 'http://api.example.com/data/news/{instance_id}' \
--header "Authorization: $API_KEY"
Retrieve a model corresponding at given ID and return it as a JSON object.
Path parameters
-
instance_id
Required
curl \
--request GET 'http://api.example.com/data/entity-links/{instance_id}' \
--header "Authorization: $API_KEY"
Update a model with data given in the request body.
JSON format is expected. Model performs the validation automatically when fields are modified.
Path parameters
-
instance_id
Required
curl \
--request PUT 'http://api.example.com/data/entity-links/{instance_id}' \
--header "Authorization: $API_KEY"
Create a model with data given in the request body.
JSON format is expected. The model performs the validation automatically when instantiated.
curl \
--request POST 'http://api.example.com/data/chats/' \
--header "Authorization: $API_KEY"
Delete a model corresponding at given ID and return it as a JSON object.
Path parameters
-
instance_id
Required
curl \
--request DELETE 'http://api.example.com/data/chats/{instance_id}' \
--header "Authorization: $API_KEY"
Retrieve all entries for given model.
Filters can be specified in the query string.
curl \
--request GET 'http://api.example.com/data/studios' \
--header "Authorization: $API_KEY"
Create a model with data given in the request body.
JSON format is expected. The model performs the validation automatically when instantiated.
curl \
--request POST 'http://api.example.com/data/studios' \
--header "Authorization: $API_KEY"
Retrieve a model corresponding at given ID and return it as a JSON object.
Path parameters
-
instance_id
Required
curl \
--request GET 'http://api.example.com/data/salary-scales/{instance_id}' \
--header "Authorization: $API_KEY"
Retrieve all edits, adds project name and all related tasks.
curl \
--request GET 'http://api.example.com/data/edits/with-tasks' \
--header "Authorization: $API_KEY"
Path parameters
-
edit_id
Required
curl \
--request DELETE 'http://api.example.com/data/edits/{edit_id}' \
--header "Authorization: $API_KEY"
Path parameters
-
project_id
Required
curl \
--request POST 'http://api.example.com/data/projects/{project_id}/edits' \
--header "Authorization: $API_KEY"
Path parameters
-
entity_id
Required
curl \
--request GET 'http://api.example.com/data/entities/{entity_id}/news' \
--header "Authorization: $API_KEY"
Get information about a file that could be a working file as much as an
output file.
Path parameters
-
file_id
Required
curl \
--request GET 'http://api.example.com/data/files/{file_id}' \
--header "Authorization: $API_KEY"
Get last revisions of output files for given instance grouped by output type and file name.
Path parameters
-
asset_instance_id
Required -
temporal_entity_id
Required
Query parameters
-
output_type_id
Required -
task_type_id
Required -
file_status_id
Required -
representation
Required
curl \
--request GET 'http://api.example.com/data/asset-instances/{asset_instance_id}/entities/{temporal_entity_id}/output-files/last-revisions' \
--header "Authorization: $API_KEY"
Get all output files for given asset instance and given output type.
Path parameters
-
asset_instance_id
Required
Query parameters
-
temporal_entity_id
Required -
output_type_id
Required -
task_type_id
Required -
file_status_id
Required -
representation
Required
curl \
--request GET 'http://api.example.com/data/asset-instances/{asset_instance_id}/output-files' \
--header "Authorization: $API_KEY"
Update working file modification date with current date.
Path parameters
-
working_file_id
Required
curl \
--request PUT 'http://api.example.com/actions/working-files/{working_file_id}/modified' \
--header "Authorization: $API_KEY"
curl \
--request POST 'http://api.example.com/import/shotgun/projects' \
--header "Authorization: $API_KEY"
curl \
--request POST 'http://api.example.com/import/shotgun/episodes' \
--header "Authorization: $API_KEY"
curl \
--request GET 'http://api.example.com/import/shotgun/errors' \
--header "Authorization: $API_KEY"
curl \
--request POST 'http://api.example.com/import/shotgun/errors' \
--header "Authorization: $API_KEY"
curl \
--request POST 'http://api.example.com/import/shotgun/remove/note' \
--header "Authorization: $API_KEY"
curl \
--request POST 'http://api.example.com/import/kitsu/tasks' \
--header "Authorization: $API_KEY"
curl \
--request GET 'http://api.example.com/status/influx' \
--header "Authorization: $API_KEY"
Get ended shots used for quota calculation of this month.
Query parameters
-
count_mode
Required
curl \
--request GET 'http://api.example.com/data/persons/{person_id}/quota-shots/month/{year}/{month}' \
--header "Authorization: $API_KEY"
Return all day off recorded for given month.
curl \
--request GET 'http://api.example.com/data/persons/day-offs/{year}/{month}' \
--header "Authorization: $API_KEY"
Return all day off recorded for given month and person.
curl \
--request GET 'http://api.example.com/data/persons/{person_id}/day-offs/month/{year}/{month}' \
--header "Authorization: $API_KEY"
Path parameters
-
playlist_id
Required
curl \
--request GET 'http://api.example.com/data/playlists/{playlist_id}/download/zip' \
--header "Authorization: $API_KEY"
Retrieve all playlists related to given project.
It's mainly used for synchronisation purpose.
Path parameters
-
project_id
Required
curl \
--request POST 'http://api.example.com/data/projects/{project_id}/playlists/temp' \
--header "Authorization: $API_KEY"
Remove people listed in a production team.
Path parameters
-
project_id
Required -
person_id
Required
curl \
--request DELETE 'http://api.example.com/data/projects/{project_id}/team/{person_id}' \
--header "Authorization: $API_KEY"
Add a task type linked to a production.
Path parameters
-
project_id
Required
curl \
--request POST 'http://api.example.com/data/projects/{project_id}/settings/task-status' \
--header "Authorization: $API_KEY"
Remove a preview background file from a production.
Path parameters
-
project_id
Required -
preview_background_file_id
Required
curl \
--request DELETE 'http://api.example.com/data/projects/{project_id}/settings/preview-background-files/{preview_background_file_id}' \
--header "Authorization: $API_KEY"
Retrieve time spents for given production
Path parameters
-
project_id
Required
curl \
--request GET 'http://api.example.com/data/projects/{project_id}/time-spents' \
--header "Authorization: $API_KEY"
Path parameters
-
shot_id
Required
curl \
--request PUT 'http://api.example.com/data/shots/{shot_id}' \
--header "Authorization: $API_KEY"
Retrieve all previews related to a given shot.
It sends them as a dict. Keys are related task type ids and values are arrays of preview for this task type.
Path parameters
-
shot_id
Required
curl \
--request GET 'http://api.example.com/data/shots/{shot_id}/preview-files' \
--header "Authorization: $API_KEY"
Path parameters
-
scene_id
Required
curl \
--request POST 'http://api.example.com/data/scenes/{scene_id}/shots' \
--header "Authorization: $API_KEY"
Path parameters
-
episode_id
Required
curl \
--request GET 'http://api.example.com/data/episodes/{episode_id}' \
--header "Authorization: $API_KEY"
Retrieve all task types related to a given shot.
Path parameters
-
sequence_id
Required
curl \
--request GET 'http://api.example.com/data/sequences/{sequence_id}/task-types' \
--header "Authorization: $API_KEY"
Retrieve all episodes related to a given project.
Path parameters
-
project_id
Required
curl \
--request GET 'http://api.example.com/data/projects/{project_id}/episodes' \
--header "Authorization: $API_KEY"
Retrieve quotas statistics for shots.
Path parameters
-
project_id
Required -
person_id
Required
Query parameters
-
count_mode
Required
curl \
--request GET 'http://api.example.com/data/projects/{project_id}/quotas/persons/{person_id}' \
--header "Authorization: $API_KEY"
Set time spent by a person on a task for a given day.
curl \
--request POST 'http://api.example.com/actions/tasks/{task_id}/time-spents/{date}/persons/{person_id}' \
--header "Authorization: $API_KEY"
Delete time spent by a person on a task for a given day.
curl \
--request DELETE 'http://api.example.com/actions/tasks/{task_id}/time-spents/{date}/persons/{person_id}' \
--header "Authorization: $API_KEY"
Add given timeframe to time spent by a person on a task for a given day.
curl \
--request POST 'http://api.example.com/actions/tasks/{task_id}/time-spents/{date}/persons/{person_id}/add' \
--header "Authorization: $API_KEY"
Change a task status to "to review".
It creates a new preview file entry and set path from the hard disk.
Path parameters
-
task_id
Required
curl \
--request PUT 'http://api.example.com/actions/tasks/{task_id}/to-review' \
--header "Authorization: $API_KEY"
Return scenes related to given sequence if the current user has access
to it.
Path parameters
-
sequence_id
Required
curl \
--request GET 'http://api.example.com/data/user/sequences/{sequence_id}/scenes' \
--header "Authorization: $API_KEY"
Delete given filter if it's owned by current user.
Path parameters
-
filter_id
Required
curl \
--request DELETE 'http://api.example.com/data/user/filters/{filter_id}' \
--header "Authorization: $API_KEY"
Retrieve filter groups for current user and only for open projects.
curl \
--request GET 'http://api.example.com/data/user/filter-groups' \
--header "Authorization: $API_KEY"
Create filter group for current user and only for open projects.
curl \
--request POST 'http://api.example.com/data/user/filter-groups' \
--header "Authorization: $API_KEY"
Create a desktop login log.
The desktop login log can only be created by the current user.
curl \
--request POST 'http://api.example.com/data/user/desktop-login-logs' \
--header "Authorization: $API_KEY"
Set `has_avatar` flag to False for current user and remove its avatar
file.
curl \
--request DELETE 'http://api.example.com/actions/user/clear-avatar' \
--header "Authorization: $API_KEY"
Return true if current user has subscribed to given sequence and
task type.
Path parameters
-
sequence_id
Required -
task_type_id
Required
curl \
--request GET 'http://api.example.com/data/user/entities/{sequence_id}/task-types/{task_type_id}/subscribed' \
--header "Authorization: $API_KEY"
Path parameters
-
entity_id
Required ID of the entity related to the chat
-
chat_message_id
Required ID of the chat message
curl \
--request GET 'http://api.example.com/data/entities/{entity_id}/chat/messages/{chat_message_id}' \
--header "Authorization: $API_KEY"