Просмотр исходного кода

Merge pull request #39279 from ZYecho/fix-swagger-copy

fix: fix lack of copyUIDGID in swagger.yaml
Sebastiaan van Stijn 6 лет назад
Родитель
Сommit
71e00574c7
2 измененных файлов с 5 добавлено и 0 удалено
  1. 4 0
      api/swagger.yaml
  2. 1 0
      docs/api/version-history.md

+ 4 - 0
api/swagger.yaml

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

+ 1 - 0
docs/api/version-history.md

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