From 419d2ad0f8adc687bb25831d62f462353557a706 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 12 Aug 2016 11:57:34 +0200 Subject: [PATCH] Update API docs example for image load response Commit 353af0b3ecfe483568fd88754e432c92b0ec088b 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 --- docs/reference/api/docker_remote_api_v1.23.md | 10 +++++----- docs/reference/api/docker_remote_api_v1.24.md | 10 +++++----- docs/reference/api/docker_remote_api_v1.25.md | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/reference/api/docker_remote_api_v1.23.md b/docs/reference/api/docker_remote_api_v1.23.md index 13d173371c..9e7c9e01e0 100644 --- a/docs/reference/api/docker_remote_api_v1.23.md +++ b/docs/reference/api/docker_remote_api_v1.23.md @@ -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**: diff --git a/docs/reference/api/docker_remote_api_v1.24.md b/docs/reference/api/docker_remote_api_v1.24.md index 4f0b06c199..9e1bd5375b 100644 --- a/docs/reference/api/docker_remote_api_v1.24.md +++ b/docs/reference/api/docker_remote_api_v1.24.md @@ -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**: diff --git a/docs/reference/api/docker_remote_api_v1.25.md b/docs/reference/api/docker_remote_api_v1.25.md index a53e93b7fa..e1ff26f123 100644 --- a/docs/reference/api/docker_remote_api_v1.25.md +++ b/docs/reference/api/docker_remote_api_v1.25.md @@ -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**: