summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-27 15:07:32 -0400
committerGitHub <noreply@github.com>2020-05-27 15:07:32 -0400
commitc64abd0b037e5918d6d24e326005ae65131dd738 (patch)
tree81a3647c98522436b35a1520d44cc2f64d707775 /pkg/api/server
parentab3a620f74f2f1458054822f2113200863b60d40 (diff)
parent8438fa4fec01142ad9f6943f6e0c429c64d951b7 (diff)
downloadpodman-c64abd0b037e5918d6d24e326005ae65131dd738.tar.gz
podman-c64abd0b037e5918d6d24e326005ae65131dd738.tar.bz2
podman-c64abd0b037e5918d6d24e326005ae65131dd738.zip
Merge pull request #6407 from baude/v2eventsstream
Add streaming ability to endpoint
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_events.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/server/register_events.go b/pkg/api/server/register_events.go
index e909303da..2b85eb169 100644
--- a/pkg/api/server/register_events.go
+++ b/pkg/api/server/register_events.go
@@ -58,6 +58,11 @@ func (s *APIServer) registerEventsHandlers(r *mux.Router) error {
// type: string
// in: query
// description: JSON encoded map[string][]string of constraints
+ // - name: stream
+ // type: boolean
+ // in: query
+ // default: true
+ // description: when false, do not follow events
// responses:
// 200:
// description: returns a string of json data describing an event