Skip to content

Commit 9dcb36d

Browse files
vdemeesterthaJeztah
authored andcommitted
Merge pull request moby#30734 from allencloud/add-400-status-code-for-events-endpoint
add status code 400 for api endpoint /events (cherry picked from commit f3da980) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 9f46122 commit 9dcb36d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

api/swagger.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5333,6 +5333,10 @@ paths:
53335333
image: "alpine"
53345334
name: "my-container"
53355335
time: 1461943101
5336+
400:
5337+
description: "bad parameter"
5338+
schema:
5339+
$ref: "#/definitions/ErrorResponse"
53365340
500:
53375341
description: "server error"
53385342
schema:

docs/api/v1.24.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,6 +2632,7 @@ Docker daemon report the following event:
26322632
**Status codes**:
26332633
26342634
- **200** – no error
2635+
- **400** - bad parameter
26352636
- **500** – server error
26362637
26372638
#### Get a tarball containing all images in a repository

0 commit comments

Comments
 (0)