Browse Source

add config event in swagger.yml

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud 8 years ago
parent
commit
c8d6477e5a
2 changed files with 3 additions and 0 deletions
  1. 2 0
      api/swagger.yaml
  2. 1 0
      docs/api/version-history.md

+ 2 - 0
api/swagger.yaml

@@ -5678,6 +5678,8 @@ paths:
 
 
         Secrets report these events: `create`, `update`, and `remove`
         Secrets report these events: `create`, `update`, and `remove`
 
 
+        Configs report these events: `create`, `update`, and `remove`
+
       operationId: "SystemEvents"
       operationId: "SystemEvents"
       produces:
       produces:
         - "application/json"
         - "application/json"

+ 1 - 0
docs/api/version-history.md

@@ -27,6 +27,7 @@ keywords: "API, Docker, rcli, REST, documentation"
   enabled.
   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.
 * `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`
 * `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
 ## v1.30 API changes