Browse code

fix: fix lack of copyUIDGID in swagger.yaml

Signed-off-by: Zhang Yue <zy675793960@yeah.net>
Signed-off-by: zhangyue <zy675793960@yeah.net>

zhangyue authored on 2019/05/29 17:33:56
Showing 2 changed files
... ...
@@ -6229,6 +6229,10 @@ paths:
6229 6229
           in: "query"
6230 6230
           description: "If “1”, “true”, or “True” then it will be an error if unpacking the given content would cause an existing directory to be replaced with a non-directory and vice versa."
6231 6231
           type: "string"
6232
+        - name: "copyUIDGID"
6233
+          in: "query"
6234
+          description: "If “1”, “true”, then it will copy UID/GID maps to the dest file or dir"
6235
+          type: "string"
6232 6236
         - name: "inputStream"
6233 6237
           in: "body"
6234 6238
           required: true
... ...
@@ -226,6 +226,7 @@ keywords: "API, Docker, rcli, REST, documentation"
226 226
 * `GET /events` now supports service, node and secret events which are emitted when users create, update and remove service, node and secret
227 227
 * `GET /events` now supports network remove event which is emitted when users remove a swarm scoped network
228 228
 * `GET /events` now supports a filter type `scope` in which supported value could be swarm and local
229
+* `PUT /containers/(name)/archive` now accepts a `copyUIDGID` parameter to allow copy UID/GID maps to dest file or dir.
229 230
 
230 231
 ## v1.29 API changes
231 232