OpenSearch/rest-api-spec/api/get_watch.json

26 lines
573 B
JSON

{
"get_watch": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-get-watch.html",
"methods": [ "GET" ],
"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
}
}