Skip to content

Commit

Permalink
Merge pull request #11736 from jelly/doc_search_api
Browse files Browse the repository at this point in the history
[CI:DOCS] Document missing /images/search query parameters
  • Loading branch information
openshift-merge-robot authored Sep 24, 2021
2 parents cd28f57 + 3d8dec9 commit 5b88e8b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkg/api/server/register_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 5b88e8b

Please sign in to comment.