OpenSearch/rest-api-spec/api
Brian Murphy 0d6fb1081a Hijack document APIs for .watches index
This change hijacks the document APIs for the .watches index and prevents direct access to these APIs via REST.
This hijacking is controlled by the "watcher.index.rest.direct_access" setting, this setting defaults to false which restricts access to the index. To allow direct access to the .watches index from the REST API set this setting to `true`
Copied json files from core es to test this feature and added comments to the json files indicating why they have been copied from es core.

Fixes elastic/elasticsearch#336

Original commit: elastic/x-pack-elasticsearch@22335750bd
2015-05-02 10:55:24 -04:00
..
bulk.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
cluster.health.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
delete.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
delete_by_query.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
get.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
index.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
info.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
update.json Hijack document APIs for .watches index 2015-05-02 10:55:24 -04:00
watcher.ack_watch.json Change the watch specific actions to reflect that they operate on watches. 2015-04-28 19:08:28 -04:00
watcher.delete_watch.json Change the watch specific actions to reflect that they operate on watches. 2015-04-28 19:08:28 -04:00
watcher.execute_watch.json Change the watch specific actions to reflect that they operate on watches. 2015-04-28 19:08:28 -04:00
watcher.get_watch.json Change the watch specific actions to reflect that they operate on watches. 2015-04-28 19:08:28 -04:00
watcher.info.json Change watcher REST API call namespace to be watcher. 2015-04-28 18:50:07 -04:00
watcher.put_watch.json [API] don't include global parameter pretty 2015-05-02 15:51:41 +02:00
watcher.restart.json Change watcher REST API call namespace to be watcher. 2015-04-28 18:50:07 -04:00
watcher.start.json Change watcher REST API call namespace to be watcher. 2015-04-28 18:50:07 -04:00
watcher.stats.json Change watcher REST API call namespace to be watcher. 2015-04-28 18:50:07 -04:00
watcher.stop.json Change watcher REST API call namespace to be watcher. 2015-04-28 18:50:07 -04:00