diff --git a/api/swagger.yaml b/api/swagger.yaml index 5803266b0f..75fd20e3e3 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -5662,16 +5662,22 @@ paths: Various objects within Docker report events when something happens to them. - Containers report these events: `attach, commit, copy, create, destroy, detach, die, exec_create, exec_detach, exec_start, export, health_status, kill, oom, pause, rename, resize, restart, start, stop, top, unpause, update` + Containers report these events: `attach`, `commit`, `copy`, `create`, `destroy`, `detach`, `die`, `exec_create`, `exec_detach`, `exec_start`, `export`, `health_status`, `kill`, `oom`, `pause`, `rename`, `resize`, `restart`, `start`, `stop`, `top`, `unpause`, and `update` - Images report these events: `delete, import, load, pull, push, save, tag, untag` + Images report these events: `delete`, `import`, `load`, `pull`, `push`, `save`, `tag`, and `untag` - Volumes report these events: `create, mount, unmount, destroy` + Volumes report these events: `create`, `mount`, `unmount`, and `destroy` - Networks report these events: `create, connect, disconnect, destroy` + Networks report these events: `create`, `connect`, `disconnect`, `destroy`, `update`, and `remove` The Docker daemon reports these events: `reload` + Services report these events: `create`, `update`, and `remove` + + Nodes report these events: `create`, `update`, and `remove` + + Secrets report these events: `create`, `update`, and `remove` + operationId: "SystemEvents" produces: - "application/json" @@ -5745,7 +5751,8 @@ paths: - `label=` image or container label - `network=` network name or ID - `plugin`= plugin name or ID - - `type=` object to filter by, one of `container`, `image`, `volume`, `network`, or `daemon` + - `scope`= local or swarm + - `type=` object to filter by, one of `container`, `image`, `volume`, `network`, `daemon`, `plugin`, `node`, `service` or `secret` - `volume=` volume name or ID type: "string" tags: ["System"]