summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-08-15 13:33:56 +0000
committerGerrit Code Review <review@openstack.org>2018-08-15 13:33:56 +0000
commit89470970474357b23ab691ee534b34806fdf40af (patch)
tree98b8c5378603d0ed3ce042c7d89c88765a14259e
parent1bad99100a2cc9fc346d75aeac7e74b2a33b2dca (diff)
parenteff376b9fc7a6c96ad63c6d9004f902769def01d (diff)
downloadnova-89470970474357b23ab691ee534b34806fdf40af.tar.gz
Merge "api-ref: fix GET /flavors?is_public description"
-rw-r--r--api-ref/source/parameters.yaml14
1 files changed, 10 insertions, 4 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index be90f7852e..0e37503ed9 100644
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -626,11 +626,17 @@ exclude:
flavor_is_public_query:
in: query
required: false
- type: boolean
+ type: string
description: |
- Filters the flavor list by only public flavors. By default ``non
- admin`` users only see public flavors, and ``admin`` users can see
- additional non public flavors.
+ This parameter is only applicable to users with the administrative role.
+ For all other non-admin users, the parameter is ignored and only public
+ flavors will be returned. Filters the flavor list based on whether the
+ flavor is public or private. If the value of this parameter is not
+ specified, it is treated as ``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``
+ (they are case-insensitive). If the value is ``None`` (case-insensitive)
+ both public and private flavors will be listed in a single request.
flavor_query:
description: |
Filters the response by a flavor, as a UUID. A flavor is a combination of memory,