Start watch service API
Start watch service API
New API reference
For the most up-to-date API details, refer to Watcher APIs.
Starts the Watcher service if it is not already running.
Request
POST _watcher/_start
Prerequisites
- You must have
manage_watcher
cluster privileges to use this API. For more information, see Security privileges.
Examples
resp = client.watcher.start()
print(resp)
response = client.watcher.start
puts response
const response = await client.watcher.start();
console.log(response);
POST _watcher/_start
Watcher returns the following response if the request is successful:
{
"acknowledged": true
}
当前内容版权归 elasticsearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 elasticsearch .