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.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const convertParams = require('./convert/params');
|
const convertParams = require('./convert/params');
|
||||||
const convertMethods = require('./convert/methods');
|
const convertMethods = require('./convert/methods');
|
||||||
const convertPaths = require('./convert/paths');
|
const convertPaths = require('./convert/paths');
|
||||||
|
@ -25,38 +24,54 @@ const convertParts = require('./convert/parts');
|
||||||
|
|
||||||
module.exports = spec => {
|
module.exports = spec => {
|
||||||
const result = {};
|
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 => {
|
Object.keys(spec).forEach(api => {
|
||||||
const source = spec[api];
|
const source = spec[api];
|
||||||
if (!source.url) {
|
if (!source.url) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
const convertedSpec = result[api] = {};
|
const convertedSpec = (result[api] = {});
|
||||||
if (source.url && source.url.params) {
|
if (source.params) {
|
||||||
const urlParams = convertParams(source.url.params);
|
const urlParams = convertParams(source.params);
|
||||||
if (Object.keys(urlParams).length > 0) {
|
if (Object.keys(urlParams).length > 0) {
|
||||||
convertedSpec.url_params = urlParams;
|
convertedSpec.url_params = urlParams;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (source.methods) {
|
const methodSet = new Set();
|
||||||
convertedSpec.methods = convertMethods(source.methods);
|
let patterns;
|
||||||
}
|
const urlComponents = {};
|
||||||
|
|
||||||
if (source.url.paths) {
|
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) {
|
convertedSpec.methods = convertMethods(Array.from(methodSet));
|
||||||
const components = convertParts(source.url.parts);
|
convertedSpec.patterns = patterns;
|
||||||
const hasComponents = Object.keys(components).filter(c => {
|
|
||||||
|
if (Object.keys(urlComponents).length) {
|
||||||
|
const components = convertParts(urlComponents);
|
||||||
|
const hasComponents =
|
||||||
|
Object.keys(components).filter(c => {
|
||||||
return Boolean(components[c]);
|
return Boolean(components[c]);
|
||||||
}).length > 0;
|
}).length > 0;
|
||||||
if (hasComponents) {
|
if (hasComponents) {
|
||||||
convertedSpec.url_components = convertParts(source.url.parts);
|
convertedSpec.url_components = convertParts(urlComponents);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source.documentation) {
|
if (source.documentation) {
|
||||||
convertedSpec.documentation = source.documentation;
|
convertedSpec.documentation = source.documentation.url;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const replacePattern = require('../replace_pattern');
|
const replacePattern = require('../replace_pattern');
|
||||||
|
|
||||||
module.exports = parts => {
|
module.exports = parts => {
|
||||||
|
|
|
@ -17,11 +17,10 @@
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const replacePattern = require('../replace_pattern');
|
const replacePattern = require('../replace_pattern');
|
||||||
|
|
||||||
module.exports = patterns => {
|
module.exports = patterns => {
|
||||||
return patterns.map(pattern => {
|
return patterns.map(patternObject => {
|
||||||
return replacePattern(pattern, { brackets: true });
|
return replacePattern(patternObject.path, { brackets: true });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const map = require('./static/map_interpolation');
|
const map = require('./static/map_interpolation');
|
||||||
|
|
||||||
module.exports = (pattern, { brackets, exact } = {}) => {
|
module.exports = (pattern, { brackets, exact } = {}) => {
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
{
|
{
|
||||||
"cluster.health": {
|
"cluster.health": {
|
||||||
"url_params": {
|
"url_params": {
|
||||||
|
"expand_wildcards": [
|
||||||
|
"open",
|
||||||
|
"closed",
|
||||||
|
"none",
|
||||||
|
"all"
|
||||||
|
],
|
||||||
"level": [
|
"level": [
|
||||||
"cluster",
|
"cluster",
|
||||||
"indices",
|
"indices",
|
||||||
|
@ -34,6 +40,6 @@
|
||||||
"_cluster/health",
|
"_cluster/health",
|
||||||
"_cluster/health/{indices}"
|
"_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": {
|
"cluster.health":{
|
||||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html",
|
"documentation":{
|
||||||
"methods": ["GET"],
|
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html",
|
||||||
"url": {
|
"description":"Returns basic information about the health of the cluster."
|
||||||
"path": "/_cluster/health",
|
|
||||||
"paths": ["/_cluster/health", "/_cluster/health/{index}"],
|
|
||||||
"parts": {
|
|
||||||
"index": {
|
|
||||||
"type" : "list",
|
|
||||||
"description" : "Limit the information returned to a specific index"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"params": {
|
"stability":"stable",
|
||||||
"level": {
|
"url":{
|
||||||
"type" : "enum",
|
"paths":[
|
||||||
"options" : ["cluster","indices","shards"],
|
{
|
||||||
"default" : "cluster",
|
"path":"/_cluster/health",
|
||||||
"description" : "Specify the level of detail for returned information"
|
"methods":[
|
||||||
|
"GET"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"local": {
|
{
|
||||||
"type" : "boolean",
|
"path":"/_cluster/health/{index}",
|
||||||
"description" : "Return local information, do not retrieve the state from master node (default: false)"
|
"methods":[
|
||||||
},
|
"GET"
|
||||||
"master_timeout": {
|
],
|
||||||
"type" : "time",
|
"parts":{
|
||||||
"description" : "Explicit operation timeout for connection to master node"
|
"index":{
|
||||||
},
|
"type":"list",
|
||||||
"timeout": {
|
"description":"Limit the information returned to a specific index"
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"body": null
|
"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}/_bulk",
|
||||||
"{indices}/{type}/_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",
|
||||||
"_cat/aliases/{name}"
|
"_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",
|
||||||
"_cat/allocation/{nodes}"
|
"_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",
|
||||||
"_cat/count/{indices}"
|
"_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",
|
||||||
"_cat/fielddata/{fields}"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/health"
|
"_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": [
|
"patterns": [
|
||||||
"_cat"
|
"_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",
|
||||||
"_cat/indices/{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": [
|
"patterns": [
|
||||||
"_cat/master"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/nodeattrs"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/nodes"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/pending_tasks"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/plugins"
|
"_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",
|
||||||
"_cat/recovery/{indices}"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/repositories"
|
"_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",
|
||||||
"_cat/segments/{indices}"
|
"_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",
|
||||||
"_cat/shards/{indices}"
|
"_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",
|
||||||
"_cat/snapshots/{repository}"
|
"_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": [
|
"patterns": [
|
||||||
"_cat/tasks"
|
"_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",
|
||||||
"_cat/templates/{name}"
|
"_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",
|
||||||
"_cat/thread_pool/{thread_pool_patterns}"
|
"_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"
|
"DELETE"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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": [
|
"patterns": [
|
||||||
"_cluster/allocation/explain"
|
"_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": [
|
"patterns": [
|
||||||
"_cluster/settings"
|
"_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",
|
||||||
"_cluster/health/{indices}"
|
"_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": [
|
"patterns": [
|
||||||
"_cluster/pending_tasks"
|
"_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": [
|
"patterns": [
|
||||||
"_cluster/settings"
|
"_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": [
|
"patterns": [
|
||||||
"_remote/info"
|
"_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": [
|
"patterns": [
|
||||||
"_cluster/reroute"
|
"_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}"
|
"_cluster/state/{metrics}/{indices}"
|
||||||
],
|
],
|
||||||
"url_components": {
|
"url_components": {
|
||||||
"indices": null,
|
|
||||||
"metrics": [
|
"metrics": [
|
||||||
"_all",
|
"_all",
|
||||||
"blocks",
|
"blocks",
|
||||||
|
@ -34,8 +33,9 @@
|
||||||
"routing_nodes",
|
"routing_nodes",
|
||||||
"routing_table",
|
"routing_table",
|
||||||
"version"
|
"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",
|
||||||
"_cluster/stats/nodes/{nodes}"
|
"_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",
|
"_count",
|
||||||
"{indices}/_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"
|
"POST"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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"
|
"DELETE"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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"
|
"dfs_query_then_fetch"
|
||||||
],
|
],
|
||||||
"search_timeout": "",
|
"search_timeout": "",
|
||||||
"size": "",
|
|
||||||
"max_docs": "all documents",
|
"max_docs": "all documents",
|
||||||
"sort": [],
|
"sort": [],
|
||||||
"_source": [],
|
"_source": [],
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
"patterns": [
|
"patterns": [
|
||||||
"_scripts/{id}"
|
"_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"
|
"HEAD"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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"
|
"HEAD"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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"
|
"POST"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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",
|
"_field_caps",
|
||||||
"{indices}/_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"
|
"GET"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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": [
|
"patterns": [
|
||||||
"_scripts/{id}"
|
"_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"
|
"GET"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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": [
|
"patterns": [
|
||||||
"{indices}/_doc/{id}",
|
"{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",
|
"_analyze",
|
||||||
"{indices}/_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",
|
"_cache/clear",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"{indices}/_close"
|
"{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": [
|
"patterns": [
|
||||||
"{indices}"
|
"{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": [
|
"patterns": [
|
||||||
"{indices}"
|
"{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}/_alias/{name}",
|
||||||
"{indices}/_aliases/{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": [
|
"patterns": [
|
||||||
"_template/{name}"
|
"_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": [
|
"patterns": [
|
||||||
"{indices}"
|
"{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}",
|
"_alias/{name}",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"_template/{name}"
|
"_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": [
|
"patterns": [
|
||||||
"{indices}/_mapping/{type}"
|
"{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",
|
"_flush",
|
||||||
"{indices}/_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",
|
"_flush/synced",
|
||||||
"{indices}/_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",
|
"_forcemerge",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"{indices}"
|
"{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/{name}",
|
||||||
"{indices}/_alias"
|
"{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": [
|
"patterns": [
|
||||||
"_mapping/field/{fields}",
|
"_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": [
|
"patterns": [
|
||||||
"_mapping",
|
"_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}",
|
"{indices}/_settings/{name}",
|
||||||
"_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",
|
||||||
"_template/{name}"
|
"_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",
|
"_upgrade",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"{indices}/_open"
|
"{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}/_alias/{name}",
|
||||||
"{indices}/_aliases/{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"
|
"POST"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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",
|
"_settings",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"_template/{name}"
|
"_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",
|
"_recovery",
|
||||||
"{indices}/_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",
|
"_refresh",
|
||||||
"{indices}/_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",
|
||||||
"{alias}/_rollover/{new_index}"
|
"{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",
|
"_segments",
|
||||||
"{indices}/_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",
|
"_shard_stores",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"{indices}/_shrink/{target}"
|
"{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": [
|
"patterns": [
|
||||||
"{indices}/_split/{target}"
|
"{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}"
|
"{indices}/_stats/{metrics}"
|
||||||
],
|
],
|
||||||
"url_components": {
|
"url_components": {
|
||||||
"indices": null,
|
|
||||||
"metrics": [
|
"metrics": [
|
||||||
"_all",
|
"_all",
|
||||||
"completion",
|
"completion",
|
||||||
|
@ -49,8 +48,9 @@
|
||||||
"store",
|
"store",
|
||||||
"suggest",
|
"suggest",
|
||||||
"warmer"
|
"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": [
|
"patterns": [
|
||||||
"_aliases"
|
"_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",
|
"_upgrade",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"_validate/query",
|
"_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": [
|
"patterns": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"documentation": "http://www.elastic.co/guide/"
|
"documentation": "https://www.elastic.co/guide/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,9 @@
|
||||||
],
|
],
|
||||||
"patterns": [
|
"patterns": [
|
||||||
"_mget",
|
"_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",
|
"_msearch",
|
||||||
"{indices}/_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",
|
"_msearch/template",
|
||||||
"{indices}/_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",
|
"_mtermvectors",
|
||||||
"{indices}/_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": [
|
"patterns": [
|
||||||
"_nodes/hot_threads",
|
"_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"
|
"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}"
|
"_nodes/{nodes}/stats/{metrics}/{index_metric}"
|
||||||
],
|
],
|
||||||
"url_components": {
|
"url_components": {
|
||||||
|
"nodes": null,
|
||||||
"metrics": [
|
"metrics": [
|
||||||
"_all",
|
"_all",
|
||||||
"breaker",
|
"breaker",
|
||||||
|
@ -56,9 +57,8 @@
|
||||||
"store",
|
"store",
|
||||||
"suggest",
|
"suggest",
|
||||||
"warmer"
|
"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}"
|
"_nodes/{nodes}/usage/{metrics}"
|
||||||
],
|
],
|
||||||
"url_components": {
|
"url_components": {
|
||||||
|
"nodes": null,
|
||||||
"metrics": [
|
"metrics": [
|
||||||
"_all",
|
"_all",
|
||||||
"rest_actions"
|
"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": [
|
"patterns": [
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"documentation": "http://www.elastic.co/guide/"
|
"documentation": "https://www.elastic.co/guide/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
"_scripts/{id}",
|
"_scripts/{id}",
|
||||||
"_scripts/{id}/{context}"
|
"_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"
|
"POST"
|
||||||
],
|
],
|
||||||
"patterns": [
|
"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…
Reference in a new issue