Преглед на файлове

Merge pull request #25657 from thaJeztah/update-image-load-api-docs

Update API docs example for image load response
Michael Crosby преди 9 години
родител
ревизия
5dbdc321dc
променени са 3 файла, в които са добавени 15 реда и са изтрити 15 реда
  1. 5 5
      docs/reference/api/docker_remote_api_v1.23.md
  2. 5 5
      docs/reference/api/docker_remote_api_v1.24.md
  3. 5 5
      docs/reference/api/docker_remote_api_v1.25.md

+ 5 - 5
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**:
 

+ 5 - 5
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**:
 

+ 5 - 5
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**: