OpenSearch/watcher/rest-api-spec/api/watcher.execute_watch.json

28 lines
732 B
JSON

{
"watcher.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", "/_watcher/watch/_execute" ],
"parts": {
"id": {
"type" : "string",
"description" : "Watch ID"
}
},
"params": {
"debug" : {
"type" : "boolean",
"description" : "indicates whether the watch should execute in debug mode",
"required" : false
}
}
},
"body": {
"description" : "Execution control",
"required" : false
}
}
}