From d65dfcf2d9e561eae3066afafa7438f5d42d6ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Wed, 17 May 2017 22:13:10 +0200 Subject: [PATCH] Fix path to graph.explore in docs to match specs (elastic/x-pack-elasticsearch#1089) Merging, will push an update to re-enable testing separately Original commit: elastic/x-pack-elasticsearch@3adf3c41d4b6813c7ef642ce70a215040d7529a4 --- docs/en/rest-api/graph/explore.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/rest-api/graph/explore.asciidoc b/docs/en/rest-api/graph/explore.asciidoc index d46fc2cd33e..6896e2097ce 100644 --- a/docs/en/rest-api/graph/explore.asciidoc +++ b/docs/en/rest-api/graph/explore.asciidoc @@ -1,7 +1,7 @@ [[graph-api-explore]] === Explore API -The Graph "explore" API is accessible via the /_xpack/graph/_explore endpoint. +The Graph "explore" API is accessible via the /_xpack/_graph/_explore endpoint. One of the best ways to understand the behaviour of this API is to use the Kibana Graph UI to visually click around connected data and then view the "Last request" panel (accessible from the button with the cog icon). This panel shows the JSON request/response @@ -23,7 +23,7 @@ An initial search typically begins with a query to identify strongly related ter [source,js] -------------------------------------------------- -POST clicklogs/_xpack/graph/_explore +POST clicklogs/_xpack/_graph/_explore { "query": { <1> "match": { @@ -122,7 +122,7 @@ The previous basic example omitted several parameters that have default values. [source,js] -------------------------------------------------- -POST clicklogs/_xpack/graph/_explore +POST clicklogs/_xpack/_graph/_explore { "query": {<1> "bool": { @@ -218,7 +218,7 @@ An example request is as follows: [source,js] -------------------------------------------------- -POST clicklogs/_xpack/graph/_explore +POST clicklogs/_xpack/_graph/_explore { "vertices": [ {