[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",
|
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html",
|
||||||
"methods": ["GET"],
|
"methods": ["GET"],
|
||||||
"url": {
|
"url": {
|
|
@ -4,7 +4,7 @@
|
||||||
"methods": ["GET"],
|
"methods": ["GET"],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/_tasks",
|
"path": "/_tasks",
|
||||||
"paths": ["/_tasks", "/_tasks/{task_id}"],
|
"paths": ["/_tasks"],
|
||||||
"parts": {},
|
"parts": {},
|
||||||
"params": {
|
"params": {
|
||||||
"node_id": {
|
"node_id": {
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
catch: missing
|
catch: missing
|
||||||
task.get:
|
tasks.get:
|
||||||
task_id: foo:1
|
task_id: foo:1
|
Loading…
Reference in New Issue