Change task suite priority
Changes the priority of a task suite in the pool.
Request
PATCH https://toloka.yandex.com/api/v1/task-suites/<task_suite_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
PATCH https://sandbox.toloka.yandex.com/api/v1/task-suites/<task_suite_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
Path parameters
Parameter | Overview |
---|---|
task_suite_id | ID of a task suite. |
Parameter | Overview |
---|---|
task_suite_id | ID of a task suite. |
Headers
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Content-Type | Specifies the data format in the request body. |
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Content-Type | Specifies the data format in the request body. |
Query parameters
Specified in the link after the question mark; separated by &
.
Parameter | Overview |
---|---|
open_pool | boolean Open the pool immediately after the operation is completed, if the pool is closed. The default value is |
Parameter | Overview |
---|---|
open_pool | boolean Open the pool immediately after the operation is completed, if the pool is closed. The default value is |
Request body
{ "issuing_order_override": <new value> }
Copied to clipboard
Parameter | Overview |
---|---|
issuing_order_override | float The priority of a task suite among other suites in the pool. Defines the order in which task suites are assigned to Tolokers. The larger the parameter value, the higher the priority. This parameter can be used if the pool has Allowed values: from The default value is |
Parameter | Overview |
---|---|
issuing_order_override | float The priority of a task suite among other suites in the pool. Defines the order in which task suites are assigned to Tolokers. The larger the parameter value, the higher the priority. This parameter can be used if the pool has Allowed values: from The default value is |
Response
Contains a task suite in JSON format.