update api-ref for admin tenant filter.

Now our api has support this feature, just update the docs.

Change-Id: Ie8dc75b74bc46f1290a15143e6906065d0368a9e
This commit is contained in:
Shaohe Feng 2016-11-21 04:07:42 +08:00
parent f8aa76c4ce
commit 6a2144c9cb
2 changed files with 10 additions and 0 deletions

View File

@ -92,6 +92,7 @@ Request
.. rest_parameters:: parameters.yaml
- all_tenants: all_tenants
- fields: fields
Response
@ -126,6 +127,8 @@ forbidden(403)
Request
-------
- all_tenants: all_tenants
Response
--------

View File

@ -35,6 +35,13 @@ type_uuid_path:
type: string
# variables in query
all_tenants:
description: |
Specify the ``all_tenants=1`` query parameter to list all instances
for all projects. By default this is only allowed by admin users.
in: query
required: false
type: integer
fields:
description: |
One or more fields to be returned in the response.