mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 05:28:34 +00:00
Confirmed with @debadair, going ahead with merge Original commit: elastic/x-pack-elasticsearch@c510ddfe9e
22 lines
516 B
Plaintext
22 lines
516 B
Plaintext
[[watcher-api-restart]]
|
|
=== Restart API
|
|
|
|
The `restart` API stops, then starts the {watcher} service, as in the
|
|
following example:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
POST _xpack/watcher/_restart
|
|
--------------------------------------------------
|
|
// CONSOLE
|
|
|
|
{watcher} returns the following response if the request is successful:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
{
|
|
"acknowledged": true
|
|
}
|
|
--------------------------------------------------
|
|
// TESTRESPONSE
|