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

Revert "fix API doc service delete"

This reverts commit a12120e78c5852d5571da38e7b9e4cd49f41edc3.

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux преди 8 години
родител
ревизия
bd99641466
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      docs/reference/api/docker_remote_api_v1.24.md
  2. 2 2
      docs/reference/api/docker_remote_api_v1.25.md

+ 2 - 2
docs/reference/api/docker_remote_api_v1.24.md

@@ -4672,13 +4672,13 @@ Stop and remove the service `id`
 
 **Example response**:
 
-    HTTP/1.1 204 No Content
+    HTTP/1.1 200 OK
     Content-Length: 0
     Content-Type: text/plain; charset=utf-8
 
 **Status codes**:
 
--   **204** – no error
+-   **200** – no error
 -   **404** – no such service
 -   **500** – server error
 

+ 2 - 2
docs/reference/api/docker_remote_api_v1.25.md

@@ -5040,13 +5040,13 @@ Stop and remove the service `id`
 
 **Example response**:
 
-    HTTP/1.1 204 No Content
+    HTTP/1.1 200 OK
     Content-Length: 0
     Content-Type: text/plain; charset=utf-8
 
 **Status codes**:
 
--   **204** – no error
+-   **200** – no error
 -   **404** – no such service
 -   **500** – server error