summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-01-15 15:15:47 +0000
committerStephen Finucane <stephenfin@redhat.com>2021-01-15 15:21:08 +0000
commit40e0578683d9bcd866076d48ed1d682ee21dbe9d (patch)
tree8c6d32d50474bad0afcdb2bd1de14a1e9f22e461 /api-ref
parent7527fdf6eafe47f0f783e9cdae8b79b76d6ca6b3 (diff)
downloadnova-40e0578683d9bcd866076d48ed1d682ee21dbe9d.tar.gz
api-ref: Clarify 'all_tenants' command
An empty value for the 'all_tenants' query parameter of '/servers' and '/servers/detail' means the value defaults to 'True', i.e. requesting '/servers?all_tenants' is the same as '/servers?all_tenants=1'. Clarify this, since the current wording is confusing. Change-Id: Ib5fdd3b73aa5179e0379ee8f465e4118107786be Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Closes-Bug: #1909745
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/parameters.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 13fbc541aa..16b040bcf9 100644
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -396,7 +396,7 @@ all_tenants_query:
description: |
Specify the ``all_tenants`` query parameter to list all instances
for all projects. By default this is only allowed by administrators.
- If the value of this parameter is not specified, it is treated as
+ If this parameter is specified without a value, the value defaults to
``True``. If the value is specified, ``1``, ``t``, ``true``,
``on``, ``y`` and ``yes`` are treated as ``True``. ``0``, ``f``,
``false``, ``off``, ``n`` and ``no`` are treated as ``False``.