Merge pull request #30734 from allencloud/add-400-status-code-for-events-endpoint

add status code 400 for api endpoint /events
This commit is contained in:
Vincent Demeester 2017-02-07 17:02:50 +01:00 committed by GitHub
commit f3da980a45
2 changed files with 5 additions and 0 deletions

View file

@ -5387,6 +5387,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