From 03be420bce08fafaa807d49f68d7cad8b09e2a0a Mon Sep 17 00:00:00 2001 From: Brian Lalor Date: Thu, 23 Oct 2014 07:54:46 -0400 Subject: [PATCH] Add links for health endpoints --- website/source/docs/agent/http.html.markdown | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/website/source/docs/agent/http.html.markdown b/website/source/docs/agent/http.html.markdown index 8ff68dfb08..e797a265c3 100644 --- a/website/source/docs/agent/http.html.markdown +++ b/website/source/docs/agent/http.html.markdown @@ -779,14 +779,14 @@ as they are totally optional. Additionally, some of the query results from the H The following endpoints are supported: -* /v1/health/node/\: Returns the health info of a node -* /v1/health/checks/\: Returns the checks of a service -* /v1/health/service/\: Returns the nodes and health info of a service -* /v1/health/state/\: Returns the checks in a given state +* [`/v1/health/node/\`](#health_node): Returns the health info of a node +* [`/v1/health/checks/\`](#health_checks): Returns the checks of a service +* [`/v1/health/service/\`](#health_service): Returns the nodes and health info of a service +* [`/v1/health/state/\`](#health_state): Returns the checks in a given state All of the health endpoints supports blocking queries and all consistency modes. -### /v1/health/node/\ +### /v1/health/node/\ This endpoint is hit with a GET and returns the node specific checks known. By default the datacenter of the agent is queried, @@ -829,7 +829,7 @@ changed to "critical". This endpoint supports blocking queries and all consistency modes. -### /v1/health/checks/\ +### /v1/health/checks/\ This endpoint is hit with a GET and returns the checks associated with a service in a given datacenter. @@ -856,7 +856,7 @@ It returns a JSON body like this: This endpoint supports blocking queries and all consistency modes. -### /v1/health/service/\ +### /v1/health/service/\ This endpoint is hit with a GET and returns the service nodes providing a given service in a given datacenter. @@ -922,7 +922,7 @@ It returns a JSON body like this: This endpoint supports blocking queries and all consistency modes. -### /v1/health/state/\ +### /v1/health/state/\ This endpoint is hit with a GET and returns the checks in a specific state for a given datacenter. By default the datacenter of the agent is queried,