File tree Expand file tree Collapse file tree 4 files changed +90
-1
lines changed
modules/streams/src/main/java/org/elasticsearch/rest/streams/logs
rest-api-spec/src/main/resources/rest-api-spec/api Expand file tree Collapse file tree 4 files changed +90
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public String getName() {
3333
3434 @ Override
3535 public List <RestHandler .Route > routes () {
36- return List .of (new RestHandler .Route (GET , "/_streams/_status " ));
36+ return List .of (new RestHandler .Route (GET , "/_streams/status " ));
3737 }
3838
3939 @ Override
Original file line number Diff line number Diff line change 1+ {
2+ "streams.logs.disable" : {
3+ "documentation" : {
4+ "url" : " https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-disable.html" ,
5+ "description" : " Disable the Logs Streams feature for this cluster"
6+ },
7+ "stability" : " stable" ,
8+ "visibility" : " public" ,
9+ "headers" : {
10+ "accept" : [
11+ " application/json" ,
12+ " text/plain"
13+ ]
14+ },
15+ "url" : {
16+ "paths" : [
17+ {
18+ "path" : " /_streams/logs/_disable" ,
19+ "methods" : [
20+ " GET"
21+ ]
22+ }
23+ ]
24+ },
25+ "params" : {}
26+ }
27+ }
Original file line number Diff line number Diff line change 1+ {
2+ "streams.logs.enable" : {
3+ "documentation" : {
4+ "url" : " https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-enable.html" ,
5+ "description" : " Enable the Logs Streams feature for this cluster"
6+ },
7+ "stability" : " stable" ,
8+ "visibility" : " public" ,
9+ "headers" : {
10+ "accept" : [
11+ " application/json" ,
12+ " text/plain"
13+ ]
14+ },
15+ "url" : {
16+ "paths" : [
17+ {
18+ "path" : " /_streams/logs/_enable" ,
19+ "methods" : [
20+ " GET"
21+ ]
22+ }
23+ ]
24+ },
25+ "params" : {}
26+ }
27+ }
Original file line number Diff line number Diff line change 1+ {
2+ "streams.status" : {
3+ "documentation" : {
4+ "url" : " https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-status.html" ,
5+ "description" : " Return the current status of the streams feature for each streams type"
6+ },
7+ "stability" : " stable" ,
8+ "visibility" : " public" ,
9+ "headers" : {
10+ "accept" : [
11+ " application/json"
12+ ]
13+ },
14+ "url" : {
15+ "paths" : [
16+ {
17+ "path" : " /_streams/status" ,
18+ "methods" : [
19+ " GET"
20+ ]
21+ }
22+ ]
23+ },
24+ "params" : {
25+ "local" : {
26+ "type" : " boolean" ,
27+ "description" : " Return local information, do not retrieve the state from master node (default: false)"
28+ },
29+ "master_timeout" : {
30+ "type" : " time" ,
31+ "description" : " Specify timeout for connection to master"
32+ }
33+ }
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments