From a9761dca337fc9ad4f255eab1d32bf04068294a7 Mon Sep 17 00:00:00 2001 From: Cameron Ruatta Date: Mon, 20 Apr 2015 20:56:26 -0700 Subject: [PATCH 1/2] Updating the docs to include information about registering a check with a serviceid. --- website/source/docs/agent/http/agent.html.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/docs/agent/http/agent.html.markdown b/website/source/docs/agent/http/agent.html.markdown index 33f352e6b..fc26fc9f1 100644 --- a/website/source/docs/agent/http/agent.html.markdown +++ b/website/source/docs/agent/http/agent.html.markdown @@ -261,6 +261,8 @@ is `critical`. If a `TTL` type is used, then the TTL update endpoint must be used periodically to update the state of the check. +Optionally, a `ServiceID` can be provided to associate the registered check with an existing Service provided by the agent. + The return code is 200 on success. ### /v1/agent/check/deregister/\ From b637683ffac20b52ed9dd5e96ad3137d446a027a Mon Sep 17 00:00:00 2001 From: Cameron Ruatta Date: Mon, 20 Apr 2015 20:59:45 -0700 Subject: [PATCH 2/2] Caps not necessary here --- website/source/docs/agent/http/agent.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/agent/http/agent.html.markdown b/website/source/docs/agent/http/agent.html.markdown index fc26fc9f1..d23c50ab9 100644 --- a/website/source/docs/agent/http/agent.html.markdown +++ b/website/source/docs/agent/http/agent.html.markdown @@ -261,7 +261,7 @@ is `critical`. If a `TTL` type is used, then the TTL update endpoint must be used periodically to update the state of the check. -Optionally, a `ServiceID` can be provided to associate the registered check with an existing Service provided by the agent. +Optionally, a `ServiceID` can be provided to associate the registered check with an existing service provided by the agent. The return code is 200 on success.