From 992dfabd82ebabd588fecb7b707c3eac91001a9a Mon Sep 17 00:00:00 2001 From: freddygv Date: Tue, 10 Dec 2019 14:04:24 -0700 Subject: [PATCH] Fix typos and add expand wildcard ns docs --- website/source/api/acl/binding-rules.html.md | 6 +++--- website/source/api/acl/policies.html.md | 6 +++--- website/source/api/acl/roles.html.md | 8 ++++---- website/source/api/acl/tokens.html.md | 6 +++--- website/source/api/kv.html.md | 4 +++- website/source/api/session.html.md | 8 ++++++-- 6 files changed, 22 insertions(+), 16 deletions(-) diff --git a/website/source/api/acl/binding-rules.html.md b/website/source/api/acl/binding-rules.html.md index 692c76bc7..cd410f3ea 100644 --- a/website/source/api/acl/binding-rules.html.md +++ b/website/source/api/acl/binding-rules.html.md @@ -156,7 +156,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup 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. ### Sample Request @@ -324,7 +324,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the 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. ### Sample Request @@ -364,7 +364,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list 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 may be specified as '*' and then results will be returned for all namespaces. Added in Consul 1.7.0. diff --git a/website/source/api/acl/policies.html.md b/website/source/api/acl/policies.html.md index 94221a957..eae1516b3 100644 --- a/website/source/api/acl/policies.html.md +++ b/website/source/api/acl/policies.html.md @@ -118,7 +118,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup 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. ### Sample Request @@ -248,7 +248,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the 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. ### Sample Request @@ -285,7 +285,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list 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 results will be returned for all namespaces. Added in Consul 1.7.0. diff --git a/website/source/api/acl/roles.html.md b/website/source/api/acl/roles.html.md index 03bf2dd50..5e15a0ed6 100644 --- a/website/source/api/acl/roles.html.md +++ b/website/source/api/acl/roles.html.md @@ -162,7 +162,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup 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. ### Sample Request @@ -227,7 +227,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup 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. ### Sample Request @@ -392,7 +392,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the 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. ### Sample Request @@ -434,7 +434,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list 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 results will be returned for all namespaces. Added in Consul 1.7.0. diff --git a/website/source/api/acl/tokens.html.md b/website/source/api/acl/tokens.html.md index 012c10cc0..74bf51cb4 100644 --- a/website/source/api/acl/tokens.html.md +++ b/website/source/api/acl/tokens.html.md @@ -172,7 +172,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to lookup 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. ### Sample Request @@ -507,7 +507,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace of the 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. ### Sample Request @@ -553,7 +553,7 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to list 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 results will be returned for all namespaces. Added in Consul 1.7.0. diff --git a/website/source/api/kv.html.md b/website/source/api/kv.html.md index 0e11e31d0..9cb6436c4 100644 --- a/website/source/api/kv.html.md +++ b/website/source/api/kv.html.md @@ -69,7 +69,9 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query. 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 diff --git a/website/source/api/session.html.md b/website/source/api/session.html.md index 7fd78c7eb..e162480f7 100644 --- a/website/source/api/session.html.md +++ b/website/source/api/session.html.md @@ -237,7 +237,9 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query. 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 @@ -292,7 +294,9 @@ The table below shows this endpoint's support for - `ns` `(string: "")` - **(Enterprise Only)** Specifies the namespace to query. 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