diff --git a/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl b/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl index e83c688ff..a1346083f 100644 --- a/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl +++ b/api-ref/src/wadls/image-api/src/v2/os-image-v2.wadl @@ -514,6 +514,13 @@ Shows image member details. Response body is a single image member entity. (Since Image API 2.2.) + Preconditions + + The specified image must exist. + + You need to be the owner or a member of + the specified image. + @@ -542,6 +549,13 @@ If a user with whom this image has not been shared makes this call, the call returns the HTTP 404 status code. + Preconditions + + The specified image must exist. + + You need to be the owner or a member of + the specified image. + Adds a specified tenant ID as an image member. (Since Image API v2.1.) + Preconditions + + The specified images must exist. + + You can only add a new member to an + image which 'visibility' attribute is private. + + You need to be the owner of the specified + image. + + Synchronous Postconditions + + With correct permissions, you can see + the member status of the image as pending + through API calls. + + Troubleshooting + + Even if you have correct permissions, + if the 'visibility' attribute is set to + public, the request returns the HTTP 403 + status code. Ensure you meet the preconditions then + investigate the attribute. + If the member in the request is + already a member for the image, the service returns + the HTTP 409 "Conflict" status code in case you + meant a different member. Double-check the member + to ensure you want it to be a member of the image. + + @@ -584,6 +628,16 @@ + + + + + + + + Sets the specified status for the specified member of the specified image. (Since Image API v2.1.) + Preconditions + + The specified images must exist. + + You need to be a member of the + specified image. + + Synchronous Postconditions + + If you update the member status to + accepted, and have the correct permissions, + you will see the image in responses of List Images API + call. + With correct permissions, you can see + the updated member status of the image through API + calls. + @@ -619,6 +690,27 @@ Deletes a specified tenant ID from the member list of the specified image. (Since Image API v2.1.) + Preconditions + + The specified image must exist. + + You need to be the owner of the specified + image. + + Synchronous Postconditions + + The specified member is removed from + the image members. + + Troubleshooting + + Even if you have correct permissions, + it you are not the owner of the specified image, + the request returns the HTTP 403 status code. + Ensure you meet the preconditions then investigate + the attribute. + + @@ -626,5 +718,10 @@ &member_idParameter; + + + +