[DOCS] Update doc links for watcher APIs (elastic/x-pack-elasticsearch#1880)

Original commit: elastic/x-pack-elasticsearch@47521f1261
This commit is contained in:
Lisa Cawley 2017-07-04 11:16:47 -07:00 committed by GitHub
parent 04ff94a180
commit 595468a505
12 changed files with 15 additions and 14 deletions

View File

@ -1,6 +1,6 @@
{ {
"xpack.info": { "xpack.info": {
"documentation": "Retrieve information about xpack, including build number/timestamp and license status", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html",
"methods": [ "GET" ], "methods": [ "GET" ],
"url": { "url": {
"path": "/_xpack", "path": "/_xpack",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.ack_watch": { "xpack.watcher.ack_watch": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-ack-watch.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html",
"methods": [ "PUT", "POST" ], "methods": [ "PUT", "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{watch_id}/_ack", "path": "/_xpack/watcher/watch/{watch_id}/_ack",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.activate_watch": { "xpack.watcher.activate_watch": {
"documentation": "https://www.elastic.co/guide/en/watcher/current/api-rest.html#api-rest-activate-watch", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html",
"methods": [ "PUT", "POST" ], "methods": [ "PUT", "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{watch_id}/_activate", "path": "/_xpack/watcher/watch/{watch_id}/_activate",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.deactivate_watch": { "xpack.watcher.deactivate_watch": {
"documentation": "https://www.elastic.co/guide/en/watcher/current/api-rest.html#api-rest-deactivate-watch", "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html",
"methods": [ "PUT", "POST" ], "methods": [ "PUT", "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{watch_id}/_deactivate", "path": "/_xpack/watcher/watch/{watch_id}/_deactivate",

View File

@ -1,6 +1,7 @@
{ {
"xpack.watcher.delete_watch": { "xpack.watcher.delete_watch": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-delete-watch.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html",
"methods": [ "DELETE" ], "methods": [ "DELETE" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{id}", "path": "/_xpack/watcher/watch/{id}",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.execute_watch": { "xpack.watcher.execute_watch": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-execute-watch.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html",
"methods": [ "PUT", "POST" ], "methods": [ "PUT", "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{id}/_execute", "path": "/_xpack/watcher/watch/{id}/_execute",
@ -22,6 +22,6 @@
"body": { "body": {
"description" : "Execution control", "description" : "Execution control",
"required" : false "required" : false
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.get_watch": { "xpack.watcher.get_watch": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-get-watch.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html",
"methods": [ "GET" ], "methods": [ "GET" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{id}", "path": "/_xpack/watcher/watch/{id}",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.put_watch": { "xpack.watcher.put_watch": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-put-watch.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html",
"methods": [ "PUT", "POST" ], "methods": [ "PUT", "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/watch/{id}", "path": "/_xpack/watcher/watch/{id}",
@ -26,6 +26,6 @@
"body": { "body": {
"description" : "The watch", "description" : "The watch",
"required" : true "required" : true
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.restart": { "xpack.watcher.restart": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-service.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html",
"methods": [ "POST" ], "methods": [ "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/_restart", "path": "/_xpack/watcher/_restart",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.start": { "xpack.watcher.start": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-service.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html",
"methods": [ "POST" ], "methods": [ "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/_start", "path": "/_xpack/watcher/_start",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.stats": { "xpack.watcher.stats": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-stats.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html",
"methods": [ "GET" ], "methods": [ "GET" ],
"url": { "url": {
"path": "/_xpack/watcher/stats", "path": "/_xpack/watcher/stats",

View File

@ -1,6 +1,6 @@
{ {
"xpack.watcher.stop": { "xpack.watcher.stop": {
"documentation": "http://www.elastic.co/guide/en/watcher/current/appendix-api-service.html", "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html",
"methods": [ "POST" ], "methods": [ "POST" ],
"url": { "url": {
"path": "/_xpack/watcher/_stop", "path": "/_xpack/watcher/_stop",