Update Task

Update an existing task

Request
path Parameters
id
required
string

: Task ID

Request Body schema: application/json

: The fields to update

recipeId
string or null
query
string or null
name
string or null
creator
string or null
taskOwner
string or null
priority
number or null <double>
dueDate
number or null <double>
status
string or null
Array of objects or null (ItemAction)
(APITaskSpec (object or null)) or (APISpawnTaskSpec (object or null))
metadata
required
object (Dictionary)
asynced
boolean or null
object or null

From T, pick a set of properties whose keys are in the union K

property name*
additional property
any
Responses
200

Ok

patch/tasks/{id}
Request samples
application/json
{
  • "recipeId": "string",
  • "query": "string",
  • "name": "string",
  • "creator": "string",
  • "taskOwner": "string",
  • "priority": 0,
  • "dueDate": 0,
  • "status": "string",
  • "availableActions": [
    ],
  • "spec": {
    },
  • "metadata": {
    },
  • "asynced": true,
  • "description": {
    }
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "name": "string",
  • "taskOwner": "string",
  • "dueDate": 0,
  • "datasetId": "string",
  • "recipeId": "string",
  • "projectId": "string",
  • "spec": {
    },
  • "hasParent": true,
  • "query": "string",
  • "assignmentIds": [
    ],
  • "status": "open",
  • "metadata": {
    },
  • "totalItems": 0,
  • "itemStatus": {
    },
  • "progress": 0,
  • "forReview": 0,
  • "issues": 0,
  • "availableActions": [
    ],
  • "error": "string",
  • "priority": 0,
  • "emptyInactiveAssignments": 0,
  • "description": {
    }
}