summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorPablo Correa Gómez <ablocorrea@hotmail.com>2021-04-07 18:56:37 +0200
committerMatthew Heon <mheon@redhat.com>2021-04-16 11:55:04 -0400
commit850ead493282340920073f09053bd3bf6bf348ed (patch)
treeed21a4c24fb0aec4e723e10525af8415a537f20f /pkg
parent7ccccd22cd8413e3319c24be6b074385d760d341 (diff)
downloadpodman-850ead493282340920073f09053bd3bf6bf348ed.tar.gz
podman-850ead493282340920073f09053bd3bf6bf348ed.tar.bz2
podman-850ead493282340920073f09053bd3bf6bf348ed.zip
Adjust libpod API Container Wait documentation to the code
Closes #9960 Signed-off-by: Pablo Correa Gómez <ablocorrea@hotmail.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_containers.go13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index b379d52ce..6813b834a 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -1194,11 +1194,22 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - removing
// - stopping
// description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
+ // - in: query
+ // name: interval
+ // type: string
+ // default: "250ms"
+ // description: Time Interval to wait before polling for completion.
// produces:
// - application/json
+ // - text/plain
// responses:
// 200:
- // $ref: "#/responses/ContainerWaitResponse"
+ // description: Status code
+ // schema:
+ // type: integer
+ // format: int32
+ // examples:
+ // text/plain: 137
// 404:
// $ref: "#/responses/NoSuchContainer"
// 500: