[API] separate tasks.list and tasks.get APIs in the json definition (#19107)
This commit is contained in:
parent
0ec07833a8
commit
f79851e23a
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"task.get": {
|
||||
"tasks.get": {
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html",
|
||||
"methods": ["GET"],
|
||||
"url": {
|
|
@ -4,7 +4,7 @@
|
|||
"methods": ["GET"],
|
||||
"url": {
|
||||
"path": "/_tasks",
|
||||
"paths": ["/_tasks", "/_tasks/{task_id}"],
|
||||
"paths": ["/_tasks"],
|
||||
"parts": {},
|
||||
"params": {
|
||||
"node_id": {
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
|
||||
- do:
|
||||
catch: missing
|
||||
task.get:
|
||||
tasks.get:
|
||||
task_id: foo:1
|
Loading…
Reference in New Issue