Querying Details About an Image Recipient
Function
This API is used to query details about an image recipient.
Debugging
You can debug this API in API Explorer.
Authorization
Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned. For details about the required permissions, see Permissions and Supported Actions.
URI
GET /v1/{project_id}/cloudimages/{image_id}/members/{member_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition Project ID. Constraints N/A Range N/A Default Value N/A |
| image_id | Yes | String | Definition Image ID. Constraints N/A Range N/A Default Value N/A |
| member_id | Yes | String | Definition Recipient ID. Constraints N/A Range N/A Default Value N/A |
Request
Request parameters
None
Example Request
Querying details about an image recipient
GET https://{Endpoint}/v1/1bed856811654c1cb661a6ca845ebc77/cloudimages/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members/edc89b490d7d4392898e19b2deb34797 Response
- Response parameters
Parameter
Type
Description
status
String
Definition
Image sharing status.
Range
- 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
Definition
Time when an image was shared. The value is in UTC format.
Range
N/A
updated_at
String
Definition
Time when a shared image was updated. The value is in UTC format.
Range
N/A
image_id
String
Definition
Image ID.
Range
N/A
member_id
String
Definition
Recipient ID.
Range
N/A
schema
String
Definition
Sharing schema.
Range
N/A
member_type
String
Definition
Recipient type.
Range
- project
- domain
- organization
urn
String
Definition
Organization URN.
This field is returned only when member_type is set to organization.
Range
N/A
- 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