diff options
author | Charlie Doern <cdoern@redhat.com> | 2021-06-08 15:47:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 15:47:44 -0400 |
commit | da1bade294025a419877484ae35f352984e804d2 (patch) | |
tree | cbc2e03595a15cdaa19870ebb00e5248a1360aa0 /pkg/api/server | |
parent | 9938557a53ed6599267ed1f8c0b6378499ab8e28 (diff) | |
parent | 5117deda04b765cd3dc7bd454286764a7c1ea6bc (diff) | |
download | podman-da1bade294025a419877484ae35f352984e804d2.tar.gz podman-da1bade294025a419877484ae35f352984e804d2.tar.bz2 podman-da1bade294025a419877484ae35f352984e804d2.zip |
Merge pull request #10603 from cdoern/networksQuery
implemented verbose and scope as possible
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_networks.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/api/server/register_networks.go b/pkg/api/server/register_networks.go index d122c6a36..69c6896b8 100644 --- a/pkg/api/server/register_networks.go +++ b/pkg/api/server/register_networks.go @@ -44,6 +44,16 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error { // type: string // required: true // description: the name of the network + // - in: query + // name: verbose + // type: boolean + // required: false + // description: Detailed inspect output for troubleshooting + // - in: query + // name: scope + // type: string + // required: false + // description: Filter the network by scope (swarm, global, or local) // produces: // - application/json // responses: |