8.4. listManifestLabels
GET /api/v1/repository/{repository}/manifest/{manifestref}/labels
授权: oauth2_implicit (存储库:read)
路径参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
path |
需要 仓库 | 存储库的完整路径。例如 namespace/name | 字符串 |
path |
manifestref | 清单摘要 | string |
查询参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
query |
过滤 | 如果指定,则仅返回与给定前缀匹配的标签 | 字符串 |
响应
HTTP 代码 | 描述 | 模式 |
---|---|---|
200 | 成功调用 | |
400 | 错误请求 | |
401 | 需要会话 | |
403 | 未授权访问 | |
404 | 未找到 |
示例命令
$ curl -X GET \ -H "Authorization: Bearer <bearer_token>" \ -H "Accept: application/json" \ https://<quay-server.example.com>/api/v1/repository/<repository>/manifest/<manifestref>/labels