add link query in container rm api doc

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 2972b99f1b0c615d5a6e3ee1645ed104cfb8fe94
Component: engine
This commit is contained in:
allencloud
2017-02-11 00:17:37 +08:00
parent 355bed80d8
commit 439a3c18ed
8 changed files with 19 additions and 0 deletions
+5
View File
@@ -4082,6 +4082,11 @@ paths:
description: "If the container is running, kill it before removing it."
type: "boolean"
default: false
- name: "link"
in: "query"
description: "Remove the specified link associated with the container."
type: "boolean"
default: false
tags: ["Container"]
/containers/{id}/archive:
head:
+2
View File
@@ -1056,6 +1056,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**:
+2
View File
@@ -1095,6 +1095,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**:
+2
View File
@@ -1102,6 +1102,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**:
+2
View File
@@ -1185,6 +1185,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**:
+2
View File
@@ -1364,6 +1364,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**:
+2
View File
@@ -1399,6 +1399,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**:
+2
View File
@@ -1441,6 +1441,8 @@ Remove the container `id` from the filesystem
associated to the container. Default `false`.
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
Default `false`.
- **link** - 1/True/true or 0/False/false, Remove the specified
link associated to the container. Default `false`.
**Status codes**: