-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fdec29
commit ce56dba
Showing
12 changed files
with
273 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
specification/_json_spec/ingest.delete_ip_location_database.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"ingest.delete_ip_location_database": { | ||
"documentation": { | ||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-ip-location-database-api.html", | ||
"description": "Deletes an ip location database configuration" | ||
}, | ||
"stability": "stable", | ||
"visibility": "public", | ||
"headers": { | ||
"accept": ["application/json"] | ||
}, | ||
"url": { | ||
"paths": [ | ||
{ | ||
"path": "/_ingest/ip_location/database/{id}", | ||
"methods": ["DELETE"], | ||
"parts": { | ||
"id": { | ||
"type": "list", | ||
"description": "A comma-separated list of ip location database configurations to delete" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"params": {} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
specification/_json_spec/ingest.get_ip_location_database.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"ingest.get_ip_location_database": { | ||
"documentation": { | ||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-ip-location-database-api.html", | ||
"description": "Returns the specified ip location database configuration" | ||
}, | ||
"stability": "stable", | ||
"visibility": "public", | ||
"headers": { | ||
"accept": ["application/json"] | ||
}, | ||
"url": { | ||
"paths": [ | ||
{ | ||
"path": "/_ingest/ip_location/database", | ||
"methods": ["GET"] | ||
}, | ||
{ | ||
"path": "/_ingest/ip_location/database/{id}", | ||
"methods": ["GET"], | ||
"parts": { | ||
"id": { | ||
"type": "list", | ||
"description": "A comma-separated list of ip location database configurations to get; use `*` to get all ip location database configurations" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"params": {} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
specification/_json_spec/ingest.put_ip_location_database.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"ingest.put_ip_location_database": { | ||
"documentation": { | ||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/put-ip-location-database-api.html", | ||
"description": "Puts the configuration for a ip location database to be downloaded" | ||
}, | ||
"stability": "stable", | ||
"visibility": "public", | ||
"headers": { | ||
"accept": ["application/json"], | ||
"content_type": ["application/json"] | ||
}, | ||
"url": { | ||
"paths": [ | ||
{ | ||
"path": "/_ingest/ip_location/database/{id}", | ||
"methods": ["PUT"], | ||
"parts": { | ||
"id": { | ||
"type": "string", | ||
"description": "The id of the database configuration" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"params": {}, | ||
"body": { | ||
"description": "The database configuration definition", | ||
"required": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"query_rules.test": { | ||
"documentation": { | ||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/test-query-ruleset.html", | ||
"description": "Tests a query ruleset to identify the rules that would match input criteria" | ||
}, | ||
"stability": "experimental", | ||
"visibility": "public", | ||
"headers": { | ||
"accept": ["application/json"], | ||
"content_type": ["application/json"] | ||
}, | ||
"url": { | ||
"paths": [ | ||
{ | ||
"path": "/_query_rules/{ruleset_id}/_test", | ||
"methods": ["POST"], | ||
"parts": { | ||
"ruleset_id": { | ||
"type": "string", | ||
"description": "The unique identifier of the ruleset to test." | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"body": { | ||
"description": "The match criteria to test against the ruleset", | ||
"required": true | ||
} | ||
} | ||
} |
Oops, something went wrong.