第19章 search
すべてのレジストリーコンテキストに対して検索を実行します。
19.1. conductRepoSearch リンクのコピーリンクがクリップボードにコピーされました!
指定したクエリーに一致するアプリケーションおよびリポジトリーのリストを取得します。
GET /api/v1/find/repositories
認可:
クエリーパラメーター
型 | 名前 | 説明 | スキーマ |
---|---|---|---|
query |
includeUsage | 使用状況のメタデータを含めるかどうか。 | boolean |
query |
page | ページ。 | integer |
query |
query | 検索クエリー | string |
レスポンス
HTTP コード | 説明 | スキーマ |
---|---|---|
200 | 正常な呼び出し | |
400 | Bad Request (不適切な要求) | |
401 | セッションが必要 | |
403 | 不正アクセス | |
404 | 見つからない |
コマンドの例
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>"