Lisa Cawley b9a7dcdcc4 [DOCS] Move watcher APIs to Elasticsearch Ref ()
* [DOCS] Move watcher APIs to Elasticsearch Ref

* [DOCS] Update links to Watcher APIs

Original commit: elastic/x-pack-elasticsearch@5b6e903366
2017-06-27 17:16:51 -07:00

23 lines
549 B
Plaintext

[role="xpack"]
[[watcher-api-start]]
=== Start API
The `start` API starts the {watcher} service if the service is not already
running, as in the following example:
[source,js]
--------------------------------------------------
POST _xpack/watcher/_start
--------------------------------------------------
// CONSOLE
{watcher} returns the following response if the request is successful:
[source,js]
--------------------------------------------------
{
"acknowledged": true
}
--------------------------------------------------
// TESTRESPONSE