mirror of https://github.com/hashicorp/consul
docs: add section for /health/ingress/:service API (#8108)
* docs: add section for /health/ingress/:service API * Add documentation around consul version for API * docs: add note about gateway-services API release versionpull/8295/head
parent
2f721504a7
commit
45a2987c6c
|
@ -904,6 +904,8 @@ top level object. The following selectors and filter operations are supported:
|
||||||
|
|
||||||
## List Services for Gateway
|
## List Services for Gateway
|
||||||
|
|
||||||
|
-> **1.8.0+:** This API is available in Consul versions 1.8.0 and later.
|
||||||
|
|
||||||
This endpoint returns the services associated with an ingress gateway or terminating gateway.
|
This endpoint returns the services associated with an ingress gateway or terminating gateway.
|
||||||
|
|
||||||
| Method | Path | Produces |
|
| Method | Path | Produces |
|
||||||
|
|
|
@ -403,6 +403,20 @@ so this endpoint may be used to filter only the Connect-capable endpoints.
|
||||||
Parameters and response format are the same as
|
Parameters and response format are the same as
|
||||||
[`/health/service/:service`](/api/health#list-nodes-for-service).
|
[`/health/service/:service`](/api/health#list-nodes-for-service).
|
||||||
|
|
||||||
|
## List Nodes for Ingress Gateways Associated to a Service
|
||||||
|
|
||||||
|
-> **1.8.0+:** This API is available in Consul versions 1.8.0 and later.
|
||||||
|
|
||||||
|
This endpoint returns the nodes providing a [ingress
|
||||||
|
gateway](/docs/connect/ingress-gateway) for a service in a given datacenter.
|
||||||
|
|
||||||
|
| Method | Path | Produces |
|
||||||
|
| ------ | -------------------------- | ------------------ |
|
||||||
|
| `GET` | `/health/ingress/:service` | `application/json` |
|
||||||
|
|
||||||
|
Parameters and response format are the same as
|
||||||
|
[`/health/service/:service`](/api/health#list-nodes-for-service).
|
||||||
|
|
||||||
## List Checks in State
|
## List Checks in State
|
||||||
|
|
||||||
This endpoint returns the checks in the state provided on the path.
|
This endpoint returns the checks in the state provided on the path.
|
||||||
|
|
Loading…
Reference in New Issue