From 223d3e0c756314bcf079eb68f981224e9b23cce6 Mon Sep 17 00:00:00 2001 From: zhangyue Date: Wed, 29 May 2019 16:33:56 +0800 Subject: [PATCH] fix: fix lack of copyUIDGID in swagger.yaml Signed-off-by: Zhang Yue Signed-off-by: zhangyue (cherry picked from commit a4f828cb8905f42c8b8975ce88e4d7aa8cd9bf74) Signed-off-by: Sebastiaan van Stijn Upstream-commit: 705cc95eb1247c1983c39477f2ecf5cb4eb5edbb Component: engine --- components/engine/api/swagger.yaml | 4 ++++ components/engine/docs/api/version-history.md | 1 + 2 files changed, 5 insertions(+) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 5faabdc4a0..1cf310d689 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -6105,6 +6105,10 @@ paths: in: "query" 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." type: "string" + - name: "copyUIDGID" + in: "query" + description: "If “1”, “true”, then it will copy UID/GID maps to the dest file or dir" + type: "string" - name: "inputStream" in: "body" required: true diff --git a/components/engine/docs/api/version-history.md b/components/engine/docs/api/version-history.md index 6f0083e90e..d98c16943a 100644 --- a/components/engine/docs/api/version-history.md +++ b/components/engine/docs/api/version-history.md @@ -159,6 +159,7 @@ keywords: "API, Docker, rcli, REST, documentation" * `GET /events` now supports service, node and secret events which are emitted when users create, update and remove service, node and secret * `GET /events` now supports network remove event which is emitted when users remove a swarm scoped network * `GET /events` now supports a filter type `scope` in which supported value could be swarm and local +* `PUT /containers/(name)/archive` now accepts a `copyUIDGID` parameter to allow copy UID/GID maps to dest file or dir. ## v1.29 API changes