فهرست منبع

Merge pull request #27119 from vieux/fix_doc_delete_service

fix API doc service delete
Victor Vieux 8 سال پیش
والد
کامیت
94cd7ed72d
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 200 OK
+    HTTP/1.1 204 No Content
     Content-Length: 0
     Content-Type: text/plain; charset=utf-8
 
 **Status codes**:
 
--   **200** – no error
+-   **204** – 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 200 OK
+    HTTP/1.1 204 No Content
     Content-Length: 0
     Content-Type: text/plain; charset=utf-8
 
 **Status codes**:
 
--   **200** – no error
+-   **204** – no error
 -   **404** – no such service
 -   **500** – server error