查看镜像列表
GET https://sandbox.cn-sh-01.sensecoreapi.cn/studio/sandbox/v1/workspaces/{workspace_id}/images
接口说明
请求头(Request Header)
请求参数(Request Parameters)
字段 | 类型 | 必须 | 位置 | 描述 |
---|---|---|---|---|
workspace_id | string | 是 | path | 工作空间id,获取方式可以参考快速开始 |
filter | string | 否 | query | 过滤条件 |
order_by | string | 否 | query | -排序,例:"create_time desc, name". |
page_size | integer | 否 | query | 返回当前页的最大条目数,默认50条. |
page_token | string | 否 | query | 从上一个List请求返回的next_page_token值(如果有的话). |
响应(Response)
异常情况请参考异常响应说明
名称 | 类型 | 描述 |
---|---|---|
images | array[object] | 沙盒服务可用的镜像列表 |
next_page_token | string | 下一页的token. |
total_size | integer | 镜像资源总数. |
其中images
的参数如下:
名称 | 类型 | 描述 |
---|---|---|
id | string | 镜像ID |
name | string | 镜像名称 |
type | string | 镜像类型,IMAGE_TYPE_BUILT_IN为预置镜像 |
description | string | 镜像描述 |
repository | string | 镜像仓库地址 |
create_time | string | 镜像创建时间 |
update_time | string | 镜像更新时间 |
响应示例(Response Example)
- 正常响应
{
"images": [
{
"id": "string",
"name": "string",
"type": "IMAGE_TYPE_BUILT_IN",
"description": "string",
"repository": "string",
"create_time": "2025-08-26T12:51:14.735Z",
"update_time": "2025-08-26T12:51:14.735Z"
}
],
"next_page_token": "string",
"total_size": 0
}