mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
This change adds support for testing all watcher REST endpoints. It also updates the api docs to be current with the latest code. Change GetWatchResponse to only have the information in needs GetWatchResponse used to contain a GetResponse this is not needed. Now it just contains the needed fields. Closes elastic/elasticsearch#35 Original commit: elastic/x-pack-elasticsearch@905c5da318
26 lines
582 B
JSON
26 lines
582 B
JSON
{
|
|
"delete_watch": {
|
|
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-delete-watch.html",
|
|
"methods": [ "DELETE" ],
|
|
"url": {
|
|
"path": "/_watcher/watch/{id}",
|
|
"paths": [ "/_watcher/watch/{id}" ],
|
|
"parts": {
|
|
"id": {
|
|
"type" : "string",
|
|
"description" : "Watch ID",
|
|
"required" : true
|
|
}
|
|
},
|
|
"params": {
|
|
"pretty": {
|
|
"type": "boolean",
|
|
"description": "Pretty the output",
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
}
|