26 lines
790 B
JSON
26 lines
790 B
JSON
{
|
|
"watcher.stats": {
|
|
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-stats.html",
|
|
"methods": [ "GET" ],
|
|
"url": {
|
|
"path": "/_watcher/stats",
|
|
"paths": [ "/_watcher/stats", "/_watcher/stats/{metric}" ],
|
|
"parts": {
|
|
"metric": {
|
|
"type" : "enum",
|
|
"options" : ["_all", "queued_watches", "pending_watches"],
|
|
"description" : "Controls what additional stat metrics should be include in the response"
|
|
}
|
|
},
|
|
"params": {
|
|
"metric": {
|
|
"type" : "enum",
|
|
"options" : ["_all", "queued_watches", "pending_watches"],
|
|
"description" : "Controls what additional stat metrics should be include in the response"
|
|
}
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
}
|