Create a new task for given shot and task type.

POST /actions/projects/{project_id}/task-types/{task_type_id}/shots/create-tasks

Path parameters

  • project_id string(uuid) Required
  • task_type_id string(uuid) Required
application/json

Body Required

array[string(uuid)] array[string(uuid)]

List of shot IDs to create tasks for

Responses

  • 201 application/json

    New task for given shot and task type created

  • 400

    Bad request

  • 404

    Project or task type not found

POST /actions/projects/{project_id}/task-types/{task_type_id}/shots/create-tasks
curl \
 --request POST 'http://api.example.com/actions/projects/a24a6ea4-ce75-4665-a070-57453082c25/task-types/a24a6ea4-ce75-4665-a070-57453082c25/shots/create-tasks' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '["string"]'
Request examples
[
  "string"
]
Response examples (201)
[
  {}
]