summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-24 16:26:32 -0400
committerGitHub <noreply@github.com>2021-09-24 16:26:32 -0400
commit5b88e8ba82c22dc7f39f11d5e12538a4e440d85f (patch)
tree037a3ca590118d9840a6bcf83c9b21c423d45b3d
parentcd28f5783a2549533278d2f5023f939c225bbe0c (diff)
parent3d8dec982f2dd4ad6eed56b5d694de66293e117d (diff)
downloadpodman-5b88e8ba82c22dc7f39f11d5e12538a4e440d85f.tar.gz
podman-5b88e8ba82c22dc7f39f11d5e12538a4e440d85f.tar.bz2
podman-5b88e8ba82c22dc7f39f11d5e12538a4e440d85f.zip
Merge pull request #11736 from jelly/doc_search_api
[CI:DOCS] Document missing /images/search query parameters
-rw-r--r--pkg/api/server/register_images.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index dce609a4e..5e0de7def 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -176,6 +176,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - in: query
// name: limit
// type: integer
+ // default: 25
// description: maximum number of results
// - in: query
// name: filters
@@ -186,6 +187,11 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - `is-official=(true|false)`
// - `stars=<number>` Matches images that has at least 'number' stars.
// - in: query
+ // name: tlsVerify
+ // type: boolean
+ // default: false
+ // description: skip TLS verification for registries
+ // - in: query
// name: listTags
// type: boolean
// description: list the available tags in the repository
@@ -1075,6 +1081,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - in: query
// name: limit
// type: integer
+ // default: 25
// description: maximum number of results
// - in: query
// name: noTrunc
@@ -1088,6 +1095,16 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - `is-automated=(true|false)`
// - `is-official=(true|false)`
// - `stars=<number>` Matches images that has at least 'number' stars.
+ // - in: query
+ // name: tlsVerify
+ // type: boolean
+ // default: false
+ // description: skip TLS verification for registries
+ // - in: query
+ // name: listTags
+ // type: boolean
+ // default: false
+ // description: list the available tags in the repository
// produces:
// - application/json
// responses: