487 lines
15 KiB
JSON
487 lines
15 KiB
JSON
{
|
|
|
|
"cat": [
|
|
{"name": "cat.*", "methods": ["get"],
|
|
"path": "_cat/*"
|
|
},
|
|
{"name": "cat.indices", "methods": ["get"],
|
|
"path": "_cat/indices"
|
|
},
|
|
{"name": "cat.indices", "methods": ["get"],
|
|
"path": "_cat/indices/:target"
|
|
},
|
|
{"name": "cat.help", "methods": ["get"],
|
|
"path": "_cat/help"
|
|
},
|
|
{"name": "cat.repositories", "methods": ["get"],
|
|
"path": "_cat/repositories"
|
|
},
|
|
{"name": "cat.pending_tasks", "methods": ["get"],
|
|
"path": "_cat/pending_tasks"
|
|
},
|
|
{"name": "cat.tasks", "methods": ["get"],
|
|
"path": "_cat/tasks"
|
|
},
|
|
{"name": "cat.allocation", "methods": ["get"],
|
|
"path": "_cat/allocation"
|
|
},
|
|
{"name": "cat.count", "methods": ["get"],
|
|
"path": "_cat/count"
|
|
},
|
|
{"name": "cat.shards", "methods": ["get"],
|
|
"path": "_cat/shards"
|
|
},
|
|
{"name": "cat.shards", "methods": ["get"],
|
|
"path": "_cat/shards/:target"
|
|
},
|
|
{"name": "cat.aliases", "methods": ["get"],
|
|
"path": "_cat/aliases"
|
|
},
|
|
{"name": "cat.aliases", "methods": ["get"],
|
|
"path": "_cat/aliases/:name"
|
|
},
|
|
{"name": "cat.nodeattrs", "methods": ["get"],
|
|
"path": "_cat/nodeattrs"
|
|
},
|
|
{"name": "cat.templates", "methods": ["get"],
|
|
"path": "_cat/templates"
|
|
},
|
|
{"name": "cat.thread_pool", "methods": ["get"],
|
|
"path": "_cat/thread_pool"
|
|
},
|
|
{"name": "cat.health", "methods": ["get"],
|
|
"path": "_cat/health"
|
|
},
|
|
{"name": "cat.recovery", "methods": ["get"],
|
|
"path": "_cat/recovery"
|
|
},
|
|
{"name": "cat.fielddata", "methods": ["get"],
|
|
"path": "_cat/fielddata"
|
|
},
|
|
{"name": "cat.nodes", "methods": ["get"],
|
|
"path": "_cat/nodes"
|
|
},
|
|
{"name": "cat.plugins", "methods": ["get"],
|
|
"path": "_cat/plugins"
|
|
},
|
|
{"name": "cat.segments", "methods": ["get"],
|
|
"path": "_cat/segments"
|
|
},
|
|
{"name": "cat.snapshots", "methods": ["get"],
|
|
"path": "_cat/snapshots"
|
|
},
|
|
{"name": "cat.master", "methods": ["get"],
|
|
"path": "_cat/master"
|
|
}
|
|
],
|
|
"cluster": [
|
|
{"name": "cluster.*", "methods": ["*"],
|
|
"path": "_cluster/*"
|
|
},
|
|
{"name": "cluster.info", "methods": ["get"],
|
|
"path": "/"
|
|
},
|
|
{"name": "cluster.health", "methods": ["get"],
|
|
"path": "_cluster/health"
|
|
},
|
|
{"name": "cluster.get_settings", "methods":["get"],
|
|
"path": "_cluster/settings"
|
|
},
|
|
{"name": "cluster.pending_tasks", "methods": ["get"],
|
|
"path": "_cluster/pending_tasks"
|
|
},
|
|
{"name": "cluster.stats", "methods": ["get"],
|
|
"path": "_cluster/stats"
|
|
},
|
|
{"name": "cluster.remote_info", "methods": ["get"],
|
|
"path": "_remote/info"
|
|
},
|
|
{"name": "cluster.allocation_explain", "methods": ["get"],
|
|
"path": "_cluster/allocation/explain"
|
|
},
|
|
{"name": "cluster.put_settings", "methods": ["put"],
|
|
"path": "_cluster/settings"
|
|
},
|
|
{"name": "cluster.reroute", "methods": ["post"],
|
|
"path": "_cluster/reroute"
|
|
},
|
|
{"name": "cluster.count", "methods": ["get"],
|
|
"path": "_count"
|
|
},
|
|
{"name": "cluster.state", "methods": ["get"],
|
|
"path": "_cluster/state"
|
|
},
|
|
{"name": "cluster.bulk", "methods": ["put", "post"],
|
|
"path": "_bulk"
|
|
},
|
|
{"name": "cluster.mget", "methods": ["get", "post"],
|
|
"path": "_mget"
|
|
},
|
|
{"name": "cluster.ping", "methods": ["head"],
|
|
"path": "/"
|
|
},
|
|
{"name": "cluster.msearch", "methods": ["get", "post"],
|
|
"path": "_msearch"
|
|
},
|
|
{"name": "cluster.msearch_template", "methods": ["get", "post"],
|
|
"path": "_msearch/template"
|
|
},
|
|
{"name": "cluster.mtermvectors", "methods": ["get", "post"],
|
|
"path": "_mtermvectors"
|
|
},
|
|
{"name": "cluster.rank_eval", "methods": ["get", "post"],
|
|
"path": "_rank_eval"
|
|
},
|
|
{"name": "cluster.search", "methods": ["get", "post"],
|
|
"path": "_search"
|
|
},
|
|
{"name": "cluster.search_shards", "methods": ["get", "post"],
|
|
"path": "_search_shards"
|
|
},
|
|
{"name": "cluster.exists_alias", "methods": ["head"],
|
|
"path": "_alias/:alias"
|
|
},
|
|
{"name": "cluster.get_alias", "methods": ["get"],
|
|
"path": "_alias/:alias"
|
|
}
|
|
],
|
|
"indices": [
|
|
{"name": "indices.*", "methods": ["*"],
|
|
"path": "/*"
|
|
},
|
|
{"name": "indices.exists_alias", "methods": ["head"],
|
|
"path": "/:index_name/_alias/:alias"
|
|
},
|
|
{"name": "indices.get_alias", "methods": ["get"],
|
|
"path": "/:index_name/_alias/:alias"
|
|
},
|
|
{"name": "indices.recovery", "methods": ["get"],
|
|
"path": "/:index_name/_recovery"
|
|
},
|
|
{"name": "indices.delete", "methods": ["delete"],
|
|
"path": "/:index_name"
|
|
},
|
|
{"name": "indices.put", "methods": ["put"],
|
|
"path": "/:index_name"
|
|
},
|
|
{"name": "indices.clear_cache", "methods": ["post"],
|
|
"path": "/:index_name/_cache/clear"
|
|
},
|
|
{"name": "indices.update_by_query", "methods": ["post"],
|
|
"path": "/:index_name/_update_by_query"
|
|
},
|
|
{"name": "indices.shrink", "methods": ["post"],
|
|
"path": "/:index_name/_shrink"
|
|
},
|
|
{"name": "indices.forcemerge", "methods": ["post"],
|
|
"path": "/:index_name/_forcemerge"
|
|
},
|
|
{"name": "indices.put_alias", "methods": ["put"],
|
|
"path": "/:index_name/_alias/:alias"
|
|
},
|
|
{"name": "indices.create", "methods": ["post"],
|
|
"path": "/:index_name"
|
|
},
|
|
{"name": "indices.split", "methods": ["post"],
|
|
"path": "/:index_name/_split"
|
|
},
|
|
{"name": "indices.flush", "methods": ["post"],
|
|
"path": "/:index_name/_flush"
|
|
},
|
|
{"name": "indices.get_mapping", "methods": ["get"],
|
|
"path": "/:index_name/_mapping"
|
|
},
|
|
{"name": "indices.upgrade", "methods": ["post"],
|
|
"path": "/:index_name/_upgrade"
|
|
},
|
|
{"name": "indices.validate_query", "methods": ["get", "post"],
|
|
"path": "/:index_name/_validate/query"
|
|
},
|
|
{"name": "indices.analyze", "methods": ["post"],
|
|
"path": "/:index_name/analyze"
|
|
},
|
|
{"name": "indices.exists", "methods": ["head"],
|
|
"path": "/:index_name"
|
|
},
|
|
{"name": "indices.close", "methods": ["post"],
|
|
"path": "/:index_name/_close"
|
|
},
|
|
{"name": "indices.get_field_mapping", "methods": ["get"],
|
|
"path": "/:index_name/_mapping/:fields"
|
|
},
|
|
{"name": "indices.delete_alias", "methods": ["delete"],
|
|
"path": "/:index_name/_alias/:alias"
|
|
},
|
|
{"name": "indices.refresh", "methods": ["get", "post"],
|
|
"path": "/:index_name/_refresh"
|
|
},
|
|
{"name": "indices.segments", "methods": ["get"],
|
|
"path": "/:index_name/_segments"
|
|
},
|
|
{"name": "indices.termvectors", "methods": ["get"],
|
|
"path": "/:index_name/_termvectors"
|
|
},
|
|
{"name": "indices.flush_synced", "methods": ["get", "post"],
|
|
"path": "/:index_name/_flush/synced"
|
|
},
|
|
{"name": "indices.put_mapping", "methods": ["put"],
|
|
"path": "/:index_name/_mapping"
|
|
},
|
|
{"name": "indices.get", "methods": ["get"],
|
|
"path": "/:index_name"
|
|
},
|
|
{"name": "indices.get_settings", "methods": ["get"],
|
|
"path": "/:index_name/_settings"
|
|
},
|
|
{"name": "indices.open", "methods": ["post"],
|
|
"path": "/:index_name/_open"
|
|
},
|
|
{"name": "indices.put_settings", "methods": ["put"],
|
|
"path": "/:index_name/_settings"
|
|
},
|
|
{"name": "indices.stats", "methods": ["get"],
|
|
"path": "/:index_name/_stats"
|
|
},
|
|
{"name": "indices.delete_by_query", "methods": ["post"],
|
|
"path": "/:index_name/_delete_by_query"
|
|
},
|
|
{"name": "indices.rollover", "methods": ["post"],
|
|
"path": "/:index_name/_rollover"
|
|
},
|
|
{"name": "indices.count", "methods": ["get"],
|
|
"path": "/:index_name/_count"
|
|
},
|
|
{"name": "indices.shard_stores", "methods": ["get"],
|
|
"path": "/:index_name/_shard_stores"
|
|
},
|
|
{"name": "indices.bulk", "methods": ["post"],
|
|
"path": "/:index_name/_bulk"
|
|
},
|
|
{"name": "indices.mget", "methods": ["get", "post"],
|
|
"path": "/:index_name/_mget"
|
|
},
|
|
{"name": "indices.msearch", "methods": ["get", "post"],
|
|
"path": "/:index_name/_msearch"
|
|
},
|
|
{"name": "indices.msearch_template", "methods": ["get", "post"],
|
|
"path": "/:index_name/_msearch/template"
|
|
},
|
|
{"name": "indices.mtermvectors", "methods": ["get"],
|
|
"path": "/:index_name/_mtermvectors"
|
|
},
|
|
{"name": "indices.rank_eval", "methods": ["get"],
|
|
"path": "/:index_name/_rank_eval"
|
|
},
|
|
{"name": "indices.search", "methods": ["get", "post"],
|
|
"path": "/:index_name/_search"
|
|
},
|
|
{"name": "indices.search_shards", "methods": ["get", "post"],
|
|
"path": "/:index_name/_search_shards"
|
|
},
|
|
{"name": "indices.field_caps", "methods":["get", "post"],
|
|
"path": "/:index_name/_field_caps"
|
|
},
|
|
{"name": "indices.exists_template", "methods":["get"],
|
|
"path": "/_template/:name"
|
|
},
|
|
{"name": "indices.field_usage_stats", "methods":["get"],
|
|
"path": "/:index_name/_field_usage_stats"
|
|
},
|
|
{"name": "doc.*", "methods": ["*"],
|
|
"path": "/:index_name/:doctype"
|
|
},
|
|
{"name": "doc.update", "methods": ["put"],
|
|
"path": "/:index_name/:doctype/:doc_id"
|
|
},
|
|
{"name": "doc.update", "methods": ["post"],
|
|
"path": "/:index_name/_update/:doc_id"
|
|
},
|
|
{"name": "doc.create", "methods": ["post"],
|
|
"path": "/:index_name/:doctype"
|
|
},
|
|
{"name": "doc.create", "methods": ["post", "put"],
|
|
"path": "/:index_name/_create/:doc_id"
|
|
},
|
|
|
|
{"name": "doc.delete", "methods": ["delete"],
|
|
"path": "/:index_name/:doctype/:doc_id"
|
|
},
|
|
{"name": "doc.get", "methods": ["get"],
|
|
"path": "/:index_name/:doctype/:doc_id"
|
|
},
|
|
{"name": "doc.get", "methods": ["get"],
|
|
"path": "/:index_name/_source/:doc_id"
|
|
},
|
|
{"name": "doc.exists", "methods": ["head"],
|
|
"path": "/:index_name/:doctype/:doc_id"
|
|
},
|
|
{"name": "doc.exists_source", "methods": ["head"],
|
|
"path": "/:index_name/_source/:doc_id"
|
|
},
|
|
{"name": "doc.explain", "methods": ["get"],
|
|
"path": "/:index_name/_explain/:doc_id"
|
|
}
|
|
],
|
|
|
|
"ingest": [
|
|
{"name": "ingest.*", "methods": ["*"],
|
|
"path": "/_ingest/*"
|
|
},
|
|
{"name": "ingest.delete_pipeline", "methods": ["delete"],
|
|
"path": "/_ingest/pipeline"
|
|
},
|
|
{"name": "ingest.put_pipeline", "methods": ["put"],
|
|
"path": "/_ingest/pipeline"
|
|
},
|
|
{"name": "ingest.simulate", "methods": ["get", "post"],
|
|
"path": "/_ingest/pipeline/_simulate"
|
|
},
|
|
{"name": "ingest.put_pipeline", "methods": ["get"],
|
|
"path": "/_ingest/pipeline"
|
|
},
|
|
{"name": "ingest.processor_grok", "methods": ["get"],
|
|
"path": "/_ingest/processor/grok"
|
|
}
|
|
],
|
|
|
|
"nodes": [
|
|
{"name": "nodes.*", "methods": ["*"],
|
|
"path": "/_nodes/*"
|
|
},
|
|
{"name": "nodes.info", "methods": ["get"],
|
|
"path": "/_nodes"
|
|
},
|
|
{"name": "nodes.info", "methods": ["get"],
|
|
"path": "/_nodes/:node_id"
|
|
},
|
|
{"name": "nodes.stats", "methods": ["get"],
|
|
"path": "/_nodes/stats"
|
|
},
|
|
{"name": "nodes.reload_secure_settings", "methods": ["post"],
|
|
"path": "/_nodes/reload_secure_settings"
|
|
},
|
|
{"name": "nodes.usage", "methods": ["get"],
|
|
"path": "/_nodes/usage"
|
|
},
|
|
{"name": "nodes.hot_threads", "methods": ["get"],
|
|
"path": "/_nodes/hot_threads"
|
|
}
|
|
],
|
|
|
|
"reindex": [
|
|
{"name": "reindex.*", "methods": ["*"],
|
|
"path": "/_reindex/*"
|
|
},
|
|
{"name": "reindex", "methods": ["post"],
|
|
"path": "/_reindex"
|
|
},
|
|
{"name": "reindex.rethrottle", "methods": ["post"],
|
|
"path": "/_reindex/:rid/_rethrottle"
|
|
}
|
|
],
|
|
|
|
"render_search_template": [
|
|
{"name": "render_search_template.*", "methods": ["*"],
|
|
"path": "/_render/template"
|
|
},
|
|
{"name": "render_search_template", "methods": ["post", "get"],
|
|
"path": "/_render/template"
|
|
},
|
|
{"name": "render_search_template_by_id", "methods": ["post", "get"],
|
|
"path": "/_render/template/:tid"
|
|
}
|
|
],
|
|
"scripts": [
|
|
{"name": "scripts.*", "methods": ["*"],
|
|
"path": "/_scripts/:sid"
|
|
},
|
|
{"name": "scripts.get", "methods": ["get"],
|
|
"path": "/_scripts/:sid"
|
|
},
|
|
{"name": "scripts.put", "methods": ["put"],
|
|
"path": "/_scripts/:sid"
|
|
},
|
|
{"name": "scripts.delete", "methods": ["delete"],
|
|
"path": "/_scripts/:sid"
|
|
},
|
|
{"name": "scripts.painless_execute", "methods": ["get", "post"],
|
|
"path": "_scripts/painless/_execute"
|
|
}
|
|
],
|
|
|
|
"scroll": [
|
|
{"name": "scroll.*", "methods": ["*"],
|
|
"path": "/_search/scroll*"
|
|
},
|
|
{"name": "scroll.search", "methods": ["get", "post"],
|
|
"path": "/_search/scroll"
|
|
},
|
|
{"name": "scroll.delete", "methods": ["delete"],
|
|
"path": "/_search/scroll/:scroll_id"
|
|
},
|
|
{"name": "scroll.get", "methods": ["get"],
|
|
"path": "/_search/scroll/:scroll_id"
|
|
},
|
|
{"name": "scroll.create", "methods": ["post"],
|
|
"path": "/_search/scroll/:scroll_id"
|
|
}
|
|
],
|
|
|
|
"snapshot": [
|
|
{"name": "snapshot.*", "methods": ["*"],
|
|
"path": "/_snapshot/*"
|
|
},
|
|
{"name": "snapshot.get_repository", "methods": ["get"],
|
|
"path": "/_snapshot/:repo_name"
|
|
},
|
|
{"name": "snapshot.create_repository", "methods": ["post"],
|
|
"path": "/_snapshot/:repo_name"
|
|
},
|
|
{"name": "snapshot.create", "methods": ["post"],
|
|
"path": "/_snapshot/:repo_name/:snapshot_name"
|
|
},
|
|
{"name": "snapshot.restore", "methods": ["post"],
|
|
"path": "/_snapshot/:repo_name/:snapshot_name/_restore"
|
|
},
|
|
{"name": "snapshot.status", "methods": ["get"],
|
|
"path": "/_snapshot/_status"
|
|
},
|
|
{"name": "snapshot.delete", "methods": ["delete"],
|
|
"path": "/_snapshot/:repo_name/:snapshot_name"
|
|
},
|
|
{"name": "snapshot.delete_repository", "methods": ["delete"],
|
|
"path": "/_snapshot/:repo_name"
|
|
},
|
|
{"name": "snapshot.verify_repository", "methods": ["post"],
|
|
"path": "/_snapshot/:repo_name/_verify"
|
|
},
|
|
{"name": "snapshot.get", "methods": ["get"],
|
|
"path": "/_snapshot/:repo_name/:snapshot_name"
|
|
}
|
|
],
|
|
|
|
"tasks": [
|
|
{"name": "tasks.*", "methods": ["*"],
|
|
"path": "/_tasks/*"
|
|
},
|
|
{"name": "tasks.list", "methods": ["get"],
|
|
"path": "/_tasks"
|
|
},
|
|
{"name": "tasks.cancel", "methods": ["post"],
|
|
"path": "/_tasks/:task_id/_cancel"
|
|
},
|
|
{"name": "tasks.get", "methods": ["get"],
|
|
"path": "/_tasks/:task_id"
|
|
}
|
|
],
|
|
"sql": [
|
|
{"name": "sql.*", "methods": ["*"], "path": "/_sql/*"},
|
|
{"name": "sql.clear", "methods": ["post"], "path": "/_sql/close"},
|
|
{"name": "sql.get_async", "methods": ["get"], "path": "/_sql/async/:search_id"},
|
|
{"name": "sql.delete_async", "methods": ["delete"], "path": "/_sql/async/delete/:search_id"},
|
|
{"name": "sql.get_async_status", "methods": ["get"], "path": "/_sql/async/status/:search_id"},
|
|
{"name": "sql.search", "methods": ["get", "post"], "path": "/_sql"},
|
|
{"name": "sql.search", "methods": ["post"], "path": "/_plugins/_sql"},
|
|
{"name": "sql.translate", "methods": ["get", "post"], "path": "/_sql/translate"}
|
|
]
|
|
} |