Add a task type to a project template. If the task type is already in the template, the route changes its values. A request without bitrates keeps the current bitrates. You must be an administrator.
POST
/data/project-templates/{project_template_id}/task-types
curl \
--request POST '/api/data/project-templates/a24a6ea4-ce75-4665-a070-57453082c250/task-types' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"task_type_id": "string",
"priority": 42,
"hd_bitrate_compression": 42,
"ld_bitrate_compression": 42,
"is_client_visible": true
}'
Request examples
{
"task_type_id": "string",
"priority": 42,
"hd_bitrate_compression": 42,
"ld_bitrate_compression": 42,
"is_client_visible": true
}