mirror of https://github.com/status-im/consul.git
Update docs for merge-central-config support (#14597)
Updates API docs to highlight merge-central-config support.
This commit is contained in:
parent
4b89b66fc9
commit
59249b7dda
|
@ -537,9 +537,17 @@ The table below shows this endpoint's support for
|
|||
- `filter` `(string: "")` - Specifies the expression used to filter the
|
||||
queries results prior to returning the data.
|
||||
|
||||
- `merge-central-config` - Include this flag in a request for `connect-proxy` kind or `*-gateway` kind
|
||||
services to return a fully resolved service definition that includes merged values from the
|
||||
[proxy-defaults/global](/docs/connect/config-entries/proxy-defaults) and
|
||||
[service-defaults/:service](/docs/connect/config-entries/service-defaults) config entries.
|
||||
Returning a fully resolved service definition is useful when a service was registered using the
|
||||
[/catalog/register](/api-docs/catalog#register_entity) endpoint, which does not automatically merge config entries.
|
||||
|
||||
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace of the services you lookup.
|
||||
You can also [specify the namespace through other methods](#methods-to-specify-namespace).
|
||||
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
|
@ -874,6 +882,13 @@ The table below shows this endpoint's support for
|
|||
- `filter` `(string: "")` - Specifies the expression used to filter the
|
||||
queries results prior to returning the data.
|
||||
|
||||
- `merge-central-config` - Include this flag in a request for `connect-proxy` kind or `*-gateway` kind
|
||||
services to return a fully resolved service definition that includes merged values from the
|
||||
[proxy-defaults/global](/docs/connect/config-entries/proxy-defaults) and
|
||||
[service-defaults/:service](/docs/connect/config-entries/service-defaults) config entries.
|
||||
Returning a fully resolved service definition is useful when a service was registered using the
|
||||
[/catalog/register](/api-docs/catalog#register_entity) endpoint, which does not automatically merge config entries.
|
||||
|
||||
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace of the services you lookup.
|
||||
The namespace may be specified as '\*' to return results for all namespaces.
|
||||
You can also [specify the namespace through other methods](#methods-to-specify-namespace).
|
||||
|
|
|
@ -264,6 +264,13 @@ The table below shows this endpoint's support for
|
|||
|
||||
- `peer` `(string: "")` - Specifies the imported service's peer. Applies only to imported services.
|
||||
|
||||
- `merge-central-config` - Include this flag in a request for `connect-proxy` kind or `*-gateway` kind
|
||||
services to return a fully resolved service definition that includes merged values from the
|
||||
[proxy-defaults/global](/docs/connect/config-entries/proxy-defaults) and
|
||||
[service-defaults/:service](/docs/connect/config-entries/service-defaults) config entries.
|
||||
Returning a fully resolved service definition is useful when a service was registered using the
|
||||
[/catalog/register](/api-docs/catalog#register_entity) endpoint, which does not automatically merge config entries.
|
||||
|
||||
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace of the service.
|
||||
You can also [specify the namespace through other methods](#methods-to-specify-namespace).
|
||||
|
||||
|
|
Loading…
Reference in New Issue