Document task id's as string in the rest spec
This commit is contained in:
parent
4c4bbb3e45
commit
2944869ab9
|
@ -8,7 +8,7 @@
|
|||
"parts": {
|
||||
"task_id": {
|
||||
"type": "string",
|
||||
"description": "Cancel the task with specified id"
|
||||
"description": "Cancel the task with specified task id (node_id:task_number)"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
|
@ -25,8 +25,8 @@
|
|||
"description": "Cancel tasks with specified parent node."
|
||||
},
|
||||
"parent_task": {
|
||||
"type" : "number",
|
||||
"description" : "Cancel tasks with specified parent task id. Set to -1 to cancel all."
|
||||
"type" : "string",
|
||||
"description" : "Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
"paths": ["/_tasks", "/_tasks/{task_id}"],
|
||||
"parts": {
|
||||
"task_id": {
|
||||
"type": "number",
|
||||
"description": "Return the task with specified id"
|
||||
"type": "string",
|
||||
"description": "Return the task with specified id (node_id:task_number)"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
|
@ -29,8 +29,8 @@
|
|||
"description": "Return tasks with specified parent node."
|
||||
},
|
||||
"parent_task": {
|
||||
"type" : "number",
|
||||
"description" : "Return tasks with specified parent task id. Set to -1 to return all."
|
||||
"type" : "string",
|
||||
"description" : "Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all."
|
||||
},
|
||||
"wait_for_completion": {
|
||||
"type": "boolean",
|
||||
|
|
Loading…
Reference in New Issue