|
@@ -6746,10 +6746,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"
|
|
@@ -6781,6 +6793,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"
|
|
@@ -6802,6 +6818,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"
|
|
@@ -6829,6 +6849,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"
|
|
@@ -6893,10 +6917,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:
|
|
@@ -6916,14 +6948,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"
|
|
@@ -7089,6 +7121,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:
|
|
@@ -7117,6 +7153,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:
|
|
@@ -7133,6 +7173,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"
|
|
@@ -7167,6 +7211,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:
|
|
@@ -7180,7 +7228,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:
|
|
@@ -7262,6 +7310,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"
|
|
@@ -7283,6 +7335,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"
|
|
@@ -7301,6 +7357,10 @@ paths:
|
|
|
description: "no error"
|
|
|
schema:
|
|
|
$ref: "#/definitions/ImageDeleteResponse"
|
|
|
+ 400:
|
|
|
+ description: "bad parameter"
|
|
|
+ schema:
|
|
|
+ $ref: "#/definitions/ErrorResponse"
|
|
|
404:
|
|
|
description: "no such service"
|
|
|
schema:
|
|
@@ -7309,6 +7369,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"
|
|
@@ -7397,6 +7461,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"
|
|
@@ -7566,11 +7634,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"
|
|
@@ -7604,6 +7675,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"
|
|
@@ -7636,6 +7711,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"
|
|
@@ -7664,10 +7743,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:
|
|
@@ -7676,6 +7751,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"
|
|
@@ -7712,14 +7791,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"
|
|
@@ -7743,6 +7822,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"
|