Merge pull request #5420 from hashicorp/f-catalog-changes

Catalog API Doc Changes
pull/5436/head
Chip Vaughn 2019-03-06 11:00:37 -05:00 committed by GitHub
commit f658748a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,10 @@ The table below shows this endpoint's support for
- `Service` `(Service: nil)` - Specifies to register a service. If `ID` is not - `Service` `(Service: nil)` - Specifies to register a service. If `ID` is not
provided, it will be defaulted to the value of the `Service.Service` property. provided, it will be defaulted to the value of the `Service.Service` property.
Only one service with a given `ID` may be present per node. The service Only one service with a given `ID` may be present per node. The service
`Tags`, `Address`, `Meta`, and `Port` fields are all optional. `Tags`, `Address`, `Meta`, and `Port` fields are all optional. For more
infomation about these fields and the implications of setting them,
see the [Service - Agent API](https://www.consul.io/api/agent/service.html) page
as registering services differs between using this or the Services Agent endpoint.
- `Check` `(Check: nil)` - Specifies to register a check. The register API - `Check` `(Check: nil)` - Specifies to register a check. The register API
manipulates the health check entry in the Catalog, but it does not setup the manipulates the health check entry in the Catalog, but it does not setup the