Merge "API: Add ``all_tenants`` parameter"

This commit is contained in:
Zuul 2018-06-21 13:34:28 +00:00 committed by Gerrit Code Review
commit 32f7688bce
4 changed files with 11 additions and 3 deletions

View File

@ -126,9 +126,11 @@ action_id:
The ID of the action during which the message was created.
all_tenants:
description: |
(Admin only). Defines whether to list shares or share groups for
all tenants. Set to ``1`` to list shares or sharegroups for all tenants.
Set to ``0`` to list shares or share groups only for the current tenant.
(Admin only). Defines whether to list the requested resources for
all projects. Set to ``1`` to list resources for all projects.
Set to ``0`` to list resources only for the current tenant. Examples
of resources include shares, snapshots, share networks, security services
and share groups.
in: query
required: false
type: boolean

View File

@ -60,6 +60,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
- all_tenants: all_tenants
Response parameters
-------------------
@ -104,6 +105,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
- all_tenants: all_tenants
Response parameters
-------------------

View File

@ -63,6 +63,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
- all_tenants: all_tenants
- name~: name_inexact_query
- description~: description_inexact_query
@ -108,6 +109,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
- all_tenants: all_tenants
- name~: name_inexact_query
- description~: description_inexact_query

View File

@ -64,6 +64,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
- all_tenants: all_tenants
- name~: name_inexact_query
- description~: description_inexact_query
@ -107,6 +108,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
- all_tenants: all_tenants
- name~: name_inexact_query
- description~: description_inexact_query