21.26. postRegistrySize
POST /api/v1/superuser/registrysize/
授权: oauth2_implicit (超级:user)
路径参数
| 类型 | Name | 描述 | 模式 |
|---|---|---|---|
| path |
namespace | 字符串 |
请求正文模式(application/json)
镜像 registry 大小的描述
| Name | 描述 | 模式 |
|---|---|---|
| last_ran | 整数 | |
| Queued | 布尔值 | |
| running | 布尔值 |
响应
示例命令
$ curl -X POST "https://quay-server.example.com/api/v1/superuser/registrysize/" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"namespace": "<namespace>",
"last_ran": 1700000000,
"queued": true,
"running": false
}'