refine api swagger.yaml towards image create status code

Signed-off-by: erxian <evelynhsu21@gmail.com>
(cherry picked from commit 15be050fb3)
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
erxian 2016-12-02 17:05:03 +08:00 committed by Victor Vieux
parent e26de82e54
commit 487fad2a2c
8 changed files with 11 additions and 0 deletions

View file

@ -4448,6 +4448,10 @@ paths:
responses: responses:
200: 200:
description: "no error" description: "no error"
404:
description: "repository does not exist or no read access"
schema:
$ref: "#/definitions/ErrorResponse"
500: 500:
description: "server error" description: "server error"
schema: schema:

View file

@ -1294,6 +1294,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error

View file

@ -1340,6 +1340,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error

View file

@ -1494,6 +1494,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error

View file

@ -1587,6 +1587,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error

View file

@ -1785,6 +1785,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error

View file

@ -1821,6 +1821,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error

View file

@ -1818,6 +1818,7 @@ a base64-encoded AuthConfig object.
**Status codes**: **Status codes**:
- **200** no error - **200** no error
- **404** - repository does not exist or no read access
- **500** server error - **500** server error