29 lines
682 B
JSON
29 lines
682 B
JSON
{
|
|
"execute_watch": {
|
|
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-execute-watch.html",
|
|
"methods": [ "PUT", "POST" ],
|
|
"url": {
|
|
"path": "/_watcher/watch/{id}/_execute",
|
|
"paths": [ "/_watcher/watch/{id}/_execute" ],
|
|
"parts": {
|
|
"id": {
|
|
"type" : "string",
|
|
"description" : "Watch ID",
|
|
"required" : true
|
|
}
|
|
},
|
|
"params": {
|
|
"pretty": {
|
|
"type": "boolean",
|
|
"description": "Pretty the output",
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"description" : "Execution control",
|
|
"required" : false
|
|
}
|
|
}
|
|
}
|