mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
a9c7c2a3cc
commit
2f63d5fed5
109 changed files with 528 additions and 231 deletions
|
@ -3,26 +3,38 @@ A mini utility to convert [Elasticsearch's REST spec](https://github.com/elastic
|
|||
|
||||
It is used to semi-manually update Console's autocompletion rules.
|
||||
|
||||
|
||||
|
||||
### Retrieving the spec
|
||||
|
||||
If you don't have a copy of the Elasticsearch repo on your machine, follow these steps to clone only the rest API specs
|
||||
|
||||
```
|
||||
cd es-spec
|
||||
mkdir es-spec && cd es-spec
|
||||
git init
|
||||
git remote add origin https://github.com/elastic/elasticsearch
|
||||
git config core.sparsecheckout true
|
||||
echo "rest-api-spec/src/main/resources/rest-api-spec/api/*" > .git/info/sparse-checkout
|
||||
echo "rest-api-spec/src/main/resources/rest-api-spec/api/*\nx-pack/plugin/src/test/resources/rest-api-spec/api/*" > .git/info/sparse-checkout
|
||||
git pull --depth=1 origin master
|
||||
```
|
||||
|
||||
### Usage
|
||||
```
|
||||
|
||||
You need to run the command twice: once for the **OSS** specs and once for the **X-Pack** specs
|
||||
At the root of the Kibana repository, run the following commands:
|
||||
|
||||
```sh
|
||||
# OSS
|
||||
yarn spec_to_console \
|
||||
-g "es-spec/rest-api-spec/src/main/resources/rest-api-spec/api/*.json" \
|
||||
-d "../kibana/src/core_plugins/console/api_server/spec/generated"
|
||||
-g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" \
|
||||
-d "src/legacy/core_plugins/console/api_server/spec/generated"
|
||||
|
||||
# X-pack
|
||||
yarn spec_to_console \
|
||||
-g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" \
|
||||
-d "x-pack/plugins/console_extensions/spec/generated"
|
||||
```
|
||||
|
||||
### Information used in Console that is not available in the REST spec
|
||||
|
||||
* Request bodies
|
||||
* Data fetched at runtime: indices, fields, snapshots, etc
|
||||
* Ad hoc additions
|
||||
|
|
|
@ -45,7 +45,12 @@ files.forEach(file => {
|
|||
if (program.directory) {
|
||||
const outputName = path.basename(file);
|
||||
const outputPath = path.resolve(program.directory, outputName);
|
||||
fs.writeFileSync(outputPath, output + '\n');
|
||||
try {
|
||||
fs.mkdirSync(program.directory, { recursive: true });
|
||||
fs.writeFileSync(outputPath, output + '\n');
|
||||
} catch(e) {
|
||||
console.log('Cannot write file ', e);
|
||||
}
|
||||
} else {
|
||||
console.log(output);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"bulk": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"wait_for_active_shards": "",
|
||||
"refresh": [
|
||||
"true",
|
||||
|
@ -12,8 +11,8 @@
|
|||
"timeout": "",
|
||||
"type": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"pipeline": ""
|
||||
},
|
||||
"methods": [
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
"help": "__flag__",
|
||||
"pri": "__flag__",
|
||||
"s": [],
|
||||
"v": "__flag__"
|
||||
"v": "__flag__",
|
||||
"include_unloaded_segments": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_search/scroll/{scroll_id}",
|
||||
"_search/scroll"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html"
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
"cluster.health": {
|
||||
"url_params": {
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"level": [
|
||||
"cluster",
|
||||
"indices",
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
"local": "__flag__",
|
||||
"master_timeout": "",
|
||||
"flat_settings": "__flag__",
|
||||
"wait_for_metadata_version": "",
|
||||
"wait_for_timeout": "",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"count": {
|
||||
"url_params": {
|
||||
"ignore_unavailable": "__flag__",
|
||||
"ignore_throttled": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
|
@ -29,8 +30,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_count",
|
||||
"{indices}/_count",
|
||||
"{indices}/{type}/_count"
|
||||
"{indices}/_count"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"create": {
|
||||
"url_params": {
|
||||
"wait_for_active_shards": "",
|
||||
"parent": "",
|
||||
"refresh": [
|
||||
"true",
|
||||
"false",
|
||||
|
@ -24,7 +23,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}/_create"
|
||||
"{indices}/_create/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"delete": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"wait_for_active_shards": "",
|
||||
"parent": "",
|
||||
"refresh": [
|
||||
"true",
|
||||
"false",
|
||||
|
@ -11,6 +9,8 @@
|
|||
],
|
||||
"routing": "",
|
||||
"timeout": "",
|
||||
"if_seq_no": "",
|
||||
"if_primary_term": "",
|
||||
"version": "",
|
||||
"version_type": [
|
||||
"internal",
|
||||
|
@ -23,7 +23,6 @@
|
|||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}",
|
||||
"{indices}/_doc/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html"
|
||||
|
|
|
@ -31,11 +31,12 @@
|
|||
"dfs_query_then_fetch"
|
||||
],
|
||||
"search_timeout": "",
|
||||
"size": "10",
|
||||
"size": "",
|
||||
"max_docs": "all documents",
|
||||
"sort": [],
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"terminate_after": "",
|
||||
"stats": [],
|
||||
"version": "__flag__",
|
||||
|
@ -52,8 +53,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_delete_by_query",
|
||||
"{indices}/{type}/_delete_by_query"
|
||||
"{indices}/_delete_by_query"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"delete_by_query_rethrottle": {
|
||||
"url_params": {
|
||||
"requests_per_second": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_delete_by_query/{task_id}/_rethrottle"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html"
|
||||
}
|
||||
}
|
|
@ -2,14 +2,13 @@
|
|||
"exists": {
|
||||
"url_params": {
|
||||
"stored_fields": [],
|
||||
"parent": "",
|
||||
"preference": "random",
|
||||
"realtime": "__flag__",
|
||||
"refresh": "__flag__",
|
||||
"routing": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"version": "",
|
||||
"version_type": [
|
||||
"internal",
|
||||
|
@ -22,7 +21,7 @@
|
|||
"HEAD"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}"
|
||||
"{indices}/_doc/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
"exists_source": {
|
||||
"url_params": {
|
||||
"parent": "",
|
||||
"preference": "random",
|
||||
"realtime": "__flag__",
|
||||
"refresh": "__flag__",
|
||||
"routing": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"version": "",
|
||||
"version_type": [
|
||||
"internal",
|
||||
|
@ -21,7 +20,7 @@
|
|||
"HEAD"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}/_source"
|
||||
"{indices}/_source/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
|
|
|
@ -10,20 +10,19 @@
|
|||
"df": "_all",
|
||||
"stored_fields": [],
|
||||
"lenient": "__flag__",
|
||||
"parent": "",
|
||||
"preference": "random",
|
||||
"q": "",
|
||||
"routing": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": []
|
||||
"_source_excludes": [],
|
||||
"_source_includes": []
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}/_explain"
|
||||
"{indices}/_explain/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html"
|
||||
}
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
"closed",
|
||||
"none",
|
||||
"all"
|
||||
]
|
||||
],
|
||||
"include_unmapped": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
{
|
||||
"get": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"stored_fields": [],
|
||||
"parent": "",
|
||||
"preference": "random",
|
||||
"realtime": "__flag__",
|
||||
"refresh": "__flag__",
|
||||
"routing": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"version": "",
|
||||
"version_type": [
|
||||
"internal",
|
||||
|
@ -23,7 +21,6 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}",
|
||||
"{indices}/_doc/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"get_script": {
|
||||
"url_params": {
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
"get_source": {
|
||||
"url_params": {
|
||||
"parent": "",
|
||||
"preference": "random",
|
||||
"realtime": "__flag__",
|
||||
"refresh": "__flag__",
|
||||
"routing": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"version": "",
|
||||
"version_type": [
|
||||
"internal",
|
||||
|
@ -21,7 +20,7 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}/_source"
|
||||
"{indices}/_source/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{
|
||||
"index": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"wait_for_active_shards": "",
|
||||
"op_type": [
|
||||
"index",
|
||||
"create"
|
||||
],
|
||||
"parent": "",
|
||||
"refresh": [
|
||||
"true",
|
||||
"false",
|
||||
|
@ -22,6 +20,8 @@
|
|||
"external_gte",
|
||||
"force"
|
||||
],
|
||||
"if_seq_no": "",
|
||||
"if_primary_term": "",
|
||||
"pipeline": ""
|
||||
},
|
||||
"methods": [
|
||||
|
@ -29,8 +29,6 @@
|
|||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}",
|
||||
"{indices}/{type}/{id}",
|
||||
"{indices}/_doc/{id}",
|
||||
"{indices}/_doc"
|
||||
],
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
{
|
||||
"indices.analyze": {
|
||||
"url_params": {
|
||||
"index": "",
|
||||
"prefer_local": "__flag__",
|
||||
"format": [
|
||||
"detailed",
|
||||
"text"
|
||||
]
|
||||
"index": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
"request": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"POST",
|
||||
"GET"
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_cache/clear",
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
"closed",
|
||||
"none",
|
||||
"all"
|
||||
]
|
||||
],
|
||||
"wait_for_active_shards": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"indices.create": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"include_type_name": "__flag__",
|
||||
"wait_for_active_shards": "",
|
||||
"timeout": "",
|
||||
"master_timeout": ""
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"indices.get": {
|
||||
"url_params": {
|
||||
"include_type_name": "__flag__",
|
||||
"local": "__flag__",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
|
@ -11,7 +12,8 @@
|
|||
"all"
|
||||
],
|
||||
"flat_settings": "__flag__",
|
||||
"include_defaults": "__flag__"
|
||||
"include_defaults": "__flag__",
|
||||
"master_timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"indices.get_field_mapping": {
|
||||
"url_params": {
|
||||
"include_type_name": "__flag__",
|
||||
"include_defaults": "__flag__",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
|
@ -17,9 +18,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mapping/field/{fields}",
|
||||
"{indices}/_mapping/field/{fields}",
|
||||
"_mapping/{type}/field/{fields}",
|
||||
"{indices}/_mapping/{type}/field/{fields}"
|
||||
"{indices}/_mapping/field/{fields}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"indices.get_mapping": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"include_type_name": "__flag__",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
|
@ -10,6 +10,7 @@
|
|||
"none",
|
||||
"all"
|
||||
],
|
||||
"master_timeout": "",
|
||||
"local": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
|
@ -17,9 +18,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mapping",
|
||||
"{indices}/_mapping",
|
||||
"_mapping/{type}",
|
||||
"{indices}/_mapping/{type}"
|
||||
"{indices}/_mapping"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"indices.get_settings": {
|
||||
"url_params": {
|
||||
"master_timeout": "",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"indices.get_template": {
|
||||
"url_params": {
|
||||
"include_type_name": "__flag__",
|
||||
"flat_settings": "__flag__",
|
||||
"master_timeout": "",
|
||||
"local": "__flag__"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"put_mapping": {
|
||||
"indices.put_mapping": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"include_type_name": "__flag__",
|
||||
"timeout": "",
|
||||
"master_timeout": "",
|
||||
"ignore_unavailable": "__flag__",
|
||||
|
@ -18,13 +18,6 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/_mapping",
|
||||
"{indices}/_mapping/{type}",
|
||||
"_mapping/{type}",
|
||||
"{indices}/{type}/_mappings",
|
||||
"{indices}/_mappings/{type}",
|
||||
"_mappings/{type}",
|
||||
"{indices}/_mappings",
|
||||
"{indices}/_mapping"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"put_settings": {
|
||||
"indices.put_settings": {
|
||||
"url_params": {
|
||||
"master_timeout": "",
|
||||
"timeout": "",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"indices.put_template": {
|
||||
"url_params": {
|
||||
"include_type_name": "__flag__",
|
||||
"order": "",
|
||||
"create": "__flag__",
|
||||
"timeout": "",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"indices.rollover": {
|
||||
"url_params": {
|
||||
"include_type_name": "__flag__",
|
||||
"timeout": "",
|
||||
"dry_run": "__flag__",
|
||||
"master_timeout": "",
|
||||
|
|
|
@ -11,7 +11,15 @@
|
|||
"shards"
|
||||
],
|
||||
"types": [],
|
||||
"include_segment_file_sizes": "__flag__"
|
||||
"include_segment_file_sizes": "__flag__",
|
||||
"include_unloaded_segments": "__flag__",
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"forbid_closed_indices": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
|
|
|
@ -28,8 +28,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_validate/query",
|
||||
"{indices}/_validate/query",
|
||||
"{indices}/{type}/_validate/query"
|
||||
"{indices}/_validate/query"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html"
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
"refresh": "__flag__",
|
||||
"routing": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": []
|
||||
"_source_excludes": [],
|
||||
"_source_includes": []
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
@ -16,8 +16,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mget",
|
||||
"{indices}/_mget",
|
||||
"{indices}/{type}/_mget"
|
||||
"{indices}/_mget"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html"
|
||||
}
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
],
|
||||
"max_concurrent_searches": "",
|
||||
"typed_keys": "__flag__",
|
||||
"pre_filter_shard_size": ""
|
||||
"pre_filter_shard_size": "",
|
||||
"max_concurrent_shard_requests": "",
|
||||
"rest_total_hits_as_int": "__flag__",
|
||||
"ccs_minimize_roundtrips": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
@ -17,8 +20,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_msearch",
|
||||
"{indices}/_msearch",
|
||||
"{indices}/{type}/_msearch"
|
||||
"{indices}/_msearch"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,9 @@
|
|||
"dfs_query_and_fetch"
|
||||
],
|
||||
"typed_keys": "__flag__",
|
||||
"max_concurrent_searches": ""
|
||||
"max_concurrent_searches": "",
|
||||
"rest_total_hits_as_int": "__flag__",
|
||||
"ccs_minimize_roundtrips": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
@ -16,8 +18,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_msearch/template",
|
||||
"{indices}/_msearch/template",
|
||||
"{indices}/{type}/_msearch/template"
|
||||
"{indices}/_msearch/template"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html"
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
"payloads": "__flag__",
|
||||
"preference": "random",
|
||||
"routing": "",
|
||||
"parent": "",
|
||||
"realtime": "__flag__",
|
||||
"version": "",
|
||||
"version_type": [
|
||||
|
@ -26,8 +25,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mtermvectors",
|
||||
"{indices}/_mtermvectors",
|
||||
"{indices}/{type}/_mtermvectors"
|
||||
"{indices}/_mtermvectors"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html"
|
||||
}
|
||||
|
|
|
@ -16,13 +16,7 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_cluster/nodes/hotthreads",
|
||||
"_cluster/nodes/hot_threads",
|
||||
"_cluster/nodes/{nodes}/hotthreads",
|
||||
"_cluster/nodes/{nodes}/hot_threads",
|
||||
"_nodes/hotthreads",
|
||||
"_nodes/hot_threads",
|
||||
"_nodes/{nodes}/hotthreads",
|
||||
"_nodes/{nodes}/hot_threads"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html"
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"nodes.reload_secure_settings": {
|
||||
"url_params": {
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_nodes/reload_secure_settings",
|
||||
"_nodes/{nodes}/reload_secure_settings"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings"
|
||||
}
|
||||
}
|
|
@ -6,7 +6,9 @@
|
|||
"wait_for_active_shards": "",
|
||||
"wait_for_completion": "__flag__",
|
||||
"requests_per_second": "",
|
||||
"slices": ""
|
||||
"scroll": "",
|
||||
"slices": "",
|
||||
"max_docs": "all documents"
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
|
|
|
@ -7,9 +7,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_reindex/{task_id}/_rethrottle",
|
||||
"_update_by_query/{task_id}/_rethrottle",
|
||||
"_delete_by_query/{task_id}/_rethrottle"
|
||||
"_reindex/{task_id}/_rethrottle"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html"
|
||||
}
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
"scroll": {
|
||||
"url_params": {
|
||||
"scroll": "",
|
||||
"scroll_id": ""
|
||||
"scroll_id": "",
|
||||
"rest_total_hits_as_int": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_search/scroll",
|
||||
"_search/scroll/{scroll_id}"
|
||||
"_search/scroll"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html"
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"search": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"analyzer": "",
|
||||
"analyze_wildcard": "__flag__",
|
||||
"ccs_minimize_roundtrips": "__flag__",
|
||||
"default_operator": [
|
||||
"AND",
|
||||
"OR"
|
||||
|
@ -14,6 +14,7 @@
|
|||
"docvalue_fields": [],
|
||||
"from": "0",
|
||||
"ignore_unavailable": "__flag__",
|
||||
"ignore_throttled": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
|
@ -33,8 +34,8 @@
|
|||
"size": "10",
|
||||
"sort": [],
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"terminate_after": "",
|
||||
"stats": [],
|
||||
"suggest_field": "",
|
||||
|
@ -51,10 +52,12 @@
|
|||
"allow_partial_search_results": "__flag__",
|
||||
"typed_keys": "__flag__",
|
||||
"version": "__flag__",
|
||||
"seq_no_primary_term": "__flag__",
|
||||
"request_cache": "__flag__",
|
||||
"batched_reduce_size": "",
|
||||
"max_concurrent_shard_requests": "",
|
||||
"pre_filter_shard_size": ""
|
||||
"pre_filter_shard_size": "",
|
||||
"rest_total_hits_as_int": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
@ -62,8 +65,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_search",
|
||||
"{indices}/_search",
|
||||
"{indices}/{type}/_search"
|
||||
"{indices}/_search"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html"
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
"search_template": {
|
||||
"url_params": {
|
||||
"ignore_unavailable": "__flag__",
|
||||
"ignore_throttled": "__flag__",
|
||||
"allow_no_indices": "__flag__",
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
|
@ -20,7 +21,9 @@
|
|||
],
|
||||
"explain": "__flag__",
|
||||
"profile": "__flag__",
|
||||
"typed_keys": "__flag__"
|
||||
"typed_keys": "__flag__",
|
||||
"rest_total_hits_as_int": "__flag__",
|
||||
"ccs_minimize_roundtrips": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET",
|
||||
|
@ -28,8 +31,7 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_search/template",
|
||||
"{indices}/_search/template",
|
||||
"{indices}/{type}/_search/template"
|
||||
"{indices}/_search/template"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html"
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
"payloads": "__flag__",
|
||||
"preference": "random",
|
||||
"routing": "",
|
||||
"parent": "",
|
||||
"realtime": "__flag__",
|
||||
"version": "",
|
||||
"version_type": [
|
||||
|
@ -24,8 +23,8 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/_termvectors",
|
||||
"{indices}/{type}/{id}/_termvectors"
|
||||
"{indices}/_termvectors/{id}",
|
||||
"{indices}/_termvectors"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html"
|
||||
}
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{
|
||||
"update": {
|
||||
"url_params": {
|
||||
"include_type_name": "",
|
||||
"wait_for_active_shards": "",
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"lang": "painless",
|
||||
"parent": "",
|
||||
"refresh": [
|
||||
"true",
|
||||
"false",
|
||||
|
@ -16,18 +14,14 @@
|
|||
"retry_on_conflict": "0",
|
||||
"routing": "",
|
||||
"timeout": "",
|
||||
"version": "",
|
||||
"version_type": [
|
||||
"internal",
|
||||
"force"
|
||||
]
|
||||
"if_seq_no": "",
|
||||
"if_primary_term": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/{type}/{id}/_update",
|
||||
"{indices}/_doc/{id}/_update"
|
||||
"{indices}/_update/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html"
|
||||
}
|
||||
|
|
|
@ -32,11 +32,12 @@
|
|||
"dfs_query_then_fetch"
|
||||
],
|
||||
"search_timeout": "",
|
||||
"size": "10",
|
||||
"size": "",
|
||||
"max_docs": "all documents",
|
||||
"sort": [],
|
||||
"_source": [],
|
||||
"_source_exclude": [],
|
||||
"_source_include": [],
|
||||
"_source_excludes": [],
|
||||
"_source_includes": [],
|
||||
"terminate_after": "",
|
||||
"stats": [],
|
||||
"version": "__flag__",
|
||||
|
@ -54,8 +55,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_update_by_query",
|
||||
"{indices}/{type}/_update_by_query"
|
||||
"{indices}/_update_by_query"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"update_by_query_rethrottle": {
|
||||
"url_params": {
|
||||
"requests_per_second": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_update_by_query/{task_id}/_rethrottle"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"ccr.follow": {
|
||||
"url_params": {
|
||||
"wait_for_active_shards": ""
|
||||
},
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.forget_follower": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_ccr/forget_follower"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.graph.explore": {
|
||||
"graph.explore": {
|
||||
"url_params": {
|
||||
"routing": "",
|
||||
"timeout": ""
|
||||
|
@ -9,8 +9,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_graph/explore",
|
||||
"{indices}/{type}/_graph/explore"
|
||||
"{indices}/_graph/explore"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html"
|
||||
}
|
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
"ilm.explain_lifecycle": {
|
||||
"url_params": {
|
||||
"human": "__flag__"
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"license.delete": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_license"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-license.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.license.get": {
|
||||
"license.get": {
|
||||
"url_params": {
|
||||
"local": "__flag__"
|
||||
},
|
||||
|
@ -9,6 +9,6 @@
|
|||
"patterns": [
|
||||
"_license"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"license.get_basic_status": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_license/basic_status"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"license.get_trial_status": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_license/trial_status"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.license.post": {
|
||||
"license.post": {
|
||||
"url_params": {
|
||||
"acknowledge": "__flag__"
|
||||
},
|
||||
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_license"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.license.post_start_basic": {
|
||||
"license.post_start_basic": {
|
||||
"url_params": {
|
||||
"acknowledge": "__flag__"
|
||||
},
|
||||
|
@ -9,6 +9,6 @@
|
|||
"patterns": [
|
||||
"_license/start_basic"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.license.post_start_trial": {
|
||||
"license.post_start_trial": {
|
||||
"url_params": {
|
||||
"type": "\"trial\"",
|
||||
"acknowledge": "__flag__"
|
||||
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_license/start_trial"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/x-pack/current/license-management.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"migration.deprecations": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_migration/deprecations",
|
||||
"{indices}/_migration/deprecations"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ml.delete_data_frame_analytics": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/analytics/{id}"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ml.evaluate_data_frame": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/_evaluate"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
"ml.find_file_structure": {
|
||||
"url_params": {
|
||||
"lines_to_sample": 0,
|
||||
"line_merge_size_limit": 0,
|
||||
"timeout": "",
|
||||
"charset": "",
|
||||
"format": [
|
||||
|
@ -26,6 +27,6 @@
|
|||
"patterns": [
|
||||
"_ml/find_file_structure"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-file-structure.html"
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"ml.get_data_frame_analytics": {
|
||||
"url_params": {
|
||||
"allow_no_match": "__flag__",
|
||||
"from": 0,
|
||||
"size": 0
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/analytics/{id}",
|
||||
"_ml/data_frame/analytics"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"ml.get_data_frame_analytics_stats": {
|
||||
"url_params": {
|
||||
"allow_no_match": "__flag__",
|
||||
"from": 0,
|
||||
"size": 0
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/analytics/_stats",
|
||||
"_ml/data_frame/analytics/{id}/_stats"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ml.put_data_frame_analytics": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/analytics/{id}"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_ml/set_upgrade_mode"
|
||||
],
|
||||
"documentation": "TODO"
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"ml.start_data_frame_analytics": {
|
||||
"url_params": {
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/analytics/{id}/_start"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"ml.stop_data_frame_analytics": {
|
||||
"url_params": {
|
||||
"allow_no_match": "__flag__",
|
||||
"timeout": ""
|
||||
},
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_ml/data_frame/analytics/{id}/_stop"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -10,9 +10,8 @@
|
|||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_monitoring/bulk",
|
||||
"_monitoring/{type}/bulk"
|
||||
"_monitoring/bulk"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/monitoring/current/appendix-api-bulk.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/es-monitoring.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.delete_job": {
|
||||
"rollup.delete_job": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.get_jobs": {
|
||||
"rollup.get_jobs": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.get_rollup_caps": {
|
||||
"rollup.get_rollup_caps": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.get_rollup_index_caps": {
|
||||
"rollup.get_rollup_index_caps": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.put_job": {
|
||||
"rollup.put_job": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.rollup_search": {
|
||||
"rollup.rollup_search": {
|
||||
"url_params": {
|
||||
"typed_keys": "__flag__",
|
||||
"rest_total_hits_as_int": "__flag__"
|
||||
|
@ -9,8 +9,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_rollup_search",
|
||||
"{indices}/{type}/_rollup_search"
|
||||
"{indices}/_rollup_search"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.start_job": {
|
||||
"rollup.start_job": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.rollup.stop_job": {
|
||||
"rollup.stop_job": {
|
||||
"url_params": {
|
||||
"wait_for_completion": "__flag__",
|
||||
"timeout": ""
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"security.create_api_key": {
|
||||
"url_params": {
|
||||
"refresh": [
|
||||
"true",
|
||||
"false",
|
||||
"wait_for"
|
||||
]
|
||||
},
|
||||
"methods": [
|
||||
"PUT",
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/api_key"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"security.get_api_key": {
|
||||
"url_params": {
|
||||
"id": "",
|
||||
"name": "",
|
||||
"username": "",
|
||||
"realm_name": ""
|
||||
},
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/api_key"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html"
|
||||
}
|
||||
}
|
|
@ -4,6 +4,8 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/privilege",
|
||||
"_security/privilege/{application}",
|
||||
"_security/privilege/{application}/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-get-privileges.html"
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"patterns": [
|
||||
"_security/user/_privileges"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user-privileges.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"security.invalidate_api_key": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/api_key"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-api-key.html"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.sql.clear_cursor": {
|
||||
"sql.clear_cursor": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.sql.query": {
|
||||
"sql.query": {
|
||||
"url_params": {
|
||||
"format": ""
|
||||
},
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.sql.translate": {
|
||||
"sql.translate": {
|
||||
"methods": [
|
||||
"POST",
|
||||
"GET"
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.ack_watch": {
|
||||
"watcher.ack_watch": {
|
||||
"methods": [
|
||||
"PUT",
|
||||
"POST"
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.activate_watch": {
|
||||
"watcher.activate_watch": {
|
||||
"methods": [
|
||||
"PUT",
|
||||
"POST"
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.deactivate_watch": {
|
||||
"watcher.deactivate_watch": {
|
||||
"methods": [
|
||||
"PUT",
|
||||
"POST"
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.delete_watch": {
|
||||
"watcher.delete_watch": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.execute_watch": {
|
||||
"watcher.execute_watch": {
|
||||
"url_params": {
|
||||
"debug": "__flag__"
|
||||
},
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.get_watch": {
|
||||
"watcher.get_watch": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"xpack.watcher.put_watch": {
|
||||
"watcher.put_watch": {
|
||||
"url_params": {
|
||||
"active": "__flag__",
|
||||
"version": ""
|
||||
"version": "",
|
||||
"if_seq_no": "",
|
||||
"if_primary_term": ""
|
||||
},
|
||||
"methods": [
|
||||
"PUT",
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.start": {
|
||||
"watcher.start": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
|
@ -1,12 +1,7 @@
|
|||
{
|
||||
"xpack.watcher.stats": {
|
||||
"watcher.stats": {
|
||||
"url_params": {
|
||||
"metric": [
|
||||
"_all",
|
||||
"queued_watches",
|
||||
"current_watches",
|
||||
"pending_watches"
|
||||
],
|
||||
"metric": [],
|
||||
"emit_stacktraces": "__flag__"
|
||||
},
|
||||
"methods": [
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"xpack.watcher.stop": {
|
||||
"watcher.stop": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue