Skip to content

Commit 4013345

Browse files
authored
Update rest-api-spec
1 parent 765a609 commit 4013345

12 files changed

+487
-3
lines changed

output/schema/schema.json

Lines changed: 206 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/cluster.info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"parts": {
1818
"target": {
1919
"type": "list",
20-
"options": ["_all", "http", "ingest", "thread_pool"],
20+
"options": ["_all", "http", "ingest", "thread_pool", "script"],
2121
"description": "Limit the information returned to the specified target."
2222
}
2323
}

specification/_json_spec/indices.reload_search_analyzers.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
"options": ["open", "closed", "hidden", "none", "all"],
3838
"default": "open",
3939
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
40+
},
41+
"resource": {
42+
"type": "string",
43+
"description": "changed resource to reload analyzers from if applicable"
4044
}
4145
}
4246
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"query_ruleset.delete": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-query-ruleset.html",
5+
"description": "Deletes a query ruleset."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "es.query_rules_feature_flag_enabled",
10+
"headers": {
11+
"accept": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_query_rules/{ruleset_id}",
17+
"methods": ["DELETE"],
18+
"parts": {
19+
"ruleset_id": {
20+
"type": "string",
21+
"description": "The unique identifier of the query ruleset to delete"
22+
}
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"query_ruleset.get": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-query-ruleset.html",
5+
"description": "Returns the details about a query ruleset."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "es.query_rules_feature_flag_enabled",
10+
"headers": {
11+
"accept": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_query_rules/{ruleset_id}",
17+
"methods": ["GET"],
18+
"parts": {
19+
"ruleset_id": {
20+
"type": "string",
21+
"description": "The unique identifier of the query ruleset"
22+
}
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)