From d92d1de3d529343317e47f604963e5ad8476b3e6 Mon Sep 17 00:00:00 2001 From: Wen Cheng Ma Date: Mon, 4 Jan 2016 18:05:02 +0800 Subject: [PATCH] Update docker network api doc Signed-off-by: Wen Cheng Ma --- docs/reference/api/docker_remote_api_v1.21.md | 10 ++++++---- docs/reference/api/docker_remote_api_v1.22.md | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/reference/api/docker_remote_api_v1.21.md b/docs/reference/api/docker_remote_api_v1.21.md index d399f63a7d..56c45e594f 100644 --- a/docs/reference/api/docker_remote_api_v1.21.md +++ b/docs/reference/api/docker_remote_api_v1.21.md @@ -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 diff --git a/docs/reference/api/docker_remote_api_v1.22.md b/docs/reference/api/docker_remote_api_v1.22.md index f519e20982..8f438b6861 100644 --- a/docs/reference/api/docker_remote_api_v1.22.md +++ b/docs/reference/api/docker_remote_api_v1.22.md @@ -2995,8 +2995,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: @@ -3025,8 +3026,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: @@ -3044,11 +3046,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