Add "changes" query parameter for /image/create to swagger docs

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Tobias Gesellchen 2021-07-11 22:46:19 +02:00 committed by Sebastiaan van Stijn
parent d3d78c1ae3
commit 0e719f8a00
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -7334,6 +7334,18 @@ paths:
Refer to the [authentication section](#section/Authentication) for
details.
type: "string"
- name: "changes"
in: "query"
description: |
Apply `Dockerfile` instructions to the image that is created,
for example: `changes=ENV DEBUG=true`.
Note that `ENV DEBUG=true` should be URI component encoded.
Supported `Dockerfile` instructions:
`CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`ONBUILD`|`USER`|`VOLUME`|`WORKDIR`
type: "array"
items:
type: "string"
- name: "platform"
in: "query"
description: "Platform in the format os[/arch[/variant]]"