[SETUP] Added the generated JSON skeleton files

Files were generated with the `thor api:generate:spec --force --verbose --crawl` command,
and based on the 0.90 branch (elasticsearch/elasticsearch@5ec4064).
This commit is contained in:
Karel Minarik 2013-05-24 12:02:42 +02:00
parent 3f8a861768
commit a55750dd70
53 changed files with 1594 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{
"bulk": {
"documentation": "http://elasticsearch.org/guide/reference/api/bulk/",
"methods": ["POST", "PUT"],
"url": {
"path": "/_bulk",
"paths": ["/_bulk", "/{index}/_bulk", "/{index}/{type}/_bulk"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"type": {
},
"replication": {
},
"consistency": {
},
"refresh": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,35 @@
{
"cluster.health": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-health/",
"methods": ["GET"],
"url": {
"path": "/_cluster/health",
"paths": ["/_cluster/health", "/_cluster/health/{index}"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"local": {
},
"master_timeout": {
},
"timeout": {
},
"wait_for_status": {
},
"wait_for_relocating_shards": {
},
"wait_for_active_shards": {
},
"wait_for_nodes": {
},
"level": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,25 @@
{
"cluster.node.hotthreads": {
"documentation": "",
"methods": ["GET"],
"url": {
"path": "/_cluster/nodes/hotthreads",
"paths": ["/_cluster/nodes/hotthreads", "/_cluster/nodes/hot_threads", "/_cluster/nodes/{nodeId}/hotthreads", "/_cluster/nodes/{nodeId}/hot_threads", "/_nodes/hotthreads", "/_nodes/hot_threads", "/_nodes/{nodeId}/hotthreads", "/_nodes/{nodeId}/hot_threads"],
"parts": {
"nodeId": {
}
},
"params": {
"threads": {
},
"type": {
},
"interval": {
},
"snapshots": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,39 @@
{
"cluster.node.info": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-info/",
"methods": ["GET"],
"url": {
"path": "/_cluster/nodes",
"paths": ["/_cluster/nodes", "/_cluster/nodes/{nodeId}", "/_nodes", "/_nodes/{nodeId}", "/_nodes/settings", "/_nodes/{nodeId}/settings", "/_nodes/os", "/_nodes/{nodeId}/os", "/_nodes/process", "/_nodes/{nodeId}/process", "/_nodes/jvm", "/_nodes/{nodeId}/jvm", "/_nodes/thread_pool", "/_nodes/{nodeId}/thread_pool", "/_nodes/network", "/_nodes/{nodeId}/network", "/_nodes/transport", "/_nodes/{nodeId}/transport", "/_nodes/http", "/_nodes/{nodeId}/http", "/_nodes/plugin", "/_nodes/{nodeId}/plugin"],
"parts": {
"nodeId": {
}
},
"params": {
"clear": {
},
"all": {
},
"settings": {
},
"os": {
},
"process": {
},
"jvm": {
},
"thread_pool": {
},
"network": {
},
"transport": {
},
"http": {
},
"plugin": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,19 @@
{
"cluster.node.restart": {
"documentation": "",
"methods": ["POST"],
"url": {
"path": "/_cluster/nodes/_restart",
"paths": ["/_cluster/nodes/_restart", "/_cluster/nodes/{nodeId}/_restart"],
"parts": {
"nodeId": {
}
},
"params": {
"delay": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,21 @@
{
"cluster.node.shutdown": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-shutdown/",
"methods": ["POST"],
"url": {
"path": "/_shutdown",
"paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{nodeId}/_shutdown"],
"parts": {
"nodeId": {
}
},
"params": {
"delay": {
},
"exit": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,43 @@
{
"cluster.node.stats": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-stats/",
"methods": ["GET"],
"url": {
"path": "/_cluster/nodes/stats",
"paths": ["/_cluster/nodes/stats", "/_cluster/nodes/{nodeId}/stats", "/_nodes/stats", "/_nodes/{nodeId}/stats", "/_nodes/stats/indices", "/_nodes/{nodeId}/stats/indices", "/_nodes/indices/stats", "/_nodes/{nodeId}/indices/stats", "/_nodes/indices/\" + flag.getRestName() + \"/stats", "/_nodes/{nodeId}/indices/\" + flag.getRestName() + \"/stats", "/_nodes/stats/indices/\" + flag.getRestName() + \"/{fields}", "/_nodes/{nodeId}/stats/indices/\" + flag.getRestName() + \"/{fields}", "/_nodes/indices/\" + flag.getRestName() + \"/{fields}/stats", "/_nodes/{nodeId}/indices/\" + flag.getRestName() + \"/{fields}/stats", "/_nodes/stats/os", "/_nodes/{nodeId}/stats/os", "/_nodes/os/stats", "/_nodes/{nodeId}/os/stats", "/_nodes/stats/process", "/_nodes/{nodeId}/stats/process", "/_nodes/process/stats", "/_nodes/{nodeId}/process/stats", "/_nodes/stats/jvm", "/_nodes/{nodeId}/stats/jvm", "/_nodes/jvm/stats", "/_nodes/{nodeId}/jvm/stats", "/_nodes/stats/thread_pool", "/_nodes/{nodeId}/stats/thread_pool", "/_nodes/thread_pool/stats", "/_nodes/{nodeId}/thread_pool/stats", "/_nodes/stats/network", "/_nodes/{nodeId}/stats/network", "/_nodes/network/stats", "/_nodes/{nodeId}/network/stats", "/_nodes/stats/fs", "/_nodes/{nodeId}/stats/fs", "/_nodes/fs/stats", "/_nodes/{nodeId}/fs/stats", "/_nodes/stats/transport", "/_nodes/{nodeId}/stats/transport", "/_nodes/transport/stats", "/_nodes/{nodeId}/transport/stats", "/_nodes/stats/http", "/_nodes/{nodeId}/stats/http", "/_nodes/http/stats", "/_nodes/{nodeId}/http/stats"],
"parts": {
"nodeId": {
},
"fields": {
}
},
"params": {
"clear": {
},
"all": {
},
"indices": {
},
"os": {
},
"process": {
},
"jvm": {
},
"thread_pool": {
},
"network": {
},
"fs": {
},
"transport": {
},
"http": {
},
"fields": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,20 @@
{
"cluster.reroute": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-reroute/",
"methods": ["POST"],
"url": {
"path": "/_cluster/reroute",
"paths": ["/_cluster/reroute"],
"parts": {
},
"params": {
"dry_run": {
},
"filter_metadata": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,15 @@
{
"cluster.settings": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-update-settings/",
"methods": ["GET", "PUT"],
"url": {
"path": "/_cluster/settings",
"paths": ["/_cluster/settings"],
"parts": {
},
"params": {
}
},
"body": null
}
}

View File

@ -0,0 +1,31 @@
{
"cluster.shards": {
"documentation": "",
"methods": ["GET", "POST"],
"url": {
"path": "/_search_shards",
"paths": ["/_search_shards", "/{index}/_search_shards", "/{index}/{type}/_search_shards"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"local": {
},
"type": {
},
"routing": {
},
"preference": {
},
"ignore_indices": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,31 @@
{
"cluster.state": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-state/",
"methods": ["GET"],
"url": {
"path": "/_cluster/state",
"paths": ["/_cluster/state"],
"parts": {
},
"params": {
"master_timeout": {
},
"filter_nodes": {
},
"filter_routing_table": {
},
"filter_metadata": {
},
"filter_blocks": {
},
"filter_indices": {
},
"filter_index_templates": {
},
"local": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,36 @@
{
"count": {
"documentation": "http://elasticsearch.org/guide/reference/api/count/",
"methods": ["POST", "GET"],
"url": {
"path": "/_count",
"paths": ["/_count", "/{index}/_count", "/{index}/{type}/_count"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"operation_threading": {
},
"source": {
},
"routing": {
},
"min_score": {
},
"type": {
},
"preference": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,37 @@
{
"delete": {
"documentation": "http://elasticsearch.org/guide/reference/api/delete/",
"methods": ["DELETE"],
"url": {
"path": "/{index}/{type}/{id}",
"paths": ["/{index}/{type}/{id}"],
"parts": {
"index": {
},
"type": {
},
"id": {
}
},
"params": {
"id": {
},
"parent": {
},
"routing": {
},
"timeout": {
},
"refresh": {
},
"version_type": {
},
"replication": {
},
"consistency": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,36 @@
{
"deletebyquery": {
"documentation": "",
"methods": ["DELETE"],
"url": {
"path": "/{index}/_query",
"paths": ["/{index}/_query", "/{index}/{type}/_query"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"source": {
},
"type": {
},
"timeout": {
},
"routing": {
},
"replication": {
},
"consistency": {
},
"ignore_indices": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,48 @@
{
"explain": {
"documentation": "http://elasticsearch.org/guide/reference/api/explain/",
"methods": ["GET", "POST"],
"url": {
"path": "/{index}/{type}/{id}/_explain",
"paths": ["/{index}/{type}/{id}/_explain"],
"parts": {
"index": {
},
"type": {
},
"id": {
}
},
"params": {
"id": {
},
"parent": {
},
"routing": {
},
"preference": {
},
"source": {
},
"q": {
},
"df": {
},
"analyzer": {
},
"analyze_wildcard": {
},
"lowercase_expanded_terms": {
},
"lenient": {
},
"default_operator": {
},
"fields": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,37 @@
{
"get": {
"documentation": "http://elasticsearch.org/guide/reference/api/get/",
"methods": ["GET", "HEAD", "POST"],
"url": {
"path": "/{index}/{type}/{id}",
"paths": ["/{index}/{type}/{id}", "/{index}/{type}/{id}/_source", "/_mget", "/{index}/_mget", "/{index}/{type}/_mget"],
"parts": {
"index": {
},
"type": {
},
"id": {
}
},
"params": {
"id": {
},
"refresh": {
},
"routing": {
},
"parent": {
},
"preference": {
},
"realtime": {
},
"fields": {
},
"type": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,45 @@
{
"index": {
"documentation": "http://elasticsearch.org/guide/reference/api/index_/",
"methods": ["POST", "PUT"],
"url": {
"path": "/{index}/{type}",
"paths": ["/{index}/{type}", "/{index}/{type}/{id}", "/{index}/{type}/{id}/_create"],
"parts": {
"index": {
},
"type": {
},
"id": {
}
},
"params": {
"op_type": {
},
"id": {
},
"routing": {
},
"parent": {
},
"timestamp": {
},
"ttl": {
},
"timeout": {
},
"refresh": {
},
"version_type": {
},
"percolate": {
},
"replication": {
},
"consistency": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,25 @@
{
"indices.alias.delete": {
"documentation": "",
"methods": ["DELETE"],
"url": {
"path": "/{index}/_alias/{name}",
"paths": ["/{index}/_alias/{name}"],
"parts": {
"index": {
},
"name": {
}
},
"params": {
"index": {
},
"name": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,25 @@
{
"indices.alias.get": {
"documentation": "",
"methods": ["GET"],
"url": {
"path": "/_alias/{name}",
"paths": ["/_alias/{name}", "/{index}/_alias/{name}"],
"parts": {
"name": {
},
"index": {
}
},
"params": {
"name": {
},
"index": {
},
"ignore_indices": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,21 @@
{
"indices.alias": {
"documentation": "",
"methods": ["GET", "POST"],
"url": {
"path": "/_aliases",
"paths": ["/_aliases", "/{index}/_aliases"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,26 @@
{
"indices.alias.put": {
"documentation": "",
"methods": ["PUT"],
"url": {
"path": "/{index}/_alias/{name}",
"paths": ["/{index}/_alias/{name}", "/_alias/{name}", "/{index}/_alias", "/_alias"],
"parts": {
"index": {
},
"name": {
}
},
"params": {
"index": {
},
"name": {
},
"timeout": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,32 @@
{
"indices.analyze": {
"documentation": "",
"methods": ["GET", "POST"],
"url": {
"path": "/_analyze",
"paths": ["/_analyze", "/{index}/_analyze"],
"parts": {
"index": {
}
},
"params": {
"text": {
},
"index": {
},
"prefer_local": {
},
"analyzer": {
},
"field": {
},
"tokenizer": {
},
"filters": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,39 @@
{
"indices.cache.clear": {
"documentation": "",
"methods": ["POST", "GET"],
"url": {
"path": "/_cache/clear",
"paths": ["/_cache/clear", "/{index}/_cache/clear"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"filter": {
},
"filter_cache": {
},
"field_data": {
},
"fielddata": {
},
"id": {
},
"id_cache": {
},
"recycler": {
},
"fields": {
},
"filter_keys": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,21 @@
{
"indices.close": {
"documentation": "",
"methods": ["POST"],
"url": {
"path": "/{index}/_close",
"paths": ["/{index}/_close"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,22 @@
{
"indices.create": {
"documentation": "http://elasticsearch.org/guide/reference/mapping/",
"methods": ["PUT", "POST"],
"url": {
"path": "/{index}",
"paths": ["/{index}"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"timeout": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,21 @@
{
"indices.delete": {
"documentation": "",
"methods": ["DELETE"],
"url": {
"path": "/",
"paths": ["/", "/{index}"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,19 @@
{
"indices.exists.indices": {
"documentation": "",
"methods": ["HEAD"],
"url": {
"path": "/{index}",
"paths": ["/{index}"],
"parts": {
"index": {
}
},
"params": {
"index": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,23 @@
{
"indices.exists.types": {
"documentation": "",
"methods": ["HEAD"],
"url": {
"path": "/{index}/{type}",
"paths": ["/{index}/{type}"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"type": {
},
"ignore_indices": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,27 @@
{
"indices.flush": {
"documentation": "",
"methods": ["POST", "GET"],
"url": {
"path": "/_flush",
"paths": ["/_flush", "/{index}/_flush"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"refresh": {
},
"full": {
},
"force": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,21 @@
{
"indices.gateway.snapshot": {
"documentation": "",
"methods": ["POST"],
"url": {
"path": "/_gateway/snapshot",
"paths": ["/_gateway/snapshot", "/{index}/_gateway/snapshot"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,23 @@
{
"indices.mapping.delete": {
"documentation": "",
"methods": ["DELETE"],
"url": {
"path": "/{index}/{type}/_mapping",
"paths": ["/{index}/{type}/_mapping", "/{index}/{type}"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"type": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,23 @@
{
"indices.mapping.get": {
"documentation": "",
"methods": ["GET"],
"url": {
"path": "/_mapping",
"paths": ["/_mapping", "/{index}/_mapping", "/{index}/{type}/_mapping"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"type": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,27 @@
{
"indices.mapping.put": {
"documentation": "",
"methods": ["PUT", "POST"],
"url": {
"path": "/{index}/_mapping",
"paths": ["/{index}/_mapping", "/{index}/{type}/_mapping"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"type": {
},
"timeout": {
},
"ignore_conflicts": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,21 @@
{
"indices.open": {
"documentation": "",
"methods": ["POST"],
"url": {
"path": "/{index}/_open",
"paths": ["/{index}/_open"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,33 @@
{
"indices.optimize": {
"documentation": "",
"methods": ["POST", "GET"],
"url": {
"path": "/_optimize",
"paths": ["/_optimize", "/{index}/_optimize"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"wait_for_merge": {
},
"max_num_segments": {
},
"only_expunge_deletes": {
},
"flush": {
},
"refresh": {
},
"operation_threading": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,23 @@
{
"indices.refresh": {
"documentation": "",
"methods": ["POST", "GET"],
"url": {
"path": "/_refresh",
"paths": ["/_refresh", "/{index}/_refresh"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"operation_threading": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,23 @@
{
"indices.segments": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-segments/",
"methods": ["GET"],
"url": {
"path": "/_segments",
"paths": ["/_segments", "/{index}/_segments"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"operation_threading": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,19 @@
{
"indices.settings": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-delete-index/",
"methods": ["GET", "PUT"],
"url": {
"path": "/_settings",
"paths": ["/_settings", "/{index}/_settings"],
"parts": {
"index": {
}
},
"params": {
"index": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,65 @@
{
"indices.stats": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-stats/",
"methods": ["GET"],
"url": {
"path": "/_stats",
"paths": ["/_stats", "/{index}/_stats", "_stats/docs", "/{index}/_stats/docs", "/_stats/store", "/{index}/_stats/store", "/_stats/indexing", "/{index}/_stats/indexing", "/_stats/indexing/{indexingTypes1}", "/{index}/_stats/indexing/{indexingTypes2}", "/_stats/search", "/{index}/_stats/search", "/_stats/search/{searchGroupsStats1}", "/{index}/_stats/search/{searchGroupsStats2}", "/_stats/get", "/{index}/_stats/get", "/_stats/refresh", "/{index}/_stats/refresh", "/_stats/merge", "/{index}/_stats/merge", "/_stats/flush", "/{index}/_stats/flush", "/_stats/warmer", "/{index}/_stats/warmer", "/_stats/filter_cache", "/{index}/_stats/filter_cache", "/_stats/id_cache", "/{index}/_stats/id_cache", "/_stats/fielddata", "/{index}/_stats/fielddata", "/_stats/fielddata/{fields}", "/{index}/_stats/fielddata/{fields}"],
"parts": {
"index": {
},
"indexingTypes1": {
},
"indexingTypes2": {
},
"searchGroupsStats1": {
},
"searchGroupsStats2": {
},
"fields": {
}
},
"params": {
"ignore_indices": {
},
"clear": {
},
"all": {
},
"index": {
},
"types": {
},
"groups": {
},
"docs": {
},
"store": {
},
"indexing": {
},
"search": {
},
"get": {
},
"merge": {
},
"refresh": {
},
"flush": {
},
"warmer": {
},
"filter_cache": {
},
"id_cache": {
},
"fielddata": {
},
"fields": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,27 @@
{
"indices.status": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-status/",
"methods": ["GET"],
"url": {
"path": "/_status",
"paths": ["/_status", "/{index}/_status"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"recovery": {
},
"snapshot": {
},
"operation_threading": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,21 @@
{
"indices.template.delete": {
"documentation": "",
"methods": ["DELETE"],
"url": {
"path": "/_template/{name}",
"paths": ["/_template/{name}"],
"parts": {
"name": {
}
},
"params": {
"name": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,19 @@
{
"indices.template.get": {
"documentation": "",
"methods": ["GET"],
"url": {
"path": "/_template/{name}",
"paths": ["/_template/{name}"],
"parts": {
"name": {
}
},
"params": {
"name": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,29 @@
{
"indices.template.put": {
"documentation": "",
"methods": ["PUT", "POST"],
"url": {
"path": "/_template/{name}",
"paths": ["/_template/{name}"],
"parts": {
"name": {
}
},
"params": {
"create": {
},
"name": {
},
"template": {
},
"order": {
},
"cause": {
},
"timeout": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,32 @@
{
"indices.validate.query": {
"documentation": "",
"methods": ["GET", "POST"],
"url": {
"path": "/_validate/query",
"paths": ["/_validate/query", "/{index}/_validate/query", "/{index}/{type}/_validate/query"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"operation_threading": {
},
"source": {
},
"type": {
},
"explain": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,25 @@
{
"indices.warmer.delete": {
"documentation": "",
"methods": ["DELETE"],
"url": {
"path": "/{index}/_warmer",
"paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
"parts": {
"index": {
},
"name": {
},
"type": {
}
},
"params": {
"name": {
},
"index": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,25 @@
{
"indices.warmer.get": {
"documentation": "",
"methods": ["GET"],
"url": {
"path": "/{index}/_warmer",
"paths": ["/{index}/_warmer", "/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
"parts": {
"index": {
},
"name": {
},
"type": {
}
},
"params": {
"index": {
},
"name": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,27 @@
{
"indices.warmer.put": {
"documentation": "",
"methods": ["PUT"],
"url": {
"path": "/{index}/_warmer/{name}",
"paths": ["/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
"parts": {
"index": {
},
"name": {
},
"type": {
}
},
"params": {
"name": {
},
"index": {
},
"type": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,15 @@
{
"main": {
"documentation": "",
"methods": ["GET", "HEAD"],
"url": {
"path": "/",
"paths": ["/"],
"parts": {
},
"params": {
}
},
"body": null
}
}

View File

@ -0,0 +1,62 @@
{
"mlt": {
"documentation": "http://elasticsearch.org/guide/reference/api/more-like-this/",
"methods": ["GET", "POST"],
"url": {
"path": "/{index}/{type}/{id}/_mlt",
"paths": ["/{index}/{type}/{id}/_mlt"],
"parts": {
"index": {
},
"type": {
},
"id": {
}
},
"params": {
"id": {
},
"routing": {
},
"mlt_fields": {
},
"percent_terms_to_match": {
},
"min_term_freq": {
},
"max_query_terms": {
},
"stop_words": {
},
"min_doc_freq": {
},
"max_doc_freq": {
},
"min_word_len": {
},
"max_word_len": {
},
"boost_terms": {
},
"search_type": {
},
"search_indices": {
},
"search_types": {
},
"search_query_hint": {
},
"search_size": {
},
"search_from": {
},
"search_scroll": {
},
"search_source": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,23 @@
{
"percolate": {
"documentation": "http://elasticsearch.org/guide/reference/api/percolate/",
"methods": ["GET", "POST"],
"url": {
"path": "/{index}/{type}/_percolate",
"paths": ["/{index}/{type}/_percolate"],
"parts": {
"index": {
},
"type": {
}
},
"params": {
"type": {
},
"prefer_local": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,81 @@
{
"search": {
"documentation": "http://elasticsearch.org/guide/reference/api/search/scroll/",
"methods": ["GET", "POST"],
"url": {
"path": "/_msearch",
"paths": ["/_msearch", "/{index}/_msearch", "/{index}/{type}/_msearch", "/_search", "/{index}/_search", "/{index}/{type}/_search", "/_search/scroll", "/_search/scroll/{scroll_id}"],
"parts": {
"index": {
},
"type": {
},
"scroll_id": {
}
},
"params": {
"index": {
},
"type": {
},
"ignore_indices": {
},
"search_type": {
},
"operation_threading": {
},
"source": {
},
"scroll": {
},
"routing": {
},
"preference": {
},
"q": {
},
"df": {
},
"analyzer": {
},
"analyze_wildcard": {
},
"lowercase_expanded_terms": {
},
"lenient": {
},
"default_operator": {
},
"from": {
},
"size": {
},
"explain": {
},
"version": {
},
"timeout": {
},
"fields": {
},
"sort": {
},
"indices_boost": {
},
"stats": {
},
"suggest_field": {
},
"suggest_text": {
},
"suggest_size": {
},
"suggest_mode": {
},
"scroll_id": {
}
}
},
"body": null
}
}

View File

@ -0,0 +1,30 @@
{
"suggest": {
"documentation": "http://elasticsearch.org/guide/reference/api/search/suggest/",
"methods": ["POST", "GET"],
"url": {
"path": "/_suggest",
"paths": ["/_suggest", "/{index}/_suggest"],
"parts": {
"index": {
}
},
"params": {
"index": {
},
"ignore_indices": {
},
"operation_threading": {
},
"source": {
},
"routing": {
},
"preference": {
}
}
},
"body": {
}
}
}

View File

@ -0,0 +1,52 @@
{
"update": {
"documentation": "http://elasticsearch.org/guide/reference/api/update/",
"methods": ["POST"],
"url": {
"path": "/{index}/{type}/{id}/_update",
"paths": ["/{index}/{type}/{id}/_update"],
"parts": {
"index": {
},
"type": {
},
"id": {
}
},
"params": {
"id": {
},
"routing": {
},
"parent": {
},
"timeout": {
},
"refresh": {
},
"replication": {
},
"consistency": {
},
"percolate": {
},
"script": {
},
"lang": {
},
"fields": {
},
"retry_on_conflict": {
},
"timestamp": {
},
"ttl": {
},
"version_type": {
}
}
},
"body": {
}
}
}