1
0
Fork 0
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:
Sebastiaan van Stijn 2016-08-12 11:57:34 +02:00
parent d8240c8e27
commit 419d2ad0f8
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
3 changed files with 15 additions and 15 deletions

View file

@ -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**:

View file

@ -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**:

View file

@ -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**: