19.3. getMatchingEntities
获取与指定前缀匹配的实体列表。
GET /api/v1/entities/{prefix}
授权:
路径参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
path |
所需 前缀 | 字符串 |
查询参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
query |
includeOrgs | 是否包含机构名称。 | 布尔值 |
query |
includeTeams | 是否包含团队名称。 | 布尔值 |
query |
namespace | 在查询机构实体时要使用的命名空间。 | 字符串 |
响应
示例命令
curl -X GET "https://quay-server.example.com/api/v1/entities/<prefix>?includeOrgs=<true_or_false>&includeTeams=<true_or_false>&namespace=<namespace>" \ -H "Authorization: Bearer <bearer_token>"
$ curl -X GET "https://quay-server.example.com/api/v1/entities/<prefix>?includeOrgs=<true_or_false>&includeTeams=<true_or_false>&namespace=<namespace>" \
-H "Authorization: Bearer <bearer_token>"