-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathcat.tasks.json
76 lines (76 loc) · 2.47 KB
/
cat.tasks.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"cat.tasks": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html",
"description": "Returns information about the tasks currently executing on one or more nodes in the cluster."
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["text/plain", "application/json"]
},
"url": {
"paths": [
{
"path": "/_cat/tasks",
"methods": ["GET"]
}
]
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"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"
},
"actions": {
"type": "list",
"description": "A comma-separated list of actions that should be returned. Leave empty to return all."
},
"detailed": {
"type": "boolean",
"description": "Return detailed task information (default: false)"
},
"parent_task_id": {
"type": "string",
"description": "Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all."
},
"h": {
"type": "list",
"description": "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"s": {
"type": "list",
"description": "Comma-separated list of column names or column aliases to sort by"
},
"time": {
"type": "enum",
"description": "The unit in which to display time values",
"options": ["d", "h", "m", "s", "ms", "micros", "nanos"]
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
},
"timeout": {
"type": "time",
"default": "30s",
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
},
"wait_for_completion": {
"type": "boolean",
"default": false,
"description": "If `true`, the request blocks until the task has completed."
}
}
}
}