OpenSearch/rest-api-spec/api
javanna 4e94be8a37 [TEST] Introduce basic validation of our REST spec
Whenever we have an api that supports GET with a body, we always support the POST method too, as well as providing the body as a query_string parameter called `source`. Our REST spec should reflect this convention. FIxed them and introduced a hard check at parse time in our Java REST tests runner, which will cause the tests to fail if spec are not compliant.

Closes #9629
2015-02-12 22:25:17 +11: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 typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 18:55:57 +01:00
cat.aliases.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.allocation.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.count.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.fielddata.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.health.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.help.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.indices.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.master.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.nodes.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.pending_tasks.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.plugins.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.recovery.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.segments.json [TEST] Add missing docs and tests for '_cat/segments' 2015-01-09 12:29:11 +01:00
cat.shards.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00:00
cat.thread_pool.json Default _cat APIs to verbose 2014-12-15 12:51:59 +00: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 API endpoint cluster.put_settings accepts timeout & master_timeout query parameters 2014-12-04 09:14:20 +01:00
cluster.reroute.json [Rest] reroute API response didn't filter metadata 2014-09-10 14:48:06 +02:00
cluster.state.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
cluster.stats.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
count.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
count_percolate.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
delete.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
delete_by_query.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +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 Spec: Fixes a few locations of the params array in JSON specification 2014-11-24 20:43:33 +01: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 [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
indices.clear_cache.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.close.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.create.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete.json Rest API: indices.delete should have "index" as a required param 2014-11-10 17:06:43 +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 Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.exists_alias.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +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 Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.flush.json [ENGINE] Remove full flush / FlushType.NEW_WRITER 2015-02-04 17:38:05 +01:00
indices.get.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.get_alias.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +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 Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.get_mapping.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.get_settings.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.get_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_upgrade.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.get_warmer.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.open.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.optimize.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.put_alias.json Tests: Refixed the put_alias tests 2014-10-28 13:39:05 +01:00
indices.put_mapping.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.put_settings.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +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 Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.recovery.json Recovery API 2014-03-20 10:13:30 -07:00
indices.refresh.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.segments.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +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.upgrade.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
indices.validate_query.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +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 [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
mlt.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
mpercolate.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
msearch.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
mtermvectors.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
nodes.hot_threads.json Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05: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 [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11: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 Spec: Fixes a few locations of the params array in JSON specification 2014-11-24 20:43:33 +01:00
scroll.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
search.json Closes #9398 2015-01-23 18:06:12 +01:00
search_exists.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
search_shards.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
search_template.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
snapshot.create.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.create_repository.json [SNAPSHOT] Add repository validation 2014-10-07 10:50:16 -04: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
snapshot.verify_repository.json [SNAPSHOT] Add repository validation 2014-10-07 10:50:16 -04:00
suggest.json Changed all rest-spec definitions of expand_wildcards to be an enum 2015-01-23 16:05:59 +01:00
termvectors.json [TEST] Introduce basic validation of our REST spec 2015-02-12 22:25:17 +11:00
update.json Removed parent parameter from update request, because it is just sets the routing. 2015-01-07 10:26:20 +01:00