Update
Updates an existing Basic Campaign’s Tasks Group.
Request
PATCH https://ttv.microworkers.com/api/v2/basic-campaigns/{campaignId}/tasks-groups/{tasksGroupId}
Parameters
Path Parameter |
||
---|---|---|
Name |
Type |
Description |
campaignId |
string |
The ID of Campaign. |
tasksGroupId |
string |
The ID of Tasks Group. |
Request Body
{
"availableSlots": integer,
"skippedWorkerIds": [
string
]
}
PatchTaskGroupRequest
Property |
Type |
Description |
---|---|---|
availableSlots |
integer |
Number of Slots available. |
skippedWorkerIds |
array[string] |
Array of Worker IDs. There are 3 ways how Worker can get into this list:
|
Response
Response HTTP Codes
Http Code |
Response Type |
Description |
---|---|---|
202 |
Accepted (OK) |
|
400 |
Validation Failed |
|
401 |
Unauthorized |
|
403 |
Access denied |
|
404 |
Not found |
Response HTTP Headers
On successful response API returns queue-job-id
header (if availableSlots
has been changed).