mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 14:35:04 +00:00
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
16 lines
275 B
JSON
16 lines
275 B
JSON
{
|
|
"info": {
|
|
"documentation": "This file is copied from es core because the REST test framework requires it",
|
|
"methods": ["GET"],
|
|
"url": {
|
|
"path": "/",
|
|
"paths": ["/"],
|
|
"parts": {
|
|
},
|
|
"params": {
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
}
|