OpenSearch/rest-api-spec/api
Boaz Leskes 4f8ddd97bf [Rest] reroute API response didn't filter metadata
By default the reroute API should return the new cluster state, excluding the metadata. It was however it was wrongly using an old parameter (filter_metadata) and thus failed to do so. This commits restores but wiring it to the correct `metric` parameter. We also add an enum representing the possible metrics, to avoid similar future mistakes.

Closes #7520
Closes #7523
2014-09-10 14:48:06 +02:00
..
abort_benchmark.json [SPEC] Renamed benchmark endpoints 2014-04-22 19:14:26 +02:00
benchmark.json [SPEC] Renamed benchmark endpoints 2014-04-22 19:14:26 +02:00
bulk.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cat.aliases.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.allocation.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.count.json [SPEC] Added missing cat endpoints. count and recovery 2014-01-16 22:09:48 +01:00
cat.fielddata.json [DOCS] clarify /_cat/fielddata REST api documentation 2014-07-23 16:18:37 +02:00
cat.health.json [SPEC] Added missing cat endpoints. count and recovery 2014-01-16 22:09:48 +01:00
cat.help.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.indices.json [SPEC] Added missing cat endpoints. count and recovery 2014-01-16 22:09:48 +01:00
cat.master.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.nodes.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.pending_tasks.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.plugins.json Add _cat/plugins endpoint 2014-03-16 12:16:09 +01:00
cat.recovery.json Recovery API 2014-03-20 10:13:30 -07:00
cat.shards.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.thread_pool.json [TEST] Added REST tests for _cat/thread_pool endpoint 2014-02-10 16:20:03 +01:00
clear_scroll.json [SPEC] Added path without scroll_id to clear_scroll 2014-04-22 19:38:55 +02:00
cluster.get_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.health.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.pending_tasks.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.put_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.reroute.json [Rest] reroute API response didn't filter metadata 2014-09-10 14:48:06 +02:00
cluster.state.json Cluster State API: Remove index template filtering 2014-05-05 14:54:14 +02:00
cluster.stats.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
count.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
count_percolate.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
delete.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
delete_by_query.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
delete_script.json Indexed scripts: make sure headers are handed over to internal requests and streamline versioning support 2014-09-04 16:00:32 +02:00
delete_template.json Indexed scripts: make sure headers are handed over to internal requests and streamline versioning support 2014-09-04 16:00:32 +02:00
exists.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
explain.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
get.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
get_script.json Indexed scripts: make sure headers are handed over to internal requests and streamline versioning support 2014-09-04 16:00:32 +02:00
get_source.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
get_template.json Indexed scripts: make sure headers are handed over to internal requests and streamline versioning support 2014-09-04 16:00:32 +02:00
index.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
indices.analyze.json Added char_filters param to indices.analyze spec 2014-05-05 18:07:50 +02:00
indices.clear_cache.json REST spec: Added missing query_cache param to clear_cache, nodes.stats and indices.stats 2014-08-06 13:32:33 +02:00
indices.close.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.create.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_warmer.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists_type.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.flush.json Add `wait_if_ongoing` option to _flush requests 2014-07-24 15:34:53 +02:00
indices.get_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_aliases.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_field_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_warmer.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.open.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.optimize.json Add an option to force _optimize operations. 2014-03-14 18:21:56 +01:00
indices.put_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.put_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.put_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.put_template.json Put index template api: unified PUT/POST behaviour in relation to create parameter 2014-06-06 15:45:05 +02:00
indices.put_warmer.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.recovery.json Recovery API 2014-03-20 10:13:30 -07:00
indices.refresh.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.segments.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.stats.json REST spec: Added missing query_cache param to clear_cache, nodes.stats and indices.stats 2014-08-06 13:32:33 +02:00
indices.update_aliases.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.validate_query.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
info.json [SPEC] Separated info.json into info and ping.json (GET vs HEAD) 2014-01-16 17:07:47 +01:00
list_benchmarks.json [SPEC] Renamed benchmark endpoints 2014-04-22 19:14:26 +02:00
mget.json Revert mget yaml test changes 2014-01-27 11:28:32 +01:00
mlt.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
mpercolate.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
msearch.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
mtermvectors.json [SPEC] Renamed termvectors.* to termvector and mtermvectors 2014-01-21 16:31:50 +01:00
nodes.hot_threads.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
nodes.info.json Migrating NodesInfo API to use plugins instead of singular plugin 2014-02-11 10:05:10 +01:00
nodes.shutdown.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
nodes.stats.json REST spec: Added missing query_cache param to clear_cache, nodes.stats and indices.stats 2014-08-06 13:32:33 +02:00
percolate.json [SPEC] Added the `percolator_format` URL parameter to the "Percolate" API spec 2014-05-23 18:26:17 +02:00
ping.json [SPEC] Fixed bad name in ping.json 2014-01-16 19:54:25 +01:00
put_script.json Indexed scripts: make sure headers are handed over to internal requests and streamline versioning support 2014-09-04 16:00:32 +02:00
put_template.json Indexed scripts: make sure headers are handed over to internal requests and streamline versioning support 2014-09-04 16:00:32 +02:00
scroll.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
search.json [Query Cache] Add a request level flag to control query cache 2014-08-05 18:28:49 +02:00
search_exists.json Search Exists API: Checks if any matching documents exist for a given query 2014-07-31 15:42:30 -04:00
search_shards.json Add REST API spec for /_search_shards endpoint 2014-04-23 13:29:29 -06:00
search_template.json Made template endpoint compatible with search endpoint 2014-04-03 00:01:30 +02:00
snapshot.create.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.create_repository.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.delete.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.delete_repository.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.get.json [SPEC] Fix cardinality of the repository parameter in get snapshot action 2014-01-20 12:56:32 -05:00
snapshot.get_repository.json Added base Request class for read operations that usually happen on the master but can be executed locally. 2014-01-20 12:35:48 +01:00
snapshot.restore.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.status.json Add ability to get snapshot status for running snapshots 2014-03-17 20:13:49 -04:00
suggest.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
termvector.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
update.json Update API enhancement - add support for scripted upserts. 2014-08-05 16:52:44 +01:00