Sync the docker network create api docs with the error code

Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
Upstream-commit: 597835e6454be55963959f5f9d586b71517a7f1e
Component: engine
This commit is contained in:
Wen Cheng Ma
2015-12-17 17:48:50 +08:00
parent 9a50c6c5f4
commit fe1109030f
2 changed files with 4 additions and 4 deletions
@@ -2763,13 +2763,13 @@ Content-Type: application/json
Status Codes:
- **201** - no error
- **404** - driver not found
- **404** - plugin not found
- **500** - server error
JSON Parameters:
- **Name** - The new network's name. this is a mandatory field
- **Driver** - Name of the network driver to use. Defaults to `bridge` driver
- **Driver** - Name of the network driver plugin to use. Defaults to `bridge` driver
- **IPAM** - Optional custom IP scheme for the network
- **Options** - Network specific options to be used by the drivers
- **CheckDuplicate** - Requests daemon to check for networks with same name
@@ -2893,13 +2893,13 @@ Content-Type: application/json
Status Codes:
- **201** - no error
- **404** - driver not found
- **404** - plugin not found
- **500** - server error
JSON Parameters:
- **Name** - The new network's name. this is a mandatory field
- **Driver** - Name of the network driver to use. Defaults to `bridge` driver
- **Driver** - Name of the network driver plugin to use. Defaults to `bridge` driver
- **IPAM** - Optional custom IP scheme for the network
- **Options** - Network specific options to be used by the drivers
- **CheckDuplicate** - Requests daemon to check for networks with same name