Merge pull request #874 from cruatta/add-service-id-to-api-docs

Updating the docs to include information about registering a check with a ServiceID.
This commit is contained in:
Ryan Breen 2015-04-21 00:27:35 -04:00
commit 45f77c15e6
1 changed files with 2 additions and 0 deletions

View File

@ -261,6 +261,8 @@ is `critical`.
If a `TTL` type is used, then the TTL update endpoint must be used periodically to update If a `TTL` type is used, then the TTL update endpoint must be used periodically to update
the state of the check. 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. The return code is 200 on success.
### <a name="agent_check_deregister"></a> /v1/agent/check/deregister/\<checkId\> ### <a name="agent_check_deregister"></a> /v1/agent/check/deregister/\<checkId\>