From 8b17a1fa5b16037f259d70c9bc07e902d78d5049 Mon Sep 17 00:00:00 2001 From: Yang Hongyang Date: Tue, 1 Mar 2016 18:43:00 +0800 Subject: [PATCH] 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 --- openstackclient/api/image_v2.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/openstackclient/api/image_v2.py b/openstackclient/api/image_v2.py index d8bb280151..026498fa1d 100644 --- a/openstackclient/api/image_v2.py +++ b/openstackclient/api/image_v2.py @@ -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 """