mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Merge pull request #10588 from cdoern/imgDocs
[CI:DOCS] converted query parameter for credentials to header parameter.
This commit is contained in:
@ -962,10 +962,6 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
|
|||||||
// description: "Mandatory reference to the image (e.g., quay.io/image/name:tag)"
|
// description: "Mandatory reference to the image (e.g., quay.io/image/name:tag)"
|
||||||
// type: string
|
// type: string
|
||||||
// - in: query
|
// - in: query
|
||||||
// name: credentials
|
|
||||||
// description: "username:password for the registry"
|
|
||||||
// type: string
|
|
||||||
// - in: query
|
|
||||||
// name: Arch
|
// name: Arch
|
||||||
// description: Pull image for the specified architecture.
|
// description: Pull image for the specified architecture.
|
||||||
// type: string
|
// type: string
|
||||||
@ -986,6 +982,10 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
|
|||||||
// name: allTags
|
// name: allTags
|
||||||
// description: Pull all tagged images in the repository.
|
// description: Pull all tagged images in the repository.
|
||||||
// type: boolean
|
// type: boolean
|
||||||
|
// - in: header
|
||||||
|
// name: X-Registry-Auth
|
||||||
|
// description: "base-64 encoded auth config. Must include the following four values: username, password, email and server address OR simply just an identity token."
|
||||||
|
// type: string
|
||||||
// produces:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
// responses:
|
// responses:
|
||||||
|
Reference in New Issue
Block a user