summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorcdoern <cbdoer23@g.holycross.edu>2021-05-30 11:18:19 -0400
committercdoern <cbdoer23@g.holycross.edu>2021-06-01 14:54:02 -0400
commit2cc4535e1fb8d6a18a4992e395ace21fefe22efe (patch)
tree676fef9ff5615e2d1b3105253b3c9622ed85e6d5 /pkg/api/server
parenta6f0ac229f57c1ac93fe0604dd923f704e976d9a (diff)
downloadpodman-2cc4535e1fb8d6a18a4992e395ace21fefe22efe.tar.gz
podman-2cc4535e1fb8d6a18a4992e395ace21fefe22efe.tar.bz2
podman-2cc4535e1fb8d6a18a4992e395ace21fefe22efe.zip
added tests in python rest api
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_containers.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index 536c4707a..aa999905e 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -375,6 +375,11 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// type: boolean
// default: true
// description: Stream the output
+ // - in: query
+ // name: one-shot
+ // type: boolean
+ // default: false
+ // description: Provide a one-shot response in which preCPU stats are blank, resulting in a single cycle return.
// produces:
// - application/json
// responses: