mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update API docs example for image load response
Commit 353af0b3ec
updated
the `/image/load` endpoint to consistendly return
JSON, but did not update the associated documentation.
This updates the example response in the documentation
to match the actual response.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d8240c8e27
commit
419d2ad0f8
3 changed files with 15 additions and 15 deletions
|
@ -2673,14 +2673,14 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example response**:
|
||||
|
||||
If the "quiet" query parameter is set to `true` / `1` (`?quiet=1`), progress
|
||||
details are suppressed, and only a confirmation message is returned as plain text
|
||||
once the action completes.
|
||||
details are suppressed, and only a confirmation message is returned once the
|
||||
action completes.
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
Content-Length: 29
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
Loaded image: busybox:latest
|
||||
{"stream":"Loaded image: busybox:latest\n"}
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -2686,14 +2686,14 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example response**:
|
||||
|
||||
If the "quiet" query parameter is set to `true` / `1` (`?quiet=1`), progress
|
||||
details are suppressed, and only a confirmation message is returned as plain text
|
||||
once the action completes.
|
||||
details are suppressed, and only a confirmation message is returned once the
|
||||
action completes.
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
Content-Length: 29
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
Loaded image: busybox:latest
|
||||
{"stream":"Loaded image: busybox:latest\n"}
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -2692,14 +2692,14 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example response**:
|
||||
|
||||
If the "quiet" query parameter is set to `true` / `1` (`?quiet=1`), progress
|
||||
details are suppressed, and only a confirmation message is returned as plain text
|
||||
once the action completes.
|
||||
details are suppressed, and only a confirmation message is returned once the
|
||||
action completes.
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
Content-Length: 29
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Transfer-Encoding: chunked
|
||||
|
||||
Loaded image: busybox:latest
|
||||
{"stream":"Loaded image: busybox:latest\n"}
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
Loading…
Reference in a new issue