Skip to content

Commit 15e2f4a

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 0545f60 commit 15e2f4a

10 files changed

+256
-50
lines changed

output/schema/schema-serverless.json

Lines changed: 52 additions & 45 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: 18 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+
}

0 commit comments

Comments
 (0)