Bases: object
Bases: object
Bases: object
Adds a membership to the image. :param req: the Request object coming from the wsgi layer :param image_id: the image identifier :param member_id: the member identifier :returns: The response body is a mapping of the following form
{'member_id': <MEMBER>,
'image_id': <IMAGE>,
'status': <MEMBER_STATUS>
'created_at': ..,
'updated_at': ..}
Return a list of dictionaries indicating the members of the image, i.e., those tenants the image is shared with.
Parameters: |
|
---|---|
Returns: | The response body is a mapping of the following form |
{'members': [
{'member_id': <MEMBER>,
'image_id': <IMAGE>,
'status': <MEMBER_STATUS>,
'created_at': ..,
'updated_at': ..}, ..
]}
Returns the membership of the tenant wrt to the image_id specified.
Parameters: |
|
---|---|
Returns: | The response body is a mapping of the following form |
{'member_id': <MEMBER>,
'image_id': <IMAGE>,
'status': <MEMBER_STATUS>
'created_at': ..,
'updated_at': ..}
Adds a membership to the image. :param req: the Request object coming from the wsgi layer :param image_id: the image identifier :param member_id: the member identifier :returns: The response body is a mapping of the following form
{'member_id': <MEMBER>,
'image_id': <IMAGE>,
'status': <MEMBER_STATUS>,
'created_at': ..,
'updated_at': ..}
Bases: object
Bases: object
Bases: object
Bases: object
Bases: object
Bases: glance.common.wsgi.Router
WSGI router for Glance v2 API requests.