mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #19045 from wenchma/network_api_update
Update docker network api doc
This commit is contained in:
commit
180ff8d501
2 changed files with 12 additions and 8 deletions
|
@ -2797,8 +2797,9 @@ Content-Type: application/json
|
|||
|
||||
Status Codes:
|
||||
|
||||
- **201** - no error
|
||||
- **200** - no error
|
||||
- **404** - network or container is not found
|
||||
- **500** - Internal Server Error
|
||||
|
||||
JSON Parameters:
|
||||
|
||||
|
@ -2827,8 +2828,9 @@ Content-Type: application/json
|
|||
|
||||
Status Codes:
|
||||
|
||||
- **201** - no error
|
||||
- **200** - no error
|
||||
- **404** - network or container not found
|
||||
- **500** - Internal Server Error
|
||||
|
||||
JSON Parameters:
|
||||
|
||||
|
@ -2846,11 +2848,11 @@ Instruct the driver to remove the network (`id`).
|
|||
|
||||
**Example response**:
|
||||
|
||||
HTTP/1.1 204 No Content
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
Status Codes
|
||||
|
||||
- **204** - no error
|
||||
- **200** - no error
|
||||
- **404** - no such network
|
||||
- **500** - server error
|
||||
|
||||
|
|
|
@ -3043,8 +3043,9 @@ Content-Type: application/json
|
|||
|
||||
Status Codes:
|
||||
|
||||
- **201** - no error
|
||||
- **200** - no error
|
||||
- **404** - network or container is not found
|
||||
- **500** - Internal Server Error
|
||||
|
||||
JSON Parameters:
|
||||
|
||||
|
@ -3073,8 +3074,9 @@ Content-Type: application/json
|
|||
|
||||
Status Codes:
|
||||
|
||||
- **201** - no error
|
||||
- **200** - no error
|
||||
- **404** - network or container not found
|
||||
- **500** - Internal Server Error
|
||||
|
||||
JSON Parameters:
|
||||
|
||||
|
@ -3092,11 +3094,11 @@ Instruct the driver to remove the network (`id`).
|
|||
|
||||
**Example response**:
|
||||
|
||||
HTTP/1.1 204 No Content
|
||||
HTTP/1.1 200 OK
|
||||
|
||||
Status Codes
|
||||
|
||||
- **204** - no error
|
||||
- **200** - no error
|
||||
- **404** - no such network
|
||||
- **500** - server error
|
||||
|
||||
|
|
Loading…
Reference in a new issue