Skip to content

Commit 6978a6e

Browse files
authored
Merge pull request moby#34035 from allencloud/add-cluster-event-details-in-swagger
add cluster events details in swagger.yml
2 parents 177d281 + f596fb7 commit 6978a6e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

api/swagger.yaml

+12-5
Original file line numberDiff line numberDiff line change
@@ -5662,16 +5662,22 @@ paths:
56625662
56635663
Various objects within Docker report events when something happens to them.
56645664
5665-
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`
5665+
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`
56665666
5667-
Images report these events: `delete, import, load, pull, push, save, tag, untag`
5667+
Images report these events: `delete`, `import`, `load`, `pull`, `push`, `save`, `tag`, and `untag`
56685668
5669-
Volumes report these events: `create, mount, unmount, destroy`
5669+
Volumes report these events: `create`, `mount`, `unmount`, and `destroy`
56705670
5671-
Networks report these events: `create, connect, disconnect, destroy`
5671+
Networks report these events: `create`, `connect`, `disconnect`, `destroy`, `update`, and `remove`
56725672
56735673
The Docker daemon reports these events: `reload`
56745674
5675+
Services report these events: `create`, `update`, and `remove`
5676+
5677+
Nodes report these events: `create`, `update`, and `remove`
5678+
5679+
Secrets report these events: `create`, `update`, and `remove`
5680+
56755681
operationId: "SystemEvents"
56765682
produces:
56775683
- "application/json"
@@ -5745,7 +5751,8 @@ paths:
57455751
- `label=<string>` image or container label
57465752
- `network=<string>` network name or ID
57475753
- `plugin`=<string> plugin name or ID
5748-
- `type=<string>` object to filter by, one of `container`, `image`, `volume`, `network`, or `daemon`
5754+
- `scope`=<string> local or swarm
5755+
- `type=<string>` object to filter by, one of `container`, `image`, `volume`, `network`, `daemon`, `plugin`, `node`, `service` or `secret`
57495756
- `volume=<string>` volume name or ID
57505757
type: "string"
57515758
tags: ["System"]

0 commit comments

Comments
 (0)