Skip to content

Commit b7bdb35

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent d3eb57a commit b7bdb35

7 files changed

+268
-3
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

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

output/schema/validation-errors.json

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"query_rules.test": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/test-query-ruleset.html",
5+
"description": "Tests a query ruleset to identify the rules that would match input criteria"
6+
},
7+
"stability": "experimental",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_query_rules/{ruleset_id}/_test",
17+
"methods": ["POST"],
18+
"parts": {
19+
"ruleset_id": {
20+
"type": "string",
21+
"description": "The unique identifier of the ruleset to test."
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"body": {
28+
"description": "The match criteria to test against the ruleset",
29+
"required": true
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)