Skip to content

Commit 4dab274

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent d786091 commit 4dab274

14 files changed

+219
-24
lines changed

compiler/package-lock.json

+7-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

+84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

+31-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/cat.aliases.json

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
"type": "string",
3333
"description": "a short version of the Accept header, e.g. json, yaml"
3434
},
35-
"local": {
36-
"type": "boolean",
37-
"description": "Return local information, do not retrieve the state from master node (default: false)"
38-
},
3935
"h": {
4036
"type": "list",
4137
"description": "Comma-separated list of column names to display"

specification/_json_spec/indices.delete_data_lifecycle.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html",
55
"description": "Deletes the data stream lifecycle of the selected data streams."
66
},
7-
"stability": "experimental",
7+
"stability": "stable",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]

specification/_json_spec/indices.exists_alias.json

-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@
5151
"options": ["open", "closed", "hidden", "none", "all"],
5252
"default": "all",
5353
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
54-
},
55-
"local": {
56-
"type": "boolean",
57-
"description": "Return local information, do not retrieve the state from master node (default: false)"
5854
}
5955
}
6056
}

specification/_json_spec/indices.explain_data_lifecycle.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams-explain-lifecycle.html",
55
"description": "Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc."
66
},
7-
"stability": "experimental",
7+
"stability": "stable",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]

specification/_json_spec/indices.get_alias.json

-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@
6565
"options": ["open", "closed", "hidden", "none", "all"],
6666
"default": "all",
6767
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
68-
},
69-
"local": {
70-
"type": "boolean",
71-
"description": "Return local information, do not retrieve the state from master node (default: false)"
7268
}
7369
}
7470
}

specification/_json_spec/indices.get_data_lifecycle.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-get-lifecycle.html",
55
"description": "Returns the data stream lifecycle of the selected data streams."
66
},
7-
"stability": "experimental",
7+
"stability": "stable",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]

specification/_json_spec/indices.put_data_lifecycle.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-put-lifecycle.html",
55
"description": "Updates the data stream lifecycle of the selected data streams."
66
},
7-
"stability": "experimental",
7+
"stability": "stable",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"ingest.delete_ip_location_database": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-ip-location-database-api.html",
5+
"description": "Deletes an ip location database configuration"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_ingest/ip_location/database/{id}",
16+
"methods": ["DELETE"],
17+
"parts": {
18+
"id": {
19+
"type": "list",
20+
"description": "A comma-separated list of ip location database configurations to delete"
21+
}
22+
}
23+
}
24+
]
25+
},
26+
"params": {}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"ingest.get_ip_location_database": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-ip-location-database-api.html",
5+
"description": "Returns the specified ip location database configuration"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_ingest/ip_location/database",
16+
"methods": ["GET"]
17+
},
18+
{
19+
"path": "/_ingest/ip_location/database/{id}",
20+
"methods": ["GET"],
21+
"parts": {
22+
"id": {
23+
"type": "list",
24+
"description": "A comma-separated list of ip location database configurations to get; use `*` to get all ip location database configurations"
25+
}
26+
}
27+
}
28+
]
29+
},
30+
"params": {}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"ingest.put_ip_location_database": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-ip-location-database-api.html",
5+
"description": "Puts the configuration for a ip location database to be downloaded"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_ingest/ip_location/database/{id}",
17+
"methods": ["PUT"],
18+
"parts": {
19+
"id": {
20+
"type": "string",
21+
"description": "The id of the database configuration"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"params": {},
28+
"body": {
29+
"description": "The database configuration definition",
30+
"required": true
31+
}
32+
}
33+
}

specification/_json_spec/search.json

-4
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@
215215
"description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
216216
"default": false
217217
},
218-
"min_compatible_shard_node": {
219-
"type": "string",
220-
"description": "The minimum compatible version that all shards involved in search should have for this request to be successful"
221-
},
222218
"include_named_queries_score": {
223219
"type": "boolean",
224220
"description": "Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)",

0 commit comments

Comments
 (0)