mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Backport spec_to_console script to work with new JSON file format. (#43427)
* Backport spec_to_console script to work with new JSON file format. * Updated test fixture to use new JSON file pattern * Fix if statement
This commit is contained in:
parent
00a0203584
commit
357e929bd2
118 changed files with 321 additions and 217 deletions
|
@ -17,7 +17,6 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
const convertParams = require('./convert/params');
|
||||
const convertMethods = require('./convert/methods');
|
||||
const convertPaths = require('./convert/paths');
|
||||
|
@ -25,38 +24,54 @@ const convertParts = require('./convert/parts');
|
|||
|
||||
module.exports = spec => {
|
||||
const result = {};
|
||||
// TODO:
|
||||
// Since https://github.com/elastic/elasticsearch/pull/42346 has been merged into ES master
|
||||
// the JSON doc specification has been updated. We need to update this script to take advantage
|
||||
// of the added information but it will also require updating console's editor autocomplete.
|
||||
Object.keys(spec).forEach(api => {
|
||||
const source = spec[api];
|
||||
if (!source.url) {
|
||||
return result;
|
||||
}
|
||||
const convertedSpec = result[api] = {};
|
||||
if (source.url && source.url.params) {
|
||||
const urlParams = convertParams(source.url.params);
|
||||
const convertedSpec = (result[api] = {});
|
||||
if (source.params) {
|
||||
const urlParams = convertParams(source.params);
|
||||
if (Object.keys(urlParams).length > 0) {
|
||||
convertedSpec.url_params = urlParams;
|
||||
}
|
||||
}
|
||||
|
||||
if (source.methods) {
|
||||
convertedSpec.methods = convertMethods(source.methods);
|
||||
}
|
||||
const methodSet = new Set();
|
||||
let patterns;
|
||||
const urlComponents = {};
|
||||
|
||||
if (source.url.paths) {
|
||||
convertedSpec.patterns = convertPaths(source.url.paths);
|
||||
patterns = convertPaths(source.url.paths);
|
||||
source.url.paths.forEach(pathsObject => {
|
||||
pathsObject.methods.forEach(method => methodSet.add(method));
|
||||
if (pathsObject.parts) {
|
||||
for (const partName of Object.keys(pathsObject.parts)) {
|
||||
urlComponents[partName] = pathsObject.parts[partName];
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (source.url.parts) {
|
||||
const components = convertParts(source.url.parts);
|
||||
const hasComponents = Object.keys(components).filter(c => {
|
||||
return Boolean(components[c]);
|
||||
}).length > 0;
|
||||
convertedSpec.methods = convertMethods(Array.from(methodSet));
|
||||
convertedSpec.patterns = patterns;
|
||||
|
||||
if (Object.keys(urlComponents).length) {
|
||||
const components = convertParts(urlComponents);
|
||||
const hasComponents =
|
||||
Object.keys(components).filter(c => {
|
||||
return Boolean(components[c]);
|
||||
}).length > 0;
|
||||
if (hasComponents) {
|
||||
convertedSpec.url_components = convertParts(source.url.parts);
|
||||
convertedSpec.url_components = convertParts(urlComponents);
|
||||
}
|
||||
}
|
||||
if (source.documentation) {
|
||||
convertedSpec.documentation = source.documentation;
|
||||
convertedSpec.documentation = source.documentation.url;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
const replacePattern = require('../replace_pattern');
|
||||
|
||||
module.exports = parts => {
|
||||
|
|
|
@ -17,11 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
const replacePattern = require('../replace_pattern');
|
||||
|
||||
module.exports = patterns => {
|
||||
return patterns.map(pattern => {
|
||||
return replacePattern(pattern, { brackets: true });
|
||||
return patterns.map(patternObject => {
|
||||
return replacePattern(patternObject.path, { brackets: true });
|
||||
});
|
||||
};
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
const map = require('./static/map_interpolation');
|
||||
|
||||
module.exports = (pattern, { brackets, exact } = {}) => {
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
"cluster.health": {
|
||||
"url_params": {
|
||||
"expand_wildcards": [
|
||||
"open",
|
||||
"closed",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"level": [
|
||||
"cluster",
|
||||
"indices",
|
||||
|
@ -34,6 +40,6 @@
|
|||
"_cluster/health",
|
||||
"_cluster/health/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,64 +1,104 @@
|
|||
{
|
||||
"cluster.health": {
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html",
|
||||
"methods": ["GET"],
|
||||
"url": {
|
||||
"path": "/_cluster/health",
|
||||
"paths": ["/_cluster/health", "/_cluster/health/{index}"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "list",
|
||||
"description" : "Limit the information returned to a specific index"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"level": {
|
||||
"type" : "enum",
|
||||
"options" : ["cluster","indices","shards"],
|
||||
"default" : "cluster",
|
||||
"description" : "Specify the level of detail for returned information"
|
||||
},
|
||||
"local": {
|
||||
"type" : "boolean",
|
||||
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
||||
},
|
||||
"master_timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit operation timeout for connection to master node"
|
||||
},
|
||||
"timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit operation timeout"
|
||||
},
|
||||
"wait_for_active_shards": {
|
||||
"type" : "string",
|
||||
"description" : "Wait until the specified number of shards is active"
|
||||
},
|
||||
"wait_for_nodes": {
|
||||
"type" : "string",
|
||||
"description" : "Wait until the specified number of nodes is available"
|
||||
},
|
||||
"wait_for_events": {
|
||||
"type" : "enum",
|
||||
"options" : ["immediate", "urgent", "high", "normal", "low", "languid"],
|
||||
"description" : "Wait until all currently queued events with the given priority are processed"
|
||||
},
|
||||
"wait_for_no_relocating_shards": {
|
||||
"type" : "boolean",
|
||||
"description" : "Whether to wait until there are no relocating shards in the cluster"
|
||||
},
|
||||
"wait_for_no_initializing_shards": {
|
||||
"type" : "boolean",
|
||||
"description" : "Whether to wait until there are no initializing shards in the cluster"
|
||||
},
|
||||
"wait_for_status": {
|
||||
"type" : "enum",
|
||||
"options" : ["green","yellow","red"],
|
||||
"default" : null,
|
||||
"description" : "Wait until cluster is in a specific state"
|
||||
}
|
||||
}
|
||||
"cluster.health":{
|
||||
"documentation":{
|
||||
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html",
|
||||
"description":"Returns basic information about the health of the cluster."
|
||||
},
|
||||
"body": null
|
||||
"stability":"stable",
|
||||
"url":{
|
||||
"paths":[
|
||||
{
|
||||
"path":"/_cluster/health",
|
||||
"methods":[
|
||||
"GET"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path":"/_cluster/health/{index}",
|
||||
"methods":[
|
||||
"GET"
|
||||
],
|
||||
"parts":{
|
||||
"index":{
|
||||
"type":"list",
|
||||
"description":"Limit the information returned to a specific index"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"params":{
|
||||
"expand_wildcards":{
|
||||
"type":"enum",
|
||||
"options":[
|
||||
"open",
|
||||
"closed",
|
||||
"none",
|
||||
"all"
|
||||
],
|
||||
"default":"all",
|
||||
"description":"Whether to expand wildcard expression to concrete indices that are open, closed or both."
|
||||
},
|
||||
"level":{
|
||||
"type":"enum",
|
||||
"options":[
|
||||
"cluster",
|
||||
"indices",
|
||||
"shards"
|
||||
],
|
||||
"default":"cluster",
|
||||
"description":"Specify the level of detail for returned information"
|
||||
},
|
||||
"local":{
|
||||
"type":"boolean",
|
||||
"description":"Return local information, do not retrieve the state from master node (default: false)"
|
||||
},
|
||||
"master_timeout":{
|
||||
"type":"time",
|
||||
"description":"Explicit operation timeout for connection to master node"
|
||||
},
|
||||
"timeout":{
|
||||
"type":"time",
|
||||
"description":"Explicit operation timeout"
|
||||
},
|
||||
"wait_for_active_shards":{
|
||||
"type":"string",
|
||||
"description":"Wait until the specified number of shards is active"
|
||||
},
|
||||
"wait_for_nodes":{
|
||||
"type":"string",
|
||||
"description":"Wait until the specified number of nodes is available"
|
||||
},
|
||||
"wait_for_events":{
|
||||
"type":"enum",
|
||||
"options":[
|
||||
"immediate",
|
||||
"urgent",
|
||||
"high",
|
||||
"normal",
|
||||
"low",
|
||||
"languid"
|
||||
],
|
||||
"description":"Wait until all currently queued events with the given priority are processed"
|
||||
},
|
||||
"wait_for_no_relocating_shards":{
|
||||
"type":"boolean",
|
||||
"description":"Whether to wait until there are no relocating shards in the cluster"
|
||||
},
|
||||
"wait_for_no_initializing_shards":{
|
||||
"type":"boolean",
|
||||
"description":"Whether to wait until there are no initializing shards in the cluster"
|
||||
},
|
||||
"wait_for_status":{
|
||||
"type":"enum",
|
||||
"options":[
|
||||
"green",
|
||||
"yellow",
|
||||
"red"
|
||||
],
|
||||
"default":null,
|
||||
"description":"Wait until cluster is in a specific state"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,6 +24,6 @@
|
|||
"{indices}/_bulk",
|
||||
"{indices}/{type}/_bulk"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"_cat/aliases",
|
||||
"_cat/aliases/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
"_cat/allocation",
|
||||
"_cat/allocation/{nodes}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"_cat/count",
|
||||
"_cat/count/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,6 +30,6 @@
|
|||
"_cat/fielddata",
|
||||
"_cat/fielddata/{fields}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"patterns": [
|
||||
"_cat/health"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_cat"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
"_cat/indices",
|
||||
"_cat/indices/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"patterns": [
|
||||
"_cat/master"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"patterns": [
|
||||
"_cat/nodeattrs"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"patterns": [
|
||||
"_cat/nodes"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"patterns": [
|
||||
"_cat/pending_tasks"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"patterns": [
|
||||
"_cat/plugins"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,6 @@
|
|||
"_cat/recovery",
|
||||
"_cat/recovery/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"patterns": [
|
||||
"_cat/repositories"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
"_cat/segments",
|
||||
"_cat/segments/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
"_cat/shards",
|
||||
"_cat/shards/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"_cat/snapshots",
|
||||
"_cat/snapshots/{repository}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
"patterns": [
|
||||
"_cat/tasks"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"_cat/templates",
|
||||
"_cat/templates/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,6 +24,6 @@
|
|||
"_cat/thread_pool",
|
||||
"_cat/thread_pool/{thread_pool_patterns}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_search/scroll"
|
||||
"_search/scroll",
|
||||
"_search/scroll/{scroll_id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"patterns": [
|
||||
"_cluster/allocation/explain"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"patterns": [
|
||||
"_cluster/settings"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,6 +40,6 @@
|
|||
"_cluster/health",
|
||||
"_cluster/health/{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_cluster/pending_tasks"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"patterns": [
|
||||
"_cluster/settings"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"patterns": [
|
||||
"_remote/info"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"patterns": [
|
||||
"_cluster/reroute"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
"_cluster/state/{metrics}/{indices}"
|
||||
],
|
||||
"url_components": {
|
||||
"indices": null,
|
||||
"metrics": [
|
||||
"_all",
|
||||
"blocks",
|
||||
|
@ -34,8 +33,9 @@
|
|||
"routing_nodes",
|
||||
"routing_table",
|
||||
"version"
|
||||
]
|
||||
],
|
||||
"indices": null
|
||||
},
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"_cluster/stats",
|
||||
"_cluster/stats/nodes/{nodes}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,6 @@
|
|||
"_count",
|
||||
"{indices}/_count"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,8 +23,9 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_create/{id}"
|
||||
"{indices}/_create/{id}",
|
||||
"{indices}/{type}/{id}/_create"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,8 +23,9 @@
|
|||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_doc/{id}"
|
||||
"{indices}/_doc/{id}",
|
||||
"{indices}/{type}/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
"dfs_query_then_fetch"
|
||||
],
|
||||
"search_timeout": "",
|
||||
"size": "",
|
||||
"max_docs": "all documents",
|
||||
"sort": [],
|
||||
"_source": [],
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_scripts/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,8 +21,9 @@
|
|||
"HEAD"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_doc/{id}"
|
||||
"{indices}/_doc/{id}",
|
||||
"{indices}/{type}/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
"HEAD"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_source/{id}"
|
||||
"{indices}/_source/{id}",
|
||||
"{indices}/{type}/{id}/_source"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,8 +22,9 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_explain/{id}"
|
||||
"{indices}/_explain/{id}",
|
||||
"{indices}/{type}/{id}/_explain"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
"_field_caps",
|
||||
"{indices}/_field_caps"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,8 +21,9 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_doc/{id}"
|
||||
"{indices}/_doc/{id}",
|
||||
"{indices}/{type}/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"patterns": [
|
||||
"_scripts/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_source/{id}"
|
||||
"{indices}/_source/{id}",
|
||||
"{indices}/{type}/{id}/_source"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,8 +30,10 @@
|
|||
],
|
||||
"patterns": [
|
||||
"{indices}/_doc/{id}",
|
||||
"{indices}/_doc"
|
||||
"{indices}/_doc",
|
||||
"{indices}/{type}",
|
||||
"{indices}/{type}/{id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"_analyze",
|
||||
"{indices}/_analyze"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,6 @@
|
|||
"_cache/clear",
|
||||
"{indices}/_cache/clear"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"indices.clone": {
|
||||
"url_params": {
|
||||
"timeout": "",
|
||||
"master_timeout": "",
|
||||
"wait_for_active_shards": ""
|
||||
},
|
||||
"methods": [
|
||||
"PUT",
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_clone/{target}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html"
|
||||
}
|
||||
}
|
|
@ -19,6 +19,6 @@
|
|||
"patterns": [
|
||||
"{indices}/_close"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"patterns": [
|
||||
"{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
"patterns": [
|
||||
"{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"{indices}/_alias/{name}",
|
||||
"{indices}/_aliases/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_template/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
"patterns": [
|
||||
"{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
"_alias/{name}",
|
||||
"{indices}/_alias/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"patterns": [
|
||||
"_template/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
"patterns": [
|
||||
"{indices}/_mapping/{type}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
"_flush",
|
||||
"{indices}/_flush"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
"_flush/synced",
|
||||
"{indices}/_flush/synced"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html#synced-flush-api"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
"_forcemerge",
|
||||
"{indices}/_forcemerge"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
"patterns": [
|
||||
"{indices}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
"{indices}/_alias/{name}",
|
||||
"{indices}/_alias"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,8 +18,10 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mapping/field/{fields}",
|
||||
"{indices}/_mapping/field/{fields}"
|
||||
"{indices}/_mapping/field/{fields}",
|
||||
"_mapping/{type}/field/{fields}",
|
||||
"{indices}/_mapping/{type}/field/{fields}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,8 +18,10 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mapping",
|
||||
"{indices}/_mapping"
|
||||
"{indices}/_mapping",
|
||||
"_mapping/{type}",
|
||||
"{indices}/_mapping/{type}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
"{indices}/_settings/{name}",
|
||||
"_settings/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"_template",
|
||||
"_template/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
"_upgrade",
|
||||
"{indices}/_upgrade"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
"patterns": [
|
||||
"{indices}/_open"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"{indices}/_alias/{name}",
|
||||
"{indices}/_aliases/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,8 +18,15 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{indices}/_mapping"
|
||||
"{indices}/_mapping",
|
||||
"{indices}/{type}/_mapping",
|
||||
"{indices}/_mapping/{type}",
|
||||
"{indices}/{type}/_mappings",
|
||||
"{indices}/_mappings/{type}",
|
||||
"_mappings/{type}",
|
||||
"{indices}/_mappings",
|
||||
"_mapping/{type}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
"_settings",
|
||||
"{indices}/_settings"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"patterns": [
|
||||
"_template/{name}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"_recovery",
|
||||
"{indices}/_recovery"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
"_refresh",
|
||||
"{indices}/_refresh"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"{alias}/_rollover",
|
||||
"{alias}/_rollover/{new_index}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
"_segments",
|
||||
"{indices}/_segments"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
"_shard_stores",
|
||||
"{indices}/_shard_stores"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"patterns": [
|
||||
"{indices}/_shrink/{target}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"patterns": [
|
||||
"{indices}/_split/{target}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
"{indices}/_stats/{metrics}"
|
||||
],
|
||||
"url_components": {
|
||||
"indices": null,
|
||||
"metrics": [
|
||||
"_all",
|
||||
"completion",
|
||||
|
@ -49,8 +48,9 @@
|
|||
"store",
|
||||
"suggest",
|
||||
"warmer"
|
||||
]
|
||||
],
|
||||
"indices": null
|
||||
},
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"patterns": [
|
||||
"_aliases"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
"_upgrade",
|
||||
"{indices}/_upgrade"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,8 +28,9 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_validate/query",
|
||||
"{indices}/_validate/query"
|
||||
"{indices}/_validate/query",
|
||||
"{indices}/{type}/_validate/query"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"patterns": [
|
||||
""
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/"
|
||||
"documentation": "https://www.elastic.co/guide/"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,8 +16,9 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_mget",
|
||||
"{indices}/_mget"
|
||||
"{indices}/_mget",
|
||||
"{indices}/{type}/_mget"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,6 @@
|
|||
"_msearch",
|
||||
"{indices}/_msearch"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
"_msearch/template",
|
||||
"{indices}/_msearch/template"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
"_mtermvectors",
|
||||
"{indices}/_mtermvectors"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,8 +17,14 @@
|
|||
],
|
||||
"patterns": [
|
||||
"_nodes/hot_threads",
|
||||
"_nodes/{nodes}/hot_threads"
|
||||
"_nodes/{nodes}/hot_threads",
|
||||
"_cluster/nodes/hotthreads",
|
||||
"_cluster/nodes/{nodes}/hotthreads",
|
||||
"_nodes/hotthreads",
|
||||
"_nodes/{nodes}/hotthreads",
|
||||
"_cluster/nodes/hot_threads",
|
||||
"_cluster/nodes/{nodes}/hot_threads"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
"transport"
|
||||
]
|
||||
},
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
"_nodes/{nodes}/stats/{metrics}/{index_metric}"
|
||||
],
|
||||
"url_components": {
|
||||
"nodes": null,
|
||||
"metrics": [
|
||||
"_all",
|
||||
"breaker",
|
||||
|
@ -56,9 +57,8 @@
|
|||
"store",
|
||||
"suggest",
|
||||
"warmer"
|
||||
],
|
||||
"nodes": null
|
||||
]
|
||||
},
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
"_nodes/{nodes}/usage/{metrics}"
|
||||
],
|
||||
"url_components": {
|
||||
"nodes": null,
|
||||
"metrics": [
|
||||
"_all",
|
||||
"rest_actions"
|
||||
],
|
||||
"nodes": null
|
||||
]
|
||||
},
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
"patterns": [
|
||||
""
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/"
|
||||
"documentation": "https://www.elastic.co/guide/"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"_scripts/{id}",
|
||||
"_scripts/{id}/{context}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_search/scroll"
|
||||
"_search/scroll",
|
||||
"_search/scroll/{scroll_id}"
|
||||
],
|
||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html"
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll"
|
||||
}
|
||||
}
|
||||
|
|
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