存储中的内容
GET /storages/{name}/objects 分页列出您某个存储中(其前缀内)的内容:每个对象的键、以字节为单位的大小、上次更改时间及其 ETag。这些键与 source 和 destination
所接受的键形式相同。该请求没有正文。
| 查询参数 | |
|---|---|
prefix |
只列出此文件夹中的对象(例如 templates/)。 |
max |
每页的数量,1 到 1000。未给出时为 100。 |
continuation |
上一页的 continuation,用于获取下一页。 |
示例
GET /storages/main/objects?prefix=templates/
X-API-KEY: your-api-key
{
"objects": [
{ "key": "templates/box.piq", "size": 1448, "lastModified": "2026-10-31T09:59:43Z", "eTag": "\"7131cd2033761d1dea034bb31dbc83e7\"" }
],
"continuation": null
}
continuation 为 null 表示已全部列出。