Explorar o código

add link query in container rm api doc

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud %!s(int64=8) %!d(string=hai) anos
pai
achega
2972b99f1b
Modificáronse 8 ficheiros con 19 adicións e 0 borrados
  1. 5 0
      api/swagger.yaml
  2. 2 0
      docs/api/v1.18.md
  3. 2 0
      docs/api/v1.19.md
  4. 2 0
      docs/api/v1.20.md
  5. 2 0
      docs/api/v1.21.md
  6. 2 0
      docs/api/v1.22.md
  7. 2 0
      docs/api/v1.23.md
  8. 2 0
      docs/api/v1.24.md

+ 5 - 0
api/swagger.yaml

@@ -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 - 0
docs/api/v1.18.md

@@ -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 - 0
docs/api/v1.19.md

@@ -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 - 0
docs/api/v1.20.md

@@ -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 - 0
docs/api/v1.21.md

@@ -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 - 0
docs/api/v1.22.md

@@ -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 - 0
docs/api/v1.23.md

@@ -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 - 0
docs/api/v1.24.md

@@ -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**: