Start the watch service

POST /_watcher/_start

Start the Watcher service if it is not already running.

Query parameters

  • Period to wait for a connection to the master node.

    Values are -1 or 0.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

POST /_watcher/_start
POST _watcher/_start
curl \
 --request POST 'http://api.example.com/_watcher/_start' \
 --header "Authorization: $API_KEY"
Response examples (200)
A successful response from `POST _watcher/_start`.
{
  "acknowledged": true
}