Skip to content

Commit 6ca2397

Browse files
Update rest-api-spec (#2735)
Co-authored-by: delvedor <[email protected]>
1 parent 92843d7 commit 6ca2397

File tree

5 files changed

+197
-0
lines changed

5 files changed

+197
-0
lines changed

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.
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+
}

0 commit comments

Comments
 (0)