-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathtasks.get.json
37 lines (37 loc) · 923 Bytes
/
tasks.get.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"tasks.get": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html",
"description": "Returns information about a task."
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_tasks/{task_id}",
"methods": ["GET"],
"parts": {
"task_id": {
"type": "string",
"description": "Return the task with specified id (node_id:task_number)"
}
}
}
]
},
"params": {
"wait_for_completion": {
"type": "boolean",
"description": "Wait for the matching tasks to complete (default: false)"
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
}
}
}
}