mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #25657 from thaJeztah/update-image-load-api-docs
Update API docs example for image load response
This commit is contained in:
commit
5dbdc321dc
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**:
|
**Example response**:
|
||||||
|
|
||||||
If the "quiet" query parameter is set to `true` / `1` (`?quiet=1`), progress
|
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
|
details are suppressed, and only a confirmation message is returned once the
|
||||||
once the action completes.
|
action completes.
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Length: 29
|
Content-Type: application/json
|
||||||
Content-Type: text/plain; charset=utf-8
|
Transfer-Encoding: chunked
|
||||||
|
|
||||||
Loaded image: busybox:latest
|
{"stream":"Loaded image: busybox:latest\n"}
|
||||||
|
|
||||||
**Query parameters**:
|
**Query parameters**:
|
||||||
|
|
||||||
|
|
|
@ -2686,14 +2686,14 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
If the "quiet" query parameter is set to `true` / `1` (`?quiet=1`), progress
|
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
|
details are suppressed, and only a confirmation message is returned once the
|
||||||
once the action completes.
|
action completes.
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Length: 29
|
Content-Type: application/json
|
||||||
Content-Type: text/plain; charset=utf-8
|
Transfer-Encoding: chunked
|
||||||
|
|
||||||
Loaded image: busybox:latest
|
{"stream":"Loaded image: busybox:latest\n"}
|
||||||
|
|
||||||
**Query parameters**:
|
**Query parameters**:
|
||||||
|
|
||||||
|
|
|
@ -2692,14 +2692,14 @@ See the [image tarball format](#image-tarball-format) for more details.
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
If the "quiet" query parameter is set to `true` / `1` (`?quiet=1`), progress
|
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
|
details are suppressed, and only a confirmation message is returned once the
|
||||||
once the action completes.
|
action completes.
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Length: 29
|
Content-Type: application/json
|
||||||
Content-Type: text/plain; charset=utf-8
|
Transfer-Encoding: chunked
|
||||||
|
|
||||||
Loaded image: busybox:latest
|
{"stream":"Loaded image: busybox:latest\n"}
|
||||||
|
|
||||||
**Query parameters**:
|
**Query parameters**:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue