add config event in swagger.yml

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2017-07-11 17:22:46 +08:00
parent ed916a233c
commit c8d6477e5a
2 changed files with 3 additions and 0 deletions

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"

View file

@ -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