From 6487d229185c57c29d78f7d24297178a05b4e2d5 Mon Sep 17 00:00:00 2001 From: miaohb Date: Wed, 30 Aug 2017 18:48:56 -0700 Subject: [PATCH] Fix error in api-ref about network-detach This patch fixes error in api-ref about network-detach. Change-Id: Ie8feb02ffba541817b9d97c3ecc50eec0110276b Closes-Bug: #1714123 --- api-ref/source/containers.inc | 5 +++-- api-ref/source/parameters.yaml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/api-ref/source/containers.inc b/api-ref/source/containers.inc index 740172df0..a1c4d94d4 100644 --- a/api-ref/source/containers.inc +++ b/api-ref/source/containers.inc @@ -695,14 +695,14 @@ Response Detach a network from a container -================================ +================================= .. rest_method:: POST /v1/containers/{container_ident}/network_detach?network={network} Detach a network from a container. Response Codes -------------- +-------------- .. rest_status_code:: success status.yaml @@ -725,4 +725,5 @@ Response This request does not return anything in the response body. .. rest_parameters:; parameters.yaml + - X-Openstack-Request-Id: request_id diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 20c0abb37..d0c16c2c0 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -17,6 +17,12 @@ force: in: query required: true type: string +network: + description: | + network to be detached of the container. + in: query + required: true + type: string timeout: description: | Seconds to wait before operating on container.