Tokens are considered as outdated every two weeks.

GET /auth/refresh-token

This route allows to make their lifetime long before they get outdated.

Responses

  • 200

    Access Token

GET /auth/refresh-token
curl \
 --request GET 'http://api.example.com/auth/refresh-token' \
 --header "Authorization: $API_KEY"








































Resource to allow a user to register a FIDO device.

POST /auth/fido

Responses

  • 200

    FIDO device registered.

  • 400

    Invalid password Wrong or expired token Inactive user

POST /auth/fido
curl \
 --request POST 'http://api.example.com/auth/fido' \
 --header "Authorization: $API_KEY"






























































































































Resource to allow the modification of assets linked to an entity.

PUT /data/projects/{project_id}/entities/{entity_id}/casting

Path parameters

  • project_id Required
  • entity_id Required

Responses

  • 200

    Modification of assets linked to an entity

PUT /data/projects/{project_id}/entities/{entity_id}/casting
curl \
 --request PUT 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/entities/a24a6ea4-ce75-4665-a070-57453082c25/casting' \
 --header "Authorization: $API_KEY"
















































































































































































































































Create a model with data given in the request body.

POST /data/entities

JSON format is expected. The model performs the validation automatically when instantiated.

Responses

  • 200

    Model created

  • 400

    Error

POST /data/entities
curl \
 --request POST 'http://api.example.com/data/entities' \
 --header "Authorization: $API_KEY"




































































Retrieve a model corresponding at given ID and return it as a JSON object.

GET /data/departments/{instance_id}

Path parameters

  • instance_id Required

Responses

  • 200

    Model as a JSON object

  • 400

    Statement error

  • 404

    Value error

GET /data/departments/{instance_id}
curl \
 --request GET 'http://api.example.com/data/departments/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY"












































































































Retrieve all entries for given model.

GET /data/output-types

Filters can be specified in the query string.

Responses

  • 200

    All entries for given model

  • 400

    Format error

  • 403

    Permission denied

GET /data/output-types
curl \
 --request GET 'http://api.example.com/data/output-types' \
 --header "Authorization: $API_KEY"
















































































































Retrieve all entries for given model.

GET /data/day-offs/

Filters can be specified in the query string.

Responses

  • 200

    All entries for given model

  • 400

    Format error

  • 403

    Permission denied

GET /data/day-offs/
curl \
 --request GET 'http://api.example.com/data/day-offs/' \
 --header "Authorization: $API_KEY"
































































































































































































































































































Delete a model corresponding at given ID and return it as a JSON object.

DELETE /data/entity-links/{instance_id}
DELETE /data/entity-links/{instance_id}
curl \
 --request DELETE 'http://api.example.com/data/entity-links/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY"












Update a model with data given in the request body.

PUT /data/chats/{instance_id}

JSON format is expected. Model performs the validation automatically when fields are modified.

Path parameters

  • instance_id Required

Responses

  • 200

    Model updated

  • 400

    Error

PUT /data/chats/{instance_id}
curl \
 --request PUT 'http://api.example.com/data/chats/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY"






































































































































































































































































































































































Return all types of output generated for given entity.

GET /data/entities/{entity_id}/output-types

Path parameters

  • entity_id Required

Responses

  • 200

    All types of output generated for given entity

GET /data/entities/{entity_id}/output-types
curl \
 --request GET 'http://api.example.com/data/entities/a24a6ea4-ce75-4665-a070-57453082c25/output-types' \
 --header "Authorization: $API_KEY"





















































Import shotgun resource.

POST /import/shotgun/sequences

Responses

  • 200

    Resource imported

POST /import/shotgun/sequences
curl \
 --request POST 'http://api.example.com/import/shotgun/sequences' \
 --header "Authorization: $API_KEY"









































































































































































Retrieve date and CPU, memory and jobs stats.

GET /status/resources

Responses

  • 200

    Date and CPU, memory and jobs stats

GET /status/resources
curl \
 --request GET 'http://api.example.com/status/resources' \
 --header "Authorization: $API_KEY"


































































































































Allow admin to disable two factor authentication for given user.

DELETE /actions/persons/{person_id}/disable-two-factor-authentication

Prior to disable two factor authentication, it requires to be admin. An admin can't disable two factor authentication for other admins.

Path parameters

  • person_id Required

Responses

  • 200

    Two factor authentication disabled

  • 400

    Inactive user

DELETE /actions/persons/{person_id}/disable-two-factor-authentication
curl \
 --request DELETE 'http://api.example.com/actions/persons/a24a6ea4-ce75-4665-a070-57453082c25/disable-two-factor-authentication' \
 --header "Authorization: $API_KEY"





















































































































































































































































































































































































































































































Retrieve all sequence entries for a given episode.

GET /data/episodes/{episode_id}/sequences

Filters can be specified in the query string.

Path parameters

  • episode_id Required

Query parameters

  • project_id

Responses

  • 200

    All sequence entries for given episode

GET /data/episodes/{episode_id}/sequences
curl \
 --request GET 'http://api.example.com/data/episodes/a24a6ea4-ce75-4665-a070-57453082c25/sequences' \
 --header "Authorization: $API_KEY"
























Retrieve given sequence.

GET /data/sequences/{sequence_id}

Path parameters

  • sequence_id Required

Responses

  • 200

    Given sequence

GET /data/sequences/{sequence_id}
curl \
 --request GET 'http://api.example.com/data/sequences/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY"




































































Retrieve quotas statistics for shots.

GET /data/projects/{project_id}/quotas/persons/{person_id}

Path parameters

  • project_id Required
  • person_id Required

Query parameters

  • count_mode Required
  • studio_id

Responses

  • 200

    Quotas statistics for shots

GET /data/projects/{project_id}/quotas/persons/{person_id}
curl \
 --request GET 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/quotas/persons/a24a6ea4-ce75-4665-a070-57453082c25?count_mode=weighted' \
 --header "Authorization: $API_KEY"

















































Retrieve all comments to tasks related to given project.

GET /data/projects/{project_id}/comments

It's mainly used for synchronisation purpose.

Path parameters

  • project_id string Required

Query parameters

  • limit

Responses

  • 200

    All comments to tasks related to given project

GET /data/projects/{project_id}/comments
curl \
 --request GET 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/comments' \
 --header "Authorization: $API_KEY"




































































































User

























































































































Create a desktop login log. Desktop login logs can

POST /data/user/desktop-login-logs

only be created by the current user.

application/x-www-form-urlencoded

Body Required

  • date string(date)

Responses

  • 201 application/json

    Desktop login log created

  • 400

    Bad request

POST /data/user/desktop-login-logs
curl \
 --request POST 'http://api.example.com/data/user/desktop-login-logs' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'date=2022-07-12'
Response examples (201)
{}