Skip to content

Commit

Permalink
Fix inconsistencies in the rest api specs for tasks (#27163)
Browse files Browse the repository at this point in the history
modify parameters names to reflect the changes done in the code base
  • Loading branch information
olcbean authored and javanna committed Nov 6, 2017
1 parent 0fa577a commit 5a0eb80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"params": {
"node_id": {
"nodes": {
"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"
},
Expand All @@ -24,7 +24,7 @@
"type": "string",
"description": "Cancel tasks with specified parent node."
},
"parent_task": {
"parent_task_id": {
"type" : "string",
"description" : "Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"paths": ["/_tasks"],
"parts": {},
"params": {
"node_id": {
"nodes": {
"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"
},
Expand All @@ -23,7 +23,7 @@
"type": "string",
"description": "Return tasks with specified parent node."
},
"parent_task": {
"parent_task_id": {
"type" : "string",
"description" : "Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all."
},
Expand Down

0 comments on commit 5a0eb80

Please sign in to comment.