Fix typos and add expand wildcard ns docs

This commit is contained in:
freddygv 2019-12-10 14:04:24 -07:00
parent 775ea7af6e
commit 992dfabd82
6 changed files with 22 additions and 16 deletions

View File

@ -156,7 +156,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup
the binding rule. This value can be specified as the `ns` URL query the binding rule. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -324,7 +324,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the
binding rule to delete. This value can be specified as the `ns` URL query binding rule to delete. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -364,7 +364,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list
the binding rules for. This value can be specified as the `ns` URL query the binding rules for. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. the namespace will default to the `default` namespace.
The namespace may be specified as '*' and then results will be returned for all namespaces. The namespace may be specified as '*' and then results will be returned for all namespaces.
Added in Consul 1.7.0. Added in Consul 1.7.0.

View File

@ -118,7 +118,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup
the policy. This value can be specified as the `ns` URL query the policy. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -248,7 +248,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the
policy to delete. This value can be specified as the `ns` URL query policy to delete. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -285,7 +285,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list
the Policies for. This value can be specified as the `ns` URL query the Policies for. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. The namespace may be specified as '*' and then the namespace will default to the `default` namespace. The namespace may be specified as '*' and then
results will be returned for all namespaces. Added in Consul 1.7.0. results will be returned for all namespaces. Added in Consul 1.7.0.

View File

@ -162,7 +162,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup
the role. This value can be specified as the `ns` URL query the role. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -227,7 +227,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup
the role. This value can be specified as the `ns` URL query the role. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -392,7 +392,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the
role to delete. This value can be specified as the `ns` URL query role to delete. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -434,7 +434,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list
the roles for. This value can be specified as the `ns` URL query the roles for. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. The namespace may be specified as '*' and then the namespace will default to the `default` namespace. The namespace may be specified as '*' and then
results will be returned for all namespaces. Added in Consul 1.7.0. results will be returned for all namespaces. Added in Consul 1.7.0.

View File

@ -172,7 +172,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup
the token. This value can be specified as the `ns` URL query the token. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -507,7 +507,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the
token to delete. This value can be specified as the `ns` URL query token to delete. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. Added in Consul 1.7.0. the namespace will default to the `default` namespace. Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -553,7 +553,7 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list
the tokens for. This value can be specified as the `ns` URL query the tokens for. This value can be specified as the `ns` URL query
parameter orthe `X-Consul-Namespace` header. If not provided by either, parameter or the `X-Consul-Namespace` header. If not provided by either,
the namespace will default to the `default` namespace. The namespace may be specified as '*' and then the namespace will default to the `default` namespace. The namespace may be specified as '*' and then
results will be returned for all namespaces. Added in Consul 1.7.0. results will be returned for all namespaces. Added in Consul 1.7.0.

View File

@ -69,7 +69,9 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query. - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query.
If not provided, the namespace will default to the `default` namespace. If not provided, the namespace will default to the `default` namespace.
This is specified as part of the URL as a query parameter. Added in Consul 1.7.0. This is specified as part of the URL as a query parameter.
For recursive lookups, the namespace may be specified as '*' and then results
will be returned for all namespaces. Added in Consul 1.7.0.
### Sample Request ### Sample Request

View File

@ -237,7 +237,9 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query. - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query.
If not provided, the namespace will default to the `default` namespace. If not provided, the namespace will default to the `default` namespace.
This is specified as part of the URL as a query parameter. Added in Consul 1.7.0. This is specified as part of the URL as a query parameter.
The namespace may be specified as '*' and then results will be returned for all namespaces.
Added in Consul 1.7.0.
### Sample Request ### Sample Request
@ -292,7 +294,9 @@ The table below shows this endpoint's support for
- `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query. - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query.
If not provided, the namespace will default to the `default` namespace. If not provided, the namespace will default to the `default` namespace.
This is specified as part of the URL as a query parameter. Added in Consul 1.7.0. This is specified as part of the URL as a query parameter.
The namespace may be specified as '*' and then results will be returned for all namespaces.
Added in Consul 1.7.0.
### Sample Request ### Sample Request