v1

latestSwagger 2.02026-07-175684145.0 KB

Subscribe pouchd events to users

Stream real-time events from the server. Report various object events of pouchd when something happens to them. Containers report these events: create, destroy, die, oom, pause, rename, resize, restart, start, stop, top, unpause, updateandexec_dieImages report these events:pull, untagVolumes report these events:create, destroyNetworks report these events:create, connect, disconnect, destroy`

get/events

Query parameters

sincestring

Show events created since this timestamp then stream new events.

untilstring

Show events created until this timestamp then stop streaming

filtersstring

A JSON encoded value of filters (a map[string][]string) to process on the event list. Available filters:

  • container=<string> container name or ID
  • event=<string> event type
  • image=<string> image name or ID
  • label=<string> image or container label
  • network=<string> network name or ID
  • type=<string> object to filter by, one of container, image, volume, network
  • volume=<string> volume name

Response

no error

statusstring
idstring
fromstring
type'container' | 'daemon' | 'image' | 'network' | 'plugin' | 'volume'

The type of event. For example, "container" or "image", Now we only support container, image, network and volume events.

actionstring
timeinteger
timeNanointeger