Querying Details About an Image Sharing Member
Function
This API is used to query details about a member that an image is shared with.
URI
GET /v1/{project_id}/cloudimages/{image_id}/members/{member_id}
Request
Request parameters
None
Example Request
Querying details about an image sharing member
GET https://{Endpoint}/v1/1bed856811654c1cb661a6ca845ebc77/cloudimages/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members/edc89b490d7d4392898e19b2deb34797
Response
- Response parameters
Parameter
Type
Description
status
String
Specifies the image sharing status.
The value can be:
- accepted: The shared image is accepted. After you accept an image, the image will be displayed in your image list. You can use the image to create cloud servers.
- rejected: The shared image is rejected. After you reject an image, the image will disappear from your image list, but you can still use the image to create cloud servers.
created_at
String
Specifies the time when an image was shared. The value is in UTC format.
updated_at
String
Specifies the time when a shared image was updated. The value is in UTC format.
image_id
String
Specifies the image ID.
member_id
String
Specifies the member ID.
schema
String
Specifies the sharing schema.
member_type
String
Specifies the member type.
The value can be:
- project: project member
- domain: domain member
- organization: organization member
urn
String
Specifies the organization URN.
This field is returned only when member_type is set to organization.
- Example response
STATUS CODE 200
1 2 3 4 5 6 7 8 9 10
{ "status": "accepted", "created_at": "2023-08-23T04:09:12Z", "updated_at": "2023-08-23T04:09:12Z", "image_id": "370befec-a369-475e-a224-44a45927a8fe", "member_id": "ou-qdjrky7i07higfa4f6reqv9etybmp4ng", "schema": "/v2/schemas/member", "member_type": "organization", "urn": "organizations::6c031a41eefc480bb60f20c003891fcd:ou:o-z5142zmm6p5cumsxralfljeb3qrwqamd/ou-qdjrky7i07higfa4f6reqv9etybmp4ng" }
Returned Values
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot