v1

latestSwagger 2.02026-07-17652667.3 KB
basic

Update a task

put/queue/{task_identifier}

Path parameters

task_identifierstring required

Request body

detail_typestring required
identifierstring required
prioritynumber required
descriptionstring required

Simple description to identify the type of task

assigned_tostring required

Name of worker assigned to the task.

createdstring date-time required

Date the task was added to the queue.

last_updatedstring date-time required

Date the task was updated to the queue.

stateinteger required

State of the task.

taskstring required

The task.

successboolean required
runtimenumber required
worker_labelsstring required

Worker that can take this task.

configobject

Configuration of the task.

resultobject

Result of the task

logstring

Standard output of the task

Example request

{
  "identifier": "1",
  "last_updated": "2000-01-23T04:56:07.000+00:00",
  "task": "task",
  "detail_type": "TaskSummary",
  "created": "2000-01-23T04:56:07.000+00:00",
  "success": true,
  "description": "description",
  "runtime": 6.027456183070403,
  "state": 0,
  "priority": 1000,
  "worker_labels": "worker_labels",
  "assigned_to": "assigned_to"
}

Response

The updated task