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>
(cherry picked from commit a4f828cb8905f42c8b8975ce88e4d7aa8cd9bf74)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

zhangyue authored on 2019/05/29 17:33:56
Showing 2 changed files
... ...
@@ -6217,6 +6217,10 @@ paths:
6217 6217
           in: "query"
6218 6218
           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."
6219 6219
           type: "string"
6220
+        - name: "copyUIDGID"
6221
+          in: "query"
6222
+          description: "If “1”, “true”, then it will copy UID/GID maps to the dest file or dir"
6223
+          type: "string"
6220 6224
         - name: "inputStream"
6221 6225
           in: "body"
6222 6226
           required: true
... ...
@@ -220,6 +220,7 @@ keywords: "API, Docker, rcli, REST, documentation"
220 220
 * `GET /events` now supports service, node and secret events which are emitted when users create, update and remove service, node and secret
221 221
 * `GET /events` now supports network remove event which is emitted when users remove a swarm scoped network
222 222
 * `GET /events` now supports a filter type `scope` in which supported value could be swarm and local
223
+* `PUT /containers/(name)/archive` now accepts a `copyUIDGID` parameter to allow copy UID/GID maps to dest file or dir.
223 224
 
224 225
 ## v1.29 API changes
225 226