Change the task overlap

To change the overlap for a task, send a PATCH request to the resource /tasks/<task ID>. You can specify a numeric value or set infinite overlap in order to assign the task to all users (this is useful for training tasks).

Numeric overlap value

PATCH /api/v1/tasks/<task ID>
Host: https://sandbox.toloka.yandex.ru
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{
   "overlap": <new overlap value>,
   "infinite_overlap": false
}

Infinite overlap

PATCH /api/v1/tasks/<task ID>
Host: https://sandbox.toloka.yandex.ru
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{
   "overlap": null,
   "infinite_overlap": true
}

Response

Contains task data in JSON format.