From f494defdbdd6fb2f0019ee4f026090ae57a732dc Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Mon, 4 Mar 2019 12:46:22 -0800 Subject: [PATCH] [DOCS] Updates API in Watcher transform context (#39540) --- .../painless-contexts/painless-watcher-context-example.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/painless/painless-contexts/painless-watcher-context-example.asciidoc b/docs/painless/painless-contexts/painless-watcher-context-example.asciidoc index 2d2e3993e3233..fa78b4855f210 100644 --- a/docs/painless/painless-contexts/painless-watcher-context-example.asciidoc +++ b/docs/painless/painless-contexts/painless-watcher-context-example.asciidoc @@ -104,7 +104,7 @@ The following example shows the use of metadata and transforming dates into a re [source,Painless] ---- -POST _xpack/watcher/watch/_execute +POST _watcher/watch/_execute { "watch" : { "metadata" : { "min_hits": 10000 },