add config event in swagger.yml

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: c8d6477e5a359d30cdf0a59cdbfffc158a1d9388
Component: engine
This commit is contained in:
allencloud
2017-07-12 08:48:14 +08:00
parent 94a5aefc94
commit 3a04c6bfdb
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -5678,6 +5678,8 @@ paths:
Secrets report these events: `create`, `update`, and `remove`
Configs report these events: `create`, `update`, and `remove`
operationId: "SystemEvents"
produces:
- "application/json"
@@ -27,6 +27,7 @@ keywords: "API, Docker, rcli, REST, documentation"
enabled.
* `GET /images/(name)/get` now includes an `ImageMetadata` field which contains image metadata that is local to the engine and not part of the image config.
* `POST /services/create` now accepts a `PluginSpec` when `TaskTemplate.Runtime` is set to `plugin`
* `GET /events` now supports config events `create`, `update` and `remove` that are emitted when users create, update or remove a config
## v1.30 API changes