Merge pull request #30734 from allencloud/add-400-status-code-for-events-endpoint
add status code 400 for api endpoint /events
(cherry picked from commit f3da980a45
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9f46122c94
commit
9dcb36dfa2
2 changed files with 5 additions and 0 deletions
|
@ -5333,6 +5333,10 @@ paths:
|
|||
image: "alpine"
|
||||
name: "my-container"
|
||||
time: 1461943101
|
||||
400:
|
||||
description: "bad parameter"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
500:
|
||||
description: "server error"
|
||||
schema:
|
||||
|
|
|
@ -2632,6 +2632,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
|
||||
|
|
Loading…
Reference in a new issue