19.3. getMatchingEntities
指定した接頭辞に一致するエンティティーのリストを取得します。
GET /api/v1/entities/{prefix}
認可:
パスパラメーター
型 | 名前 | 説明 | スキーマ |
---|---|---|---|
path |
prefix | string |
クエリーパラメーター
型 | 名前 | 説明 | スキーマ |
---|---|---|---|
query |
includeOrgs | 組織名を含めるかどうか。 | boolean |
query |
includeTeams | チーム名を含めるかどうか。 | boolean |
query |
namespace | 組織エンティティーのクエリー時に使用する namespace。 | string |
レスポンス
HTTP コード | 説明 | スキーマ |
---|---|---|
200 | 正常な呼び出し | |
400 | Bad Request (不適切な要求) | |
401 | セッションが必要 | |
403 | 不正アクセス | |
404 | 見つからない |
コマンドの例
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>"