Merge pull request #270 from thaJeztah/19.03_backport_fix_swagger_copy

[19.03 backport] fix: fix lack of copyUIDGID in swagger.yaml
This commit is contained in:
Andrew Hsu 2019-06-11 10:55:29 -07:00 committed by GitHub
commit 175013d0cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -6217,6 +6217,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

View file

@ -220,6 +220,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