Browse code

add config event in swagger.yml

Signed-off-by: allencloud <allen.sun@daocloud.io>

allencloud authored on 2017/07/11 18:22:46
Showing 2 changed files
... ...
@@ -5678,6 +5678,8 @@ paths:
5678 5678
 
5679 5679
         Secrets report these events: `create`, `update`, and `remove`
5680 5680
 
5681
+        Configs report these events: `create`, `update`, and `remove`
5682
+
5681 5683
       operationId: "SystemEvents"
5682 5684
       produces:
5683 5685
         - "application/json"
... ...
@@ -27,6 +27,7 @@ keywords: "API, Docker, rcli, REST, documentation"
27 27
   enabled.
28 28
 * `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.
29 29
 * `POST /services/create` now accepts a `PluginSpec` when `TaskTemplate.Runtime` is set to `plugin`
30
+* `GET /events` now supports config events `create`, `update` and `remove` that are emitted when users create, update or remove a config
30 31
 
31 32
 ## v1.30 API changes
32 33