Change the task suite overlap
Changes the task suite overlap.
You can specify a numeric value or set infinite overlap to assign the task suite to all Tolokers (this is useful for training tasks).
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. |
Headers
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 false
.
Request body
Numeric overlap value
{
"overlap": <new overlap value>,
"infinite_overlap": false
}
Infinite overlap
{
"overlap": null,
"infinite_overlap": true
}
Parameter |
Overview |
overlap |
integer | required if Required if the parameter is not used when creating a task suite Task suite overlap. |
infinite_overlap |
boolean | required Assigning a task suite with infinite overlap. This option is used, for instance, for suites of training tasks when you want to assign them to all Tolokers:
|
Response
Contains a task suite in JSON format.