-
Notifications
You must be signed in to change notification settings - Fork 73
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
Showing
19 changed files
with
1,041 additions
and
25 deletions.
There are no files selected for viewing
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,23 @@ | ||
{ | ||
"close_point_in_time":{ | ||
"documentation":{ | ||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html", | ||
"description":"Close a point in time" | ||
}, | ||
"stability":"stable", | ||
"url":{ | ||
"paths":[ | ||
{ | ||
"path":"/_pit", | ||
"methods":[ | ||
"DELETE" | ||
] | ||
} | ||
] | ||
}, | ||
"params":{}, | ||
"body":{ | ||
"description": "a point-in-time id to close" | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
7.x | ||
7.10 |
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
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,61 @@ | ||
{ | ||
"open_point_in_time":{ | ||
"documentation":{ | ||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html", | ||
"description":"Open a point in time that can be used in subsequent searches" | ||
}, | ||
"stability":"stable", | ||
"url":{ | ||
"paths":[ | ||
{ | ||
"path":"/_pit", | ||
"methods":[ | ||
"POST" | ||
] | ||
}, | ||
{ | ||
"path":"/{index}/_pit", | ||
"methods":[ | ||
"POST" | ||
], | ||
"parts":{ | ||
"index":{ | ||
"type":"list", | ||
"description":"A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"params":{ | ||
"preference":{ | ||
"type":"string", | ||
"description":"Specify the node or shard the operation should be performed on (default: random)" | ||
}, | ||
"routing":{ | ||
"type":"string", | ||
"description":"Specific routing value" | ||
}, | ||
"ignore_unavailable":{ | ||
"type":"boolean", | ||
"description":"Whether specified concrete indices should be ignored when unavailable (missing or closed)" | ||
}, | ||
"expand_wildcards":{ | ||
"type":"enum", | ||
"options":[ | ||
"open", | ||
"closed", | ||
"hidden", | ||
"none", | ||
"all" | ||
], | ||
"default":"open", | ||
"description":"Whether to expand wildcard expression to concrete indices that are open, closed or both." | ||
}, | ||
"keep_alive": { | ||
"type": "string", | ||
"description": "Specific the time to live for the point in time" | ||
} | ||
} | ||
} | ||
} |
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
4 changes: 2 additions & 2 deletions
4
api_generator/rest_specs/searchable_snapshots.repository_stats.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
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
26 changes: 26 additions & 0 deletions
26
api_generator/rest_specs/security.clear_api_key_cache.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,26 @@ | ||
{ | ||
"security.clear_api_key_cache":{ | ||
"documentation":{ | ||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html", | ||
"description":"Clear a subset or all entries from the API key cache." | ||
}, | ||
"stability":"stable", | ||
"url":{ | ||
"paths":[ | ||
{ | ||
"path":"/_security/api_key/{ids}/_clear_cache", | ||
"methods":[ | ||
"POST" | ||
], | ||
"parts":{ | ||
"ids":{ | ||
"type":"list", | ||
"description":"A comma-separated list of IDs of API keys to clear from the cache" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"params":{} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"security.grant_api_key":{ | ||
"documentation":{ | ||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-grant-api-key.html", | ||
"description":"Creates an API key on behalf of another user." | ||
}, | ||
"stability":"stable", | ||
"url":{ | ||
"paths":[ | ||
{ | ||
"path":"/_security/api_key/grant", | ||
"methods":[ | ||
"POST" | ||
] | ||
} | ||
] | ||
}, | ||
"params":{ | ||
"refresh":{ | ||
"type":"enum", | ||
"options":[ | ||
"true", | ||
"false", | ||
"wait_for" | ||
], | ||
"description":"If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes." | ||
} | ||
}, | ||
"body":{ | ||
"description":"The api key request to create an API key", | ||
"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,43 @@ | ||
{ | ||
"snapshot.clone":{ | ||
"documentation":{ | ||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html", | ||
"description":"Clones indices from one snapshot into another snapshot in the same repository." | ||
}, | ||
"stability":"stable", | ||
"url":{ | ||
"paths":[ | ||
{ | ||
"path":"/_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}", | ||
"methods":[ | ||
"PUT" | ||
], | ||
"parts":{ | ||
"repository":{ | ||
"type":"string", | ||
"description":"A repository name" | ||
}, | ||
"snapshot":{ | ||
"type":"string", | ||
"description":"The name of the snapshot to clone from" | ||
}, | ||
"target_snapshot":{ | ||
"type":"string", | ||
"description":"The name of the cloned snapshot to create" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"params":{ | ||
"master_timeout":{ | ||
"type":"time", | ||
"description":"Explicit operation timeout for connection to master node" | ||
} | ||
}, | ||
"body":{ | ||
"description":"The snapshot clone 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
Oops, something went wrong.