mirror of https://github.com/containers/podman.git
Document missing /images/search query parameters
Include the tlsVerify, listTags query parameters for the compat and libpod endpoint and document the default value for the amount of results which are returned. Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
This commit is contained in:
parent
800d594afa
commit
3d8dec982f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue