Trivial: Update image_list v2 docs

This api doc is clearly copied from v1, we should update it to reflact v2 API.
Added 'shared' param description.

Change-Id: I73d36e3a2a0448c28edab788a9340fd46177f8ef
This commit is contained in:
Yang Hongyang 2016-03-01 18:43:00 +08:00
parent 3372de6f3b
commit 8b17a1fa5b
1 changed files with 7 additions and 4 deletions

View File

@ -44,11 +44,14 @@ class APIv2(image_v1.APIv1):
Return public images if True
:param private:
Return private images if True
:param shared:
Return shared images if True
If public and private are both True or both False then all images are
returned. Both arguments False is equivalent to no filter and all
images are returned. Both arguments True is a filter that includes
both public and private images which is the same set as all images.
If public, private and shared are all True or all False then all
images are returned. All arguments False is equivalent to no filter
and all images are returned. All arguments True is a filter that
includes all public, private and shared images which is the same set
as all images.
http://docs.openstack.org/api/openstack-image-service/2.0/content/list-images.html
"""