Browse code

Merge pull request #36074 from shutefan/master

Update API docs to show that /containers/{id}/kill returns HTTP 409

Yong Tang authored on 2018/01/29 01:32:35
Showing 1 changed files
... ...
@@ -5355,6 +5355,13 @@ paths:
5355 5355
           examples:
5356 5356
             application/json:
5357 5357
               message: "No such container: c2ada9df5af8"
5358
+        409:
5359
+          description: "container is not running"
5360
+          schema:
5361
+            $ref: "#/definitions/ErrorResponse"
5362
+          examples:
5363
+            application/json:
5364
+              message: "Container d37cde0fe4ad63c3a7252023b2f9800282894247d145cb5933ddf6e52cc03a28 is not running"
5358 5365
         500:
5359 5366
           description: "server error"
5360 5367
           schema: