mirror of
https://github.com/containers/podman.git
synced 2025-06-12 19:14:36 +08:00
APIv2:doc: Fix swagger doc to refer to volumes
Signed-off-by: Matt Brindley <58414429+maybe-sybr@users.noreply.github.com>
This commit is contained in:
@ -28,7 +28,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
|
|||||||
// swagger:operation GET /libpod/volumes/json volumes listVolumes
|
// swagger:operation GET /libpod/volumes/json volumes listVolumes
|
||||||
// ---
|
// ---
|
||||||
// summary: List volumes
|
// summary: List volumes
|
||||||
// description: Returns a list of networks
|
// description: Returns a list of volumes
|
||||||
// produces:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
// parameters:
|
// parameters:
|
||||||
@ -36,7 +36,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
|
|||||||
// name: filters
|
// name: filters
|
||||||
// type: string
|
// type: string
|
||||||
// description: |
|
// description: |
|
||||||
// JSON encoded value of the filters (a map[string][]string) to process on the networks list. Available filters:
|
// JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters:
|
||||||
// - driver=<volume-driver-name> Matches volumes based on their driver.
|
// - driver=<volume-driver-name> Matches volumes based on their driver.
|
||||||
// - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
|
// - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
|
||||||
// - name=<volume-name> Matches all of volume name.
|
// - name=<volume-name> Matches all of volume name.
|
||||||
|
Reference in New Issue
Block a user