Skip to content

Commit 85b5c31

Browse files
Update rest-api-spec (#2733)
Co-authored-by: delvedor <[email protected]>
1 parent a003a41 commit 85b5c31

7 files changed

+195
-4
lines changed

output/schema/schema.json

Lines changed: 83 additions & 2 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.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"ingest.delete_geoip_database": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/TODO.html",
5+
"description": "Deletes a geoip database configuration"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_ingest/geoip/database/{id}",
16+
"methods": ["DELETE"],
17+
"parts": {
18+
"id": {
19+
"type": "list",
20+
"description": "A comma-separated list of geoip 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_geoip_database": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/TODO.html",
5+
"description": "Returns geoip database configuration."
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_ingest/geoip/database",
16+
"methods": ["GET"]
17+
},
18+
{
19+
"path": "/_ingest/geoip/database/{id}",
20+
"methods": ["GET"],
21+
"parts": {
22+
"id": {
23+
"type": "list",
24+
"description": "A comma-separated list of geoip database configurations to get; use `*` to get all geoip database configurations"
25+
}
26+
}
27+
}
28+
]
29+
},
30+
"params": {}
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"ingest.put_geoip_database": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/TODO.html",
5+
"description": "Puts the configuration for a geoip database to be downloaded"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_ingest/geoip/database/{id}",
16+
"methods": ["PUT"],
17+
"parts": {
18+
"id": {
19+
"type": "string",
20+
"description": "The id of the database configuration"
21+
}
22+
}
23+
}
24+
]
25+
},
26+
"params": {},
27+
"body": {
28+
"description": "The database configuration definition",
29+
"required": true
30+
}
31+
}
32+
}

specification/_json_spec/security.create_cross_cluster_api_key.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/security-api-create-cross-cluster-api-key.html",
55
"description": "Creates a cross-cluster API key for API key based remote cluster access."
66
},
7-
"stability": "beta",
7+
"stability": "stable",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"],

specification/_json_spec/security.update_cross_cluster_api_key.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/security-api-update-cross-cluster-api-key.html",
55
"description": "Updates attributes of an existing cross-cluster API key."
66
},
7-
"stability": "beta",
7+
"stability": "stable",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"],

0 commit comments

Comments
 (0)