第 19 章 search
对所有 registry 上下文执行搜索。
19.1. conductRepoSearch 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
获取与指定查询匹配的应用程序和存储库列表。
GET /api/v1/find/repositories
授权:
查询参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
query |
includeUsage | 是否包含使用元数据 | 布尔值 |
query |
页 | 该页面。 | 整数 |
query |
query | 搜索查询。 | 字符串 |
响应
示例命令
curl -X GET "https://quay-server.example.com/api/v1/find/repositories?query=<repo_name>&page=1&includeUsage=true" \ -H "Authorization: Bearer <bearer_token>"
$ curl -X GET "https://quay-server.example.com/api/v1/find/repositories?query=<repo_name>&page=1&includeUsage=true" \
-H "Authorization: Bearer <bearer_token>"