From a4f828cb8905f42c8b8975ce88e4d7aa8cd9bf74 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 --- api/swagger.yaml | 4 ++++ docs/api/version-history.md | 1 + 2 files changed, 5 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index c85c4ba9d0..7e47628492 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -6229,6 +6229,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/docs/api/version-history.md b/docs/api/version-history.md index c252d8170e..dcaa4fef34 100644 --- a/docs/api/version-history.md +++ b/docs/api/version-history.md @@ -226,6 +226,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