add status code 400 for api endpoint /events

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2017-02-04 13:40:24 +08:00
parent c3b660b112
commit 323f575087
2 changed files with 5 additions and 0 deletions

View File

@ -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:

View File

@ -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