|
@@ -6730,10 +6730,22 @@ paths:
|
|
|
type: "array"
|
|
|
items:
|
|
|
$ref: "#/definitions/Node"
|
|
|
+ 400:
|
|
|
+ description: "bad parameter"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
+ 404:
|
|
|
+ description: "no such node"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
500:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "filters"
|
|
|
in: "query"
|
|
@@ -6765,6 +6777,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -6786,6 +6802,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -6813,6 +6833,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -6877,10 +6901,18 @@ paths:
|
|
|
UpdatedAt: "2016-08-15T16:32:09.623207604Z"
|
|
|
Version:
|
|
|
Index: 51
|
|
|
+ 404:
|
|
|
+ description: "no such swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
500:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
tags: ["Swarm"]
|
|
|
/swarm/init:
|
|
|
post:
|
|
@@ -6900,14 +6932,14 @@ paths:
|
|
|
description: "bad parameter"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
- 406:
|
|
|
- description: "node is already part of a swarm"
|
|
|
- schema:
|
|
|
- $ref: "#/definitions/ErrorResponse"
|
|
|
500:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is already part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "body"
|
|
|
in: "body"
|
|
@@ -7073,6 +7105,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
tags: ["Swarm"]
|
|
|
/swarm/unlock:
|
|
|
post:
|
|
@@ -7101,6 +7137,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
tags: ["Swarm"]
|
|
|
/services:
|
|
|
get:
|
|
@@ -7117,6 +7157,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "filters"
|
|
|
in: "query"
|
|
@@ -7151,6 +7195,10 @@ paths:
|
|
|
example:
|
|
|
ID: "ak7w3gjqoa3kuz8xcpnyy0pvl"
|
|
|
Warning: "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
|
|
+ 400:
|
|
|
+ description: "bad parameter"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
403:
|
|
|
description: "network is not eligible for services"
|
|
|
schema:
|
|
@@ -7164,7 +7212,7 @@ paths:
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
503:
|
|
|
- description: "server error or node is not part of a swarm"
|
|
|
+ description: "node is not part of a swarm"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
@@ -7246,6 +7294,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -7267,6 +7319,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -7285,6 +7341,10 @@ paths:
|
|
|
description: "no error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ImageDeleteResponse"
|
|
|
+ 400:
|
|
|
+ description: "bad parameter"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
404:
|
|
|
description: "no such service"
|
|
|
schema:
|
|
@@ -7293,6 +7353,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -7381,6 +7445,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -7550,11 +7618,14 @@ paths:
|
|
|
Gateway: "10.255.0.1"
|
|
|
Addresses:
|
|
|
- "10.255.0.5/16"
|
|
|
-
|
|
|
500:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "filters"
|
|
|
in: "query"
|
|
@@ -7588,6 +7659,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -7620,6 +7695,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "filters"
|
|
|
in: "query"
|
|
@@ -7648,10 +7727,6 @@ paths:
|
|
|
type: "string"
|
|
|
example:
|
|
|
ID: "ktnbjxoalbkvbvedmg1urrz8h"
|
|
|
- 406:
|
|
|
- description: "server error or node is not part of a swarm"
|
|
|
- schema:
|
|
|
- $ref: "#/definitions/ErrorResponse"
|
|
|
409:
|
|
|
description: "name conflicts with an existing object"
|
|
|
schema:
|
|
@@ -7660,6 +7735,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "body"
|
|
|
in: "body"
|
|
@@ -7696,14 +7775,14 @@ paths:
|
|
|
description: "secret not found"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
- 406:
|
|
|
- description: "node is not part of a swarm"
|
|
|
- schema:
|
|
|
- $ref: "#/definitions/ErrorResponse"
|
|
|
500:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|
|
@@ -7727,6 +7806,10 @@ paths:
|
|
|
description: "server error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ErrorResponse"
|
|
|
+ 503:
|
|
|
+ description: "node is not part of a swarm"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
parameters:
|
|
|
- name: "id"
|
|
|
in: "path"
|