Fix inconsistencies in the rest api specs for `tasks` (#27163)
modify parameters names to reflect the changes done in the code base
This commit is contained in:
parent
5d7d01ba75
commit
e440e23ad1
|
@ -12,7 +12,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"node_id": {
|
"nodes": {
|
||||||
"type": "list",
|
"type": "list",
|
||||||
"description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
|
"description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
|
||||||
},
|
},
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Cancel tasks with specified parent node."
|
"description": "Cancel tasks with specified parent node."
|
||||||
},
|
},
|
||||||
"parent_task": {
|
"parent_task_id": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"description" : "Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all."
|
"description" : "Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all."
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"paths": ["/_tasks"],
|
"paths": ["/_tasks"],
|
||||||
"parts": {},
|
"parts": {},
|
||||||
"params": {
|
"params": {
|
||||||
"node_id": {
|
"nodes": {
|
||||||
"type": "list",
|
"type": "list",
|
||||||
"description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
|
"description": "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
|
||||||
},
|
},
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Return tasks with specified parent node."
|
"description": "Return tasks with specified parent node."
|
||||||
},
|
},
|
||||||
"parent_task": {
|
"parent_task_id": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"description" : "Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all."
|
"description" : "Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all."
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue