From 323f575087d7e2068d74598283ec485b1f115226 Mon Sep 17 00:00:00 2001 From: allencloud Date: Sat, 4 Feb 2017 13:40:24 +0800 Subject: [PATCH] add status code 400 for api endpoint /events Signed-off-by: allencloud --- api/swagger.yaml | 4 ++++ docs/api/v1.24.md | 1 + 2 files changed, 5 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index 25f4d96da0..7e435ae302 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -5383,6 +5383,10 @@ paths: image: "alpine" name: "my-container" time: 1461943101 + 400: + description: "bad parameter" + schema: + $ref: "#/definitions/ErrorResponse" 500: description: "server error" schema: diff --git a/docs/api/v1.24.md b/docs/api/v1.24.md index 7514d05564..d929a80f01 100644 --- a/docs/api/v1.24.md +++ b/docs/api/v1.24.md @@ -2648,6 +2648,7 @@ Docker daemon report the following event: **Status codes**: - **200** – no error +- **400** - bad parameter - **500** – server error #### Get a tarball containing all images in a repository