第 8 章 清单(Inventory)
管理存储库的清单。
8.1. getManifestLabel 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
使用清单下特定 ID 检索标签。
GET /api/v1/repository/{repository}/manifest/{manifestref}/labels/{labelid}
授权: oauth2_implicit (存储库:read)
路径参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
path |
需要 仓库 | 存储库的完整路径。例如 namespace/name | 字符串 |
path |
manifestref | 清单摘要 | 字符串 |
path |
labelid | 标签的 ID | string |
响应
示例命令
curl -X GET \ -H "Authorization: Bearer <bearer_token>" \ -H "Accept: application/json" \ https://<quay-server.example.com>/api/v1/repository/<repository>/manifest/<manifestref>/labels/<label_id>
$ curl -X GET \
-H "Authorization: Bearer <bearer_token>" \
-H "Accept: application/json" \
https://<quay-server.example.com>/api/v1/repository/<repository>/manifest/<manifestref>/labels/<label_id>