Skip to content

Commit 1a52a28

Browse files
Add cat.circuit_breaker to rest-api-spec (#5574)
Co-authored-by: pquentin <[email protected]>
1 parent 68f4a28 commit 1a52a28

File tree

2 files changed

+108
-0
lines changed

2 files changed

+108
-0
lines changed

output/schema/schema.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"cat.circuit_breaker": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO",
5+
"description": "Get circuit breakers statistics"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["text/plain", "application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_cat/circuit_breaker",
16+
"methods": ["GET"]
17+
},
18+
{
19+
"path": "/_cat/circuit_breaker/{circuit_breaker_patterns}",
20+
"methods": ["GET"],
21+
"parts": {
22+
"circuit_breaker_patterns": {
23+
"type": "list",
24+
"description": "A comma-separated list of regular-expressions to filter the circuit breakers in the output"
25+
}
26+
}
27+
}
28+
]
29+
},
30+
"params": {
31+
"format": {
32+
"type": "string",
33+
"default": "text",
34+
"description": "a short version of the Accept header, e.g. json, yaml"
35+
},
36+
"time": {
37+
"type": "enum",
38+
"description": "The unit in which to display time values",
39+
"options": ["d", "h", "m", "s", "ms", "micros", "nanos"]
40+
},
41+
"local": {
42+
"type": "boolean",
43+
"default": false,
44+
"description": "Return local information, do not retrieve the state from master node (default: false)"
45+
},
46+
"master_timeout": {
47+
"type": "time",
48+
"default": "30s",
49+
"description": "Explicit operation timeout for connection to master node"
50+
},
51+
"h": {
52+
"type": "list",
53+
"description": "Comma-separated list of column names to display"
54+
},
55+
"help": {
56+
"type": "boolean",
57+
"description": "Return help information",
58+
"default": false
59+
},
60+
"s": {
61+
"type": "list",
62+
"description": "Comma-separated list of column names or column aliases to sort by"
63+
},
64+
"v": {
65+
"type": "boolean",
66+
"description": "Verbose mode. Display column headers",
67+
"default": false
68+
},
69+
"bytes": {
70+
"type": "enum",
71+
"description": "The unit in which to display byte values",
72+
"options": ["b", "kb", "mb", "gb", "tb", "pb"]
73+
}
74+
}
75+
}
76+
}

0 commit comments

Comments
 (0)