Exporting the Image List
Function
Exports the image list to an Excel file based on the filter criteria and returns the export task ID. Filtering by agent_version is supported.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
workspace:images:export
List
-
-
-
-
URI
GET /v3/{project_id}/images/export
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Unique ID of a project. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| os_type | No | String | OS of the product image, for example, Windows. |
| os_version | No | String | OS version of the product image, for example, Windows 11. |
| image_type | Yes | String | Image type. |
| business_type | No | String | Image usage. |
| platform | No | String | Image OS, for example, Windows. |
| architecture | No | String | Image architecture: x86. |
| package_type | No | String | Package series. |
| name | No | String | Image name. |
| id | No | String | Image ID. |
| image_group_id | No | String | Image group ID. |
| image_ids | No | String | List of image IDs. |
| status | No | String | Image status. |
| enterprise_project_id | No | String | Enterprise project. |
| period_type | No | Integer | Period type. |
| is_gpu | No | Boolean | Whether the specifications are of the GPU type. |
| support_gpu_type | No | String | Supported GPU types. |
| is_vdi | No | Boolean | Whether the VDI mode is used. |
| product_id | No | String | Product ID of the marketplace image. |
| product_code | No | String | Product code of the marketplace image. |
| flavor_id | No | String | Specification ID. |
| limit | No | Integer | Number of records per page. The value ranges from 0 to 100. The default value is 100. |
| offset | No | Integer | Offset. The default value is 0. |
| agent_version | No | String | Agent version. Images can be filtered by agent version. |
| sort_field | No | String | Field used for sorting the query results. The value is the image attribute field name or created_at. The default value is name. |
| sort_type | No | String | Whether the query results are sorted in ascending or descending order. Its value can be desc or asc. This parameter is used together with sort_field. The default value is asc. |
| language | No | String | Language type. |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| task_id | String | Export task ID. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 404
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 405
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 503
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Example Requests
None
Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 405 | Method Not Allowed |
| 500 | Internal Server Error. For details, see the error code description. |
| 503 | Service Unavailable |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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