Skip to content

Commit d18df5a

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 48e2d9d commit d18df5a

12 files changed

+215
-12
lines changed

compiler/package-lock.json

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

output/schema/schema-serverless.json

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

output/schema/schema.json

Lines changed: 87 additions & 0 deletions
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: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/indices.delete_data_lifecycle.json

Lines changed: 1 addition & 1 deletion
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.explain_data_lifecycle.json

Lines changed: 1 addition & 1 deletion
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_data_lifecycle.json

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
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": {
10-
"accept": ["application/json"]
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
1112
},
1213
"url": {
1314
"paths": [
Lines changed: 28 additions & 0 deletions
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+
}
Lines changed: 32 additions & 0 deletions
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+
}
Lines changed: 33 additions & 0 deletions
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

Lines changed: 0 additions & 4 deletions
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)