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:
@@ -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:
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
@@ -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**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user