-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathcapabilities.json
46 lines (46 loc) · 1.33 KB
/
capabilities.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
{
"capabilities": {
"documentation": {
"url": "https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/README.asciidoc#require-or-skip-api-capabilities",
"description": "Checks if the specified combination of method, API, parameters, and arbitrary capabilities are supported"
},
"stability": "experimental",
"visibility": "private",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_capabilities",
"methods": ["GET"]
}
]
},
"params": {
"method": {
"type": "enum",
"description": "REST method to check",
"options": ["GET", "HEAD", "POST", "PUT", "DELETE"],
"default": "GET"
},
"path": {
"type": "string",
"description": "API path to check"
},
"parameters": {
"type": "string",
"description": "Comma-separated list of API parameters to check"
},
"capabilities": {
"type": "string",
"description": "Comma-separated list of arbitrary API capabilities to check"
},
"local_only": {
"type": "boolean",
"description": "True if only the node being called should be considered",
"visibility": "private"
}
}
}
}