Skip to content

Instantly share code, notes, and snippets.

@Ragdata
Created November 16, 2021 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ragdata/b7bf3e870476ca9c38ca3b2de344a34b to your computer and use it in GitHub Desktop.
Save Ragdata/b7bf3e870476ca9c38ca3b2de344a34b to your computer and use it in GitHub Desktop.
Docker JSON API
{
"source": "mockoon:1.15.0",
"data": [
{
"type": "environment",
"item": {
"uuid": "",
"lastMigration": 17,
"name": "Docker Engine API",
"endpointPrefix": "1.33",
"latency": 0,
"port": 3000,
"hostname": "0.0.0.0",
"routes": [
{
"uuid": "",
"documentation": "Ping",
"method": "get",
"endpoint": "_ping",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "text/plain"
},
{
"key": "API-Version",
"value": ""
},
{
"key": "Docker-Experimental",
"value": ""
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Check auth configuration",
"method": "post",
"endpoint": "auth",
"responses": [
{
"uuid": "",
"body": "{\n \"IdentityToken\": \"\",\n \"Status\": \"\"\n}",
"latency": 0,
"statusCode": 200,
"label": "An identity token was generated successfully.",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Build an image",
"method": "post",
"endpoint": "build",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "Bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete builder cache",
"method": "post",
"endpoint": "build/prune",
"responses": [
{
"uuid": "",
"body": "{\n \"SpaceReclaimed\": {{faker 'random.number'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a new image from a container",
"method": "post",
"endpoint": "commit",
"responses": [
{
"uuid": "",
"body": "{\n \"Id\": \"\"\n}",
"latency": 0,
"statusCode": 201,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List configs",
"method": "get",
"endpoint": "configs",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"CreatedAt\": \"2016-11-05T01:20:17.327Z\",\n \"ID\": \"ktnbjxoalbkvbvedmg1urrz8h\",\n \"Spec\": {\n \"Name\": \"server.conf\"\n },\n \"UpdatedAt\": \"2016-11-05T01:20:17.327Z\",\n \"Version\": {\n \"Index\": 11\n }\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a config",
"method": "post",
"endpoint": "configs/create",
"responses": [
{
"uuid": "",
"body": "{\n \"ID\": \"ktnbjxoalbkvbvedmg1urrz8h\"\n}",
"latency": 0,
"statusCode": 201,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "name conflicts with an existing object",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete a config",
"method": "delete",
"endpoint": "configs/:id",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "config not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a config",
"method": "get",
"endpoint": "configs/:id",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"\",\n \"ID\": \"\",\n \"Spec\": {\n \"Data\": \"\",\n \"Labels\": {},\n \"Name\": \"\"\n },\n \"UpdatedAt\": \"\",\n \"Version\": {\n \"Index\": 373531\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "config not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Update a Config",
"method": "post",
"endpoint": "configs/:id/update",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such config",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a container",
"method": "post",
"endpoint": "containers/create",
"responses": [
{
"uuid": "",
"body": "{\n \"Id\": \"\",\n \"Warnings\": [\n \"\"\n ]\n}",
"latency": 0,
"statusCode": 201,
"label": "Container created successfully",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "conflict",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List containers",
"method": "get",
"endpoint": "containers/json",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Command\": \"\",\n \"Created\": {{faker 'random.number'}},\n \"HostConfig\": {\n \"NetworkMode\": \"\"\n },\n \"Id\": \"\",\n \"Image\": \"\",\n \"ImageID\": \"\",\n \"Labels\": {},\n \"Mounts\": [\n {\n \"BindOptions\": {\n \"Propagation\": \"{{oneOf (array 'private' 'rprivate' 'shared' 'rshared' 'slave' 'rslave')}}\"\n },\n \"Consistency\": \"\",\n \"ReadOnly\": {{faker 'random.boolean'}},\n \"Source\": \"\",\n \"Target\": \"\",\n \"TmpfsOptions\": {\n \"Mode\": {{faker 'random.number'}},\n \"SizeBytes\": {{faker 'random.number'}}\n },\n \"Type\": \"{{oneOf (array 'bind' 'volume' 'tmpfs')}}\",\n \"VolumeOptions\": {\n \"DriverConfig\": {\n \"Name\": \"\",\n \"Options\": {}\n },\n \"Labels\": {},\n \"NoCopy\": {{faker 'random.boolean'}}\n }\n }\n ],\n \"Names\": [\n \"\"\n ],\n \"NetworkSettings\": {\n \"Networks\": {}\n },\n \"Ports\": [\n {\n \"PrivatePort\": 8080,\n \"PublicPort\": 80,\n \"Type\": \"tcp\"\n }\n ],\n \"SizeRootFs\": {{faker 'random.number'}},\n \"SizeRw\": {{faker 'random.number'}},\n \"State\": \"\",\n \"Status\": \"\"\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete stopped containers",
"method": "post",
"endpoint": "containers/prune",
"responses": [
{
"uuid": "",
"body": "{\n \"ContainersDeleted\": [\n \"\"\n ],\n \"SpaceReclaimed\": {{faker 'random.number'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Remove a container",
"method": "delete",
"endpoint": "containers/:id",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "conflict",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get an archive of a filesystem resource in a container",
"method": "get",
"endpoint": "containers/:id/archive",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 400,
"label": "Bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/x-tar"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 404,
"label": "Container or path does not exist",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/x-tar"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get information about files in a container",
"method": "head",
"endpoint": "containers/:id/archive",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "X-Docker-Container-Path-Stat",
"value": ""
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"\"\n}",
"latency": 0,
"statusCode": 400,
"label": "Bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "Container or path does not exist",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Extract an archive of files or folders to a directory in a container",
"method": "put",
"endpoint": "containers/:id/archive",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "The content was extracted successfully",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "Bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 403,
"label": "Permission denied, the volume or container rootfs is marked as read-only.",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such container or path does not exist inside the container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Attach to a container",
"method": "post",
"endpoint": "containers/:id/attach",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 101,
"label": "no error, hints proxy about hijacking",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error, no upgrade header found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/vnd.docker.raw-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/vnd.docker.raw-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Attach to a container via a websocket",
"method": "get",
"endpoint": "containers/:id/attach/ws",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 101,
"label": "no error, hints proxy about hijacking",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error, no upgrade header found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get changes on a container’s filesystem",
"method": "get",
"endpoint": "containers/:id/changes",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Kind\": \"{{oneOf (array '0' '1' '2')}}\",\n \"Path\": \"\"\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "The list of changes",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create an exec instance",
"method": "post",
"endpoint": "containers/:id/exec",
"responses": [
{
"uuid": "",
"body": "{\n \"Id\": \"\"\n}",
"latency": 0,
"statusCode": 201,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "container is paused",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Export a container",
"method": "get",
"endpoint": "containers/:id/export",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/octet-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a container",
"method": "get",
"endpoint": "containers/:id/json",
"responses": [
{
"uuid": "",
"body": "{\n \"AppArmorProfile\": \"\",\n \"Args\": [\n \"\"\n ],\n \"Config\": {\n \"ArgsEscaped\": {{faker 'random.boolean'}},\n \"AttachStderr\": true,\n \"AttachStdin\": {{faker 'random.boolean'}},\n \"AttachStdout\": true,\n \"Cmd\": [\n \"\"\n ],\n \"Domainname\": \"\",\n \"Entrypoint\": [\n \"\"\n ],\n \"Env\": [\n \"\"\n ],\n \"ExposedPorts\": {},\n \"Healthcheck\": {\n \"Interval\": {{faker 'random.number'}},\n \"Retries\": {{faker 'random.number'}},\n \"StartPeriod\": {{faker 'random.number'}},\n \"Test\": [\n \"\"\n ],\n \"Timeout\": {{faker 'random.number'}}\n },\n \"Hostname\": \"\",\n \"Image\": \"\",\n \"Labels\": {},\n \"MacAddress\": \"\",\n \"NetworkDisabled\": {{faker 'random.boolean'}},\n \"OnBuild\": [\n \"\"\n ],\n \"OpenStdin\": {{faker 'random.boolean'}},\n \"Shell\": [\n \"\"\n ],\n \"StdinOnce\": {{faker 'random.boolean'}},\n \"StopSignal\": \"SIGTERM\",\n \"StopTimeout\": 10,\n \"Tty\": {{faker 'random.boolean'}},\n \"User\": \"\",\n \"Volumes\": {\n \"additionalProperties\": \"{{oneOf (array '[object Object]')}}\"\n },\n \"WorkingDir\": \"\"\n },\n \"Created\": \"\",\n \"Driver\": \"\",\n \"ExecIDs\": \"\",\n \"GraphDriver\": {\n \"Data\": {},\n \"Name\": \"\"\n },\n \"HostConfig\": {\n \"BlkioDeviceReadBps\": [\n {\n \"Path\": \"\",\n \"Rate\": {{faker 'random.number'}}\n }\n ],\n \"BlkioDeviceReadIOps\": [\n {\n \"Path\": \"\",\n \"Rate\": {{faker 'random.number'}}\n }\n ],\n \"BlkioDeviceWriteBps\": [\n {\n \"Path\": \"\",\n \"Rate\": {{faker 'random.number'}}\n }\n ],\n \"BlkioDeviceWriteIOps\": [\n {\n \"Path\": \"\",\n \"Rate\": {{faker 'random.number'}}\n }\n ],\n \"BlkioWeight\": {{faker 'random.number'}},\n \"BlkioWeightDevice\": [\n {\n \"Path\": \"\",\n \"Weight\": {{faker 'random.number'}}\n }\n ],\n \"CgroupParent\": \"\",\n \"CpuCount\": {{faker 'random.number'}},\n \"CpuPercent\": {{faker 'random.number'}},\n \"CpuPeriod\": {{faker 'random.number'}},\n \"CpuQuota\": {{faker 'random.number'}},\n \"CpuRealtimePeriod\": {{faker 'random.number'}},\n \"CpuRealtimeRuntime\": {{faker 'random.number'}},\n \"CpuShares\": {{faker 'random.number'}},\n \"CpusetCpus\": \"0-3\",\n \"CpusetMems\": \"\",\n \"DeviceCgroupRules\": [\n \"c 13:* rwm\"\n ],\n \"Devices\": [\n {\n \"CgroupPermissions\": \"mrw\",\n \"PathInContainer\": \"/dev/deviceName\",\n \"PathOnHost\": \"/dev/deviceName\"\n }\n ],\n \"DiskQuota\": {{faker 'random.number'}},\n \"IOMaximumBandwidth\": {{faker 'random.number'}},\n \"IOMaximumIOps\": {{faker 'random.number'}},\n \"KernelMemory\": {{faker 'random.number'}},\n \"Memory\": {{faker 'random.number'}},\n \"MemoryReservation\": {{faker 'random.number'}},\n \"MemorySwap\": {{faker 'random.number'}},\n \"MemorySwappiness\": {{faker 'random.number'}},\n \"NanoCPUs\": {{faker 'random.number'}},\n \"OomKillDisable\": {{faker 'random.boolean'}},\n \"PidsLimit\": {{faker 'random.number'}},\n \"Ulimits\": [\n {\n \"Hard\": {{faker 'random.number'}},\n \"Name\": \"\",\n \"Soft\": {{faker 'random.number'}}\n }\n ]\n },\n \"HostnamePath\": \"\",\n \"HostsPath\": \"\",\n \"Id\": \"\",\n \"Image\": \"\",\n \"LogPath\": \"\",\n \"MountLabel\": \"\",\n \"Mounts\": [\n {\n \"Destination\": \"\",\n \"Driver\": \"\",\n \"Mode\": \"\",\n \"Name\": \"\",\n \"Propagation\": \"\",\n \"RW\": {{faker 'random.boolean'}},\n \"Source\": \"\",\n \"Type\": \"\"\n }\n ],\n \"Name\": \"\",\n \"NetworkSettings\": {\n \"Bridge\": \"docker0\",\n \"EndpointID\": \"b88f5b905aabf2893f3cbc4ee42d1ea7980bbc0a92e2c8922b1e1795298afb0b\",\n \"Gateway\": \"172.17.0.1\",\n \"GlobalIPv6Address\": \"2001:db8::5689\",\n \"GlobalIPv6PrefixLen\": 64,\n \"HairpinMode\": {{faker 'random.boolean'}},\n \"IPAddress\": \"172.17.0.4\",\n \"IPPrefixLen\": 16,\n \"IPv6Gateway\": \"2001:db8:2::100\",\n \"LinkLocalIPv6Address\": \"fe80::42:acff:fe11:1\",\n \"LinkLocalIPv6PrefixLen\": \"64\",\n \"MacAddress\": \"02:42:ac:11:00:04\",\n \"Networks\": {},\n \"Ports\": {\n \"2377/tcp\": null,\n \"443/tcp\": [\n {\n \"HostIp\": \"127.0.0.1\",\n \"HostPort\": \"4443\"\n }\n ],\n \"53/udp\": [\n {\n \"HostIp\": \"0.0.0.0\",\n \"HostPort\": \"53\"\n }\n ],\n \"80/tcp\": [\n {\n \"HostIp\": \"0.0.0.0\",\n \"HostPort\": \"80\"\n },\n {\n \"HostIp\": \"0.0.0.0\",\n \"HostPort\": \"8080\"\n }\n ],\n \"80/udp\": [\n {\n \"HostIp\": \"0.0.0.0\",\n \"HostPort\": \"80\"\n }\n ]\n },\n \"SandboxID\": \"9d12daf2c33f5959c8bf90aa513e4f65b561738661003029ec84830cd503a0c3\",\n \"SandboxKey\": \"/var/run/docker/netns/8ab54b426c38\",\n \"SecondaryIPAddresses\": [\n {\n \"Addr\": \"\",\n \"PrefixLen\": {{faker 'random.number'}}\n }\n ],\n \"SecondaryIPv6Addresses\": [\n {\n \"Addr\": \"\",\n \"PrefixLen\": {{faker 'random.number'}}\n }\n ]\n },\n \"Node\": {},\n \"Path\": \"\",\n \"ProcessLabel\": \"\",\n \"ResolvConfPath\": \"\",\n \"RestartCount\": {{faker 'random.number'}},\n \"SizeRootFs\": {{faker 'random.number'}},\n \"SizeRw\": {{faker 'random.number'}},\n \"State\": {\n \"Dead\": {{faker 'random.boolean'}},\n \"Error\": \"\",\n \"ExitCode\": {{faker 'random.number'}},\n \"FinishedAt\": \"\",\n \"OOMKilled\": {{faker 'random.boolean'}},\n \"Paused\": {{faker 'random.boolean'}},\n \"Pid\": {{faker 'random.number'}},\n \"Restarting\": {{faker 'random.boolean'}},\n \"Running\": {{faker 'random.boolean'}},\n \"StartedAt\": \"\",\n \"Status\": \"{{oneOf (array 'created' 'running' 'paused' 'restarting' 'removing' 'exited' 'dead')}}\"\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Kill a container",
"method": "post",
"endpoint": "containers/:id/kill",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get container logs",
"method": "get",
"endpoint": "containers/:id/logs",
"responses": [
{
"uuid": "",
"body": "\"\"",
"latency": 0,
"statusCode": 101,
"label": "logs returned as a stream",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "\"\"",
"latency": 0,
"statusCode": 200,
"label": "logs returned as a string in response body",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Pause a container",
"method": "post",
"endpoint": "containers/:id/pause",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Rename a container",
"method": "post",
"endpoint": "containers/:id/rename",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "name already in use",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Resize a container TTY",
"method": "post",
"endpoint": "containers/:id/resize",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "cannot resize container",
"headers": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Restart a container",
"method": "post",
"endpoint": "containers/:id/restart",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Start a container",
"method": "post",
"endpoint": "containers/:id/start",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 304,
"label": "container already started",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get container stats based on resource usage",
"method": "get",
"endpoint": "containers/:id/stats",
"responses": [
{
"uuid": "",
"body": "{}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Stop a container",
"method": "post",
"endpoint": "containers/:id/stop",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 304,
"label": "container already stopped",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List processes running inside a container",
"method": "get",
"endpoint": "containers/:id/top",
"responses": [
{
"uuid": "",
"body": "{\n \"Processes\": [\n [\n \"\"\n ]\n ],\n \"Titles\": [\n \"\"\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Unpause a container",
"method": "post",
"endpoint": "containers/:id/unpause",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Update a container",
"method": "post",
"endpoint": "containers/:id/update",
"responses": [
{
"uuid": "",
"body": "{\n \"Warnings\": [\n \"\"\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "The container has been updated.",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Wait for a container",
"method": "post",
"endpoint": "containers/:id/wait",
"responses": [
{
"uuid": "",
"body": "{\n \"StatusCode\": {{faker 'random.number'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "The container has exit.",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such container",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get image information from the registry",
"method": "get",
"endpoint": "distribution/:name/json",
"responses": [
{
"uuid": "",
"body": "{\n \"Descriptor\": {\n \"Digest\": \"\",\n \"MediaType\": \"\",\n \"Size\": {{faker 'random.number'}},\n \"URLs\": [\n \"\"\n ]\n },\n \"Platforms\": [\n {\n \"Architecture\": \"\",\n \"Features\": [\n \"\"\n ],\n \"OS\": \"\",\n \"OSFeatures\": [\n \"\"\n ],\n \"OSVersion\": \"\",\n \"Variant\": \"\"\n }\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "descriptor and platform information",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 401,
"label": "Failed authentication or no image found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Monitor events",
"method": "get",
"endpoint": "events",
"responses": [
{
"uuid": "",
"body": "{\n \"Action\": \"\",\n \"Actor\": {\n \"Attributes\": {},\n \"ID\": \"\"\n },\n \"Type\": \"\",\n \"time\": {{faker 'random.number'}},\n \"timeNano\": {{faker 'random.number'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect an exec instance",
"method": "get",
"endpoint": "exec/:id/json",
"responses": [
{
"uuid": "",
"body": "{\n \"ContainerID\": \"\",\n \"ExitCode\": {{faker 'random.number'}},\n \"ID\": \"\",\n \"OpenStderr\": {{faker 'random.boolean'}},\n \"OpenStdin\": {{faker 'random.boolean'}},\n \"OpenStdout\": {{faker 'random.boolean'}},\n \"Pid\": {{faker 'random.number'}},\n \"ProcessConfig\": {\n \"arguments\": [\n \"\"\n ],\n \"entrypoint\": \"\",\n \"privileged\": {{faker 'random.boolean'}},\n \"tty\": {{faker 'random.boolean'}},\n \"user\": \"\"\n },\n \"Running\": {{faker 'random.boolean'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such exec instance",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Resize an exec instance",
"method": "post",
"endpoint": "exec/:id/resize",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 201,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such exec instance",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Start an exec instance",
"method": "post",
"endpoint": "exec/:id/start",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 404,
"label": "No such exec instance",
"headers": [
{
"key": "Content-Type",
"value": "application/vnd.docker.raw-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 409,
"label": "Container is stopped or paused",
"headers": [
{
"key": "Content-Type",
"value": "application/vnd.docker.raw-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create an image",
"method": "post",
"endpoint": "images/create",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "repository does not exist or no read access",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Export several images",
"method": "get",
"endpoint": "images/get",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/x-tar"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/x-tar"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List Images",
"method": "get",
"endpoint": "images/json",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Containers\": {{faker 'random.number'}},\n \"Created\": {{faker 'random.number'}},\n \"Id\": \"\",\n \"Labels\": {},\n \"ParentId\": \"\",\n \"RepoDigests\": [\n \"\"\n ],\n \"RepoTags\": [\n \"\"\n ],\n \"SharedSize\": {{faker 'random.number'}},\n \"Size\": {{faker 'random.number'}},\n \"VirtualSize\": {{faker 'random.number'}}\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "Summary image data for the images matching the query",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Import images",
"method": "post",
"endpoint": "images/load",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete unused images",
"method": "post",
"endpoint": "images/prune",
"responses": [
{
"uuid": "",
"body": "{\n \"ImagesDeleted\": [\n {\n \"Deleted\": \"\",\n \"Untagged\": \"\"\n }\n ],\n \"SpaceReclaimed\": {{faker 'random.number'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Search images",
"method": "get",
"endpoint": "images/search",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"description\": \"\",\n \"is_automated\": {{faker 'random.boolean'}},\n \"is_official\": {{faker 'random.boolean'}},\n \"name\": \"\",\n \"star_count\": {{faker 'random.number'}}\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Remove an image",
"method": "delete",
"endpoint": "images/:name",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Deleted\": \"\",\n \"Untagged\": \"\"\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "The image was deleted successfully",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such image",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "Conflict",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Export an image",
"method": "get",
"endpoint": "images/:name/get",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/x-tar"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/x-tar"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get the history of an image",
"method": "get",
"endpoint": "images/:name/history",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Comment\": \"\",\n \"Created\": {{faker 'random.number'}},\n \"CreatedBy\": \"\",\n \"Id\": \"\",\n \"Size\": {{faker 'random.number'}},\n \"Tags\": [\n \"\"\n ]\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "List of image layers",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such image",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect an image",
"method": "get",
"endpoint": "images/:name/json",
"responses": [
{
"uuid": "",
"body": "{\n \"Architecture\": \"\",\n \"Author\": \"\",\n \"Comment\": \"\",\n \"Config\": {\n \"ArgsEscaped\": {{faker 'random.boolean'}},\n \"AttachStderr\": true,\n \"AttachStdin\": {{faker 'random.boolean'}},\n \"AttachStdout\": true,\n \"Cmd\": [\n \"\"\n ],\n \"Domainname\": \"\",\n \"Entrypoint\": [\n \"\"\n ],\n \"Env\": [\n \"\"\n ],\n \"ExposedPorts\": {},\n \"Healthcheck\": {\n \"Interval\": {{faker 'random.number'}},\n \"Retries\": {{faker 'random.number'}},\n \"StartPeriod\": {{faker 'random.number'}},\n \"Test\": [\n \"\"\n ],\n \"Timeout\": {{faker 'random.number'}}\n },\n \"Hostname\": \"\",\n \"Image\": \"\",\n \"Labels\": {},\n \"MacAddress\": \"\",\n \"NetworkDisabled\": {{faker 'random.boolean'}},\n \"OnBuild\": [\n \"\"\n ],\n \"OpenStdin\": {{faker 'random.boolean'}},\n \"Shell\": [\n \"\"\n ],\n \"StdinOnce\": {{faker 'random.boolean'}},\n \"StopSignal\": \"SIGTERM\",\n \"StopTimeout\": 10,\n \"Tty\": {{faker 'random.boolean'}},\n \"User\": \"\",\n \"Volumes\": {\n \"additionalProperties\": \"{{oneOf (array '[object Object]')}}\"\n },\n \"WorkingDir\": \"\"\n },\n \"Container\": \"\",\n \"ContainerConfig\": {\n \"ArgsEscaped\": {{faker 'random.boolean'}},\n \"AttachStderr\": true,\n \"AttachStdin\": {{faker 'random.boolean'}},\n \"AttachStdout\": true,\n \"Cmd\": [\n \"\"\n ],\n \"Domainname\": \"\",\n \"Entrypoint\": [\n \"\"\n ],\n \"Env\": [\n \"\"\n ],\n \"ExposedPorts\": {},\n \"Healthcheck\": {\n \"Interval\": {{faker 'random.number'}},\n \"Retries\": {{faker 'random.number'}},\n \"StartPeriod\": {{faker 'random.number'}},\n \"Test\": [\n \"\"\n ],\n \"Timeout\": {{faker 'random.number'}}\n },\n \"Hostname\": \"\",\n \"Image\": \"\",\n \"Labels\": {},\n \"MacAddress\": \"\",\n \"NetworkDisabled\": {{faker 'random.boolean'}},\n \"OnBuild\": [\n \"\"\n ],\n \"OpenStdin\": {{faker 'random.boolean'}},\n \"Shell\": [\n \"\"\n ],\n \"StdinOnce\": {{faker 'random.boolean'}},\n \"StopSignal\": \"SIGTERM\",\n \"StopTimeout\": 10,\n \"Tty\": {{faker 'random.boolean'}},\n \"User\": \"\",\n \"Volumes\": {\n \"additionalProperties\": \"{{oneOf (array '[object Object]')}}\"\n },\n \"WorkingDir\": \"\"\n },\n \"Created\": \"\",\n \"DockerVersion\": \"\",\n \"GraphDriver\": {\n \"Data\": {},\n \"Name\": \"\"\n },\n \"Id\": \"\",\n \"Metadata\": {\n \"LastTagTime\": \"\"\n },\n \"Os\": \"\",\n \"OsVersion\": \"\",\n \"Parent\": \"\",\n \"RepoDigests\": [\n \"\"\n ],\n \"RepoTags\": [\n \"\"\n ],\n \"RootFS\": {\n \"BaseLayer\": \"\",\n \"Layers\": [\n \"\"\n ],\n \"Type\": \"\"\n },\n \"Size\": {{faker 'random.number'}},\n \"VirtualSize\": {{faker 'random.number'}}\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such image",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Push an image",
"method": "post",
"endpoint": "images/:name/push",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such image",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Tag an image",
"method": "post",
"endpoint": "images/:name/tag",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 201,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "Bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such image",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "Conflict",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get system information",
"method": "get",
"endpoint": "info",
"responses": [
{
"uuid": "",
"body": "{\n \"Architecture\": \"x86_64\",\n \"BridgeNfIp6tables\": true,\n \"BridgeNfIptables\": true,\n \"CPUSet\": true,\n \"CPUShares\": true,\n \"CgroupDriver\": \"{{oneOf (array 'cgroupfs' 'systemd')}}\",\n \"ClusterAdvertise\": \"node5.corp.example.com:8000\",\n \"ClusterStore\": \"consul://consul.corp.example.com:8600/some/path\",\n \"ContainerdCommit\": {\n \"Expected\": \"2d41c047c83e09a6d61d464906feb2a2f3c52aa4\",\n \"ID\": \"cfb82a876ecc11b5ca0977d1733adbe58599088a\"\n },\n \"Containers\": 14,\n \"ContainersPaused\": 1,\n \"ContainersRunning\": 3,\n \"ContainersStopped\": 10,\n \"CpuCfsPeriod\": true,\n \"CpuCfsQuota\": true,\n \"Debug\": true,\n \"DefaultRuntime\": \"runc\",\n \"DockerRootDir\": \"/var/lib/docker\",\n \"Driver\": \"overlay2\",\n \"DriverStatus\": [\n [\n \"Backing Filesystem\",\n \"extfs\"\n ],\n [\n \"Supports d_type\",\n \"true\"\n ],\n [\n \"Native Overlay Diff\",\n \"true\"\n ]\n ],\n \"ExperimentalBuild\": true,\n \"GenericResources\": [\n {\n \"DiscreteResourceSpec\": {\n \"Kind\": \"SSD\",\n \"Value\": 3\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID1\"\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID2\"\n }\n }\n ],\n \"HttpProxy\": \"http://user:pass@proxy.corp.example.com:8080\",\n \"HttpsProxy\": \"https://user:pass@proxy.corp.example.com:4443\",\n \"ID\": \"7TRN:IPZB:QYBB:VPBQ:UMPP:KARE:6ZNR:XE6T:7EWV:PKF4:ZOJD:TPYS\",\n \"IPv4Forwarding\": true,\n \"Images\": 508,\n \"IndexServerAddress\": \"https://index.docker.io/v1/\",\n \"InitBinary\": \"docker-init\",\n \"InitCommit\": {\n \"Expected\": \"2d41c047c83e09a6d61d464906feb2a2f3c52aa4\",\n \"ID\": \"cfb82a876ecc11b5ca0977d1733adbe58599088a\"\n },\n \"Isolation\": \"{{oneOf (array 'default' 'hyperv' 'process')}}\",\n \"KernelMemory\": true,\n \"KernelVersion\": \"4.9.38-moby\",\n \"Labels\": [\n \"storage=ssd\",\n \"production\"\n ],\n \"LiveRestoreEnabled\": {{faker 'random.boolean'}},\n \"LoggingDriver\": \"\",\n \"MemTotal\": 2095882240,\n \"MemoryLimit\": true,\n \"NCPU\": 4,\n \"NEventsListener\": 30,\n \"NFd\": 64,\n \"NGoroutines\": 174,\n \"Name\": \"node5.corp.example.com\",\n \"NoProxy\": \"*.local, 169.254/16\",\n \"OSType\": \"linux\",\n \"OomKillDisable\": {{faker 'random.boolean'}},\n \"OperatingSystem\": \"Alpine Linux v3.5\",\n \"Plugins\": {\n \"Authorization\": [\n \"img-authz-plugin\",\n \"hbm\"\n ],\n \"Log\": [\n \"awslogs\",\n \"fluentd\",\n \"gcplogs\",\n \"gelf\",\n \"journald\",\n \"json-file\",\n \"logentries\",\n \"splunk\",\n \"syslog\"\n ],\n \"Network\": [\n \"bridge\",\n \"host\",\n \"ipvlan\",\n \"macvlan\",\n \"null\",\n \"overlay\"\n ],\n \"Volume\": [\n \"local\"\n ]\n },\n \"RegistryConfig\": {\n \"AllowNondistributableArtifactsCIDRs\": [\n \"::1/128\",\n \"127.0.0.0/8\"\n ],\n \"AllowNondistributableArtifactsHostnames\": [\n \"registry.internal.corp.example.com:3000\",\n \"[2001:db8:a0b:12f0::1]:443\"\n ],\n \"IndexConfigs\": {\n \"127.0.0.1:5000\": {\n \"Mirrors\": [],\n \"Name\": \"127.0.0.1:5000\",\n \"Official\": false,\n \"Secure\": false\n },\n \"[2001:db8:a0b:12f0::1]:80\": {\n \"Mirrors\": [],\n \"Name\": \"[2001:db8:a0b:12f0::1]:80\",\n \"Official\": false,\n \"Secure\": false\n },\n \"docker.io\": {\n \"Mirrors\": [\n \"https://hub-mirror.corp.example.com:5000/\"\n ],\n \"Name\": \"docker.io\",\n \"Official\": true,\n \"Secure\": true\n },\n \"registry.internal.corp.example.com:3000\": {\n \"Mirrors\": [],\n \"Name\": \"registry.internal.corp.example.com:3000\",\n \"Official\": false,\n \"Secure\": false\n }\n },\n \"InsecureRegistryCIDRs\": [\n \"::1/128\",\n \"127.0.0.0/8\"\n ],\n \"Mirrors\": [\n \"https://hub-mirror.corp.example.com:5000/\",\n \"https://[2001:db8:a0b:12f0::1]/\"\n ]\n },\n \"RuncCommit\": {\n \"Expected\": \"2d41c047c83e09a6d61d464906feb2a2f3c52aa4\",\n \"ID\": \"cfb82a876ecc11b5ca0977d1733adbe58599088a\"\n },\n \"Runtimes\": {\n \"custom\": {\n \"path\": \"/usr/local/bin/my-oci-runtime\",\n \"runtimeArgs\": [\n \"--debug\",\n \"--systemd-cgroup=false\"\n ]\n },\n \"runc\": {\n \"path\": \"docker-runc\"\n },\n \"runc-master\": {\n \"path\": \"/go/bin/runc\"\n }\n },\n \"SecurityOptions\": [\n \"name=apparmor\",\n \"name=seccomp,profile=default\",\n \"name=selinux\",\n \"name=userns\"\n ],\n \"ServerVersion\": \"17.06.0-ce\",\n \"SwapLimit\": true,\n \"Swarm\": {\n \"Cluster\": {\n \"CreatedAt\": \"2016-08-18T10:44:24.496Z\",\n \"ID\": \"abajmipo7b4xz5ip2nrla6b11\",\n \"RootRotationInProgress\": {{faker 'random.boolean'}},\n \"Spec\": {\n \"CAConfig\": {\n \"ExternalCAs\": [\n {\n \"CACert\": \"\",\n \"Options\": {},\n \"Protocol\": \"{{oneOf (array 'cfssl')}}\",\n \"URL\": \"\"\n }\n ],\n \"ForceRotate\": {{faker 'random.number'}},\n \"NodeCertExpiry\": 7776000000000000,\n \"SigningCACert\": \"\",\n \"SigningCAKey\": \"\"\n },\n \"Dispatcher\": {\n \"HeartbeatPeriod\": 5000000000\n },\n \"EncryptionConfig\": {\n \"AutoLockManagers\": {{faker 'random.boolean'}}\n },\n \"Labels\": {\n \"com.example.corp.department\": \"engineering\",\n \"com.example.corp.type\": \"production\"\n },\n \"Name\": \"default\",\n \"Orchestration\": {\n \"TaskHistoryRetentionLimit\": 10\n },\n \"Raft\": {\n \"ElectionTick\": 3,\n \"HeartbeatTick\": 1,\n \"KeepOldSnapshots\": {{faker 'random.number'}},\n \"LogEntriesForSlowFollowers\": 500,\n \"SnapshotInterval\": 10000\n },\n \"TaskDefaults\": {\n \"LogDriver\": {\n \"Name\": \"json-file\",\n \"Options\": {\n \"max-file\": \"10\",\n \"max-size\": \"100m\"\n }\n }\n }\n },\n \"TLSInfo\": {\n \"CertIssuerPublicKey\": \"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A==\",\n \"CertIssuerSubject\": \"MBMxETAPBgNVBAMTCHN3YXJtLWNh\",\n \"TrustRoot\": \"-----BEGIN CERTIFICATE-----\\nMIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw\\nEzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0\\nMzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH\\nA0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf\\n3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB\\nAf8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO\\nPQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz\\npxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H\\n-----END CERTIFICATE-----\\n\"\n },\n \"UpdatedAt\": \"2017-08-09T07:09:37.632Z\",\n \"Version\": {\n \"Index\": 373531\n }\n },\n \"ControlAvailable\": true,\n \"Error\": \"\",\n \"LocalNodeState\": \"{{oneOf (array '' 'inactive' 'pending' 'active' 'error' 'locked')}}\",\n \"Managers\": 3,\n \"NodeAddr\": \"10.0.0.46\",\n \"NodeID\": \"k67qz4598weg5unwwffg6z1m1\",\n \"Nodes\": 4,\n \"RemoteManagers\": [\n {\n \"Addr\": \"10.0.0.158:2377\",\n \"NodeID\": \"71izy0goik036k48jg985xnds\"\n },\n {\n \"Addr\": \"10.0.0.159:2377\",\n \"NodeID\": \"79y6h1o4gv8n120drcprv5nmc\"\n },\n {\n \"Addr\": \"10.0.0.46:2377\",\n \"NodeID\": \"k67qz4598weg5unwwffg6z1m1\"\n }\n ]\n },\n \"SystemStatus\": [\n [\n \"Role\",\n \"primary\"\n ],\n [\n \"State\",\n \"Healthy\"\n ],\n [\n \"Strategy\",\n \"spread\"\n ],\n [\n \"Filters\",\n \"health, port, containerslots, dependency, affinity, constraint, whitelist\"\n ],\n [\n \"Nodes\",\n \"2\"\n ],\n [\n \" swarm-agent-00\",\n \"192.168.99.102:2376\"\n ],\n [\n \" └ ID\",\n \"5CT6:FBGO:RVGO:CZL4:PB2K:WCYN:2JSV:KSHH:GGFW:QOPG:6J5Q:IOZ2|192.168.99.102:2376\"\n ],\n [\n \" └ Status\",\n \"Healthy\"\n ],\n [\n \" └ Containers\",\n \"1 (1 Running, 0 Paused, 0 Stopped)\"\n ],\n [\n \" └ Reserved CPUs\",\n \"0 / 1\"\n ],\n [\n \" └ Reserved Memory\",\n \"0 B / 1.021 GiB\"\n ],\n [\n \" └ Labels\",\n \"kernelversion=4.4.74-boot2docker, operatingsystem=Boot2Docker 17.06.0-ce (TCL 7.2); HEAD : 0672754 - Thu Jun 29 00:06:31 UTC 2017, ostype=linux, provider=virtualbox, storagedriver=aufs\"\n ],\n [\n \" └ UpdatedAt\",\n \"2017-08-09T10:03:46.000Z\"\n ],\n [\n \" └ ServerVersion\",\n \"17.06.0-ce\"\n ],\n [\n \" swarm-manager\",\n \"192.168.99.101:2376\"\n ],\n [\n \" └ ID\",\n \"TAMD:7LL3:SEF7:LW2W:4Q2X:WVFH:RTXX:JSYS:XY2P:JEHL:ZMJK:JGIW|192.168.99.101:2376\"\n ],\n [\n \" └ Status\",\n \"Healthy\"\n ],\n [\n \" └ Containers\",\n \"2 (2 Running, 0 Paused, 0 Stopped)\"\n ],\n [\n \" └ Reserved CPUs\",\n \"0 / 1\"\n ],\n [\n \" └ Reserved Memory\",\n \"0 B / 1.021 GiB\"\n ],\n [\n \" └ Labels\",\n \"kernelversion=4.4.74-boot2docker, operatingsystem=Boot2Docker 17.06.0-ce (TCL 7.2); HEAD : 0672754 - Thu Jun 29 00:06:31 UTC 2017, ostype=linux, provider=virtualbox, storagedriver=aufs\"\n ],\n [\n \" └ UpdatedAt\",\n \"2017-08-09T10:04:11.000Z\"\n ],\n [\n \" └ ServerVersion\",\n \"17.06.0-ce\"\n ]\n ],\n \"SystemTime\": \"2017-08-08T20:28:29.062Z\"\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List networks",
"method": "get",
"endpoint": "networks",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Attachable\": false,\n \"Containers\": {\n \"19a4d5d687db25203351ed79d478946f861258f018fe384f229f2efa4b23513c\": {\n \"EndpointID\": \"628cadb8bcb92de107b2a1e516cbffe463e321f548feb37697cce00ad694f21a\",\n \"IPv4Address\": \"172.19.0.2/16\",\n \"IPv6Address\": \"\",\n \"MacAddress\": \"02:42:ac:13:00:02\",\n \"Name\": \"test\"\n }\n },\n \"Created\": \"2016-10-19T04:33:30.360Z\",\n \"Driver\": \"bridge\",\n \"EnableIPv6\": false,\n \"IPAM\": {\n \"Config\": [\n {\n \"Gateway\": \"172.19.0.1\",\n \"Subnet\": \"172.19.0.0/16\"\n }\n ],\n \"Driver\": \"default\",\n \"Options\": {\n \"foo\": \"bar\"\n }\n },\n \"Id\": \"7d86d31b1478e7cca9ebed7e73aa0fdeec46c5ca29497431d3007d2d9e15ed99\",\n \"Ingress\": false,\n \"Internal\": false,\n \"Labels\": {\n \"com.example.some-label\": \"some-value\",\n \"com.example.some-other-label\": \"some-other-value\"\n },\n \"Name\": \"net01\",\n \"Options\": {\n \"com.docker.network.bridge.default_bridge\": \"true\",\n \"com.docker.network.bridge.enable_icc\": \"true\",\n \"com.docker.network.bridge.enable_ip_masquerade\": \"true\",\n \"com.docker.network.bridge.host_binding_ipv4\": \"0.0.0.0\",\n \"com.docker.network.bridge.name\": \"docker0\",\n \"com.docker.network.driver.mtu\": \"1500\"\n },\n \"Scope\": \"local\"\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a network",
"method": "post",
"endpoint": "networks/create",
"responses": [
{
"uuid": "",
"body": "{\n \"Id\": \"22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30\",\n \"Warning\": \"\"\n}",
"latency": 0,
"statusCode": 201,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 403,
"label": "operation not supported for pre-defined networks",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete unused networks",
"method": "post",
"endpoint": "networks/prune",
"responses": [
{
"uuid": "",
"body": "{\n \"NetworksDeleted\": [\n \"\"\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Remove a network",
"method": "delete",
"endpoint": "networks/:id",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 403,
"label": "operation not supported for pre-defined networks",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such network",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a network",
"method": "get",
"endpoint": "networks/:id",
"responses": [
{
"uuid": "",
"body": "{\n \"Attachable\": false,\n \"Containers\": {\n \"19a4d5d687db25203351ed79d478946f861258f018fe384f229f2efa4b23513c\": {\n \"EndpointID\": \"628cadb8bcb92de107b2a1e516cbffe463e321f548feb37697cce00ad694f21a\",\n \"IPv4Address\": \"172.19.0.2/16\",\n \"IPv6Address\": \"\",\n \"MacAddress\": \"02:42:ac:13:00:02\",\n \"Name\": \"test\"\n }\n },\n \"Created\": \"2016-10-19T04:33:30.360Z\",\n \"Driver\": \"bridge\",\n \"EnableIPv6\": false,\n \"IPAM\": {\n \"Config\": [\n {\n \"Gateway\": \"172.19.0.1\",\n \"Subnet\": \"172.19.0.0/16\"\n }\n ],\n \"Driver\": \"default\",\n \"Options\": {\n \"foo\": \"bar\"\n }\n },\n \"Id\": \"7d86d31b1478e7cca9ebed7e73aa0fdeec46c5ca29497431d3007d2d9e15ed99\",\n \"Ingress\": false,\n \"Internal\": false,\n \"Labels\": {\n \"com.example.some-label\": \"some-value\",\n \"com.example.some-other-label\": \"some-other-value\"\n },\n \"Name\": \"net01\",\n \"Options\": {\n \"com.docker.network.bridge.default_bridge\": \"true\",\n \"com.docker.network.bridge.enable_icc\": \"true\",\n \"com.docker.network.bridge.enable_ip_masquerade\": \"true\",\n \"com.docker.network.bridge.host_binding_ipv4\": \"0.0.0.0\",\n \"com.docker.network.bridge.name\": \"docker0\",\n \"com.docker.network.driver.mtu\": \"1500\"\n },\n \"Scope\": \"local\"\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "Network not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Connect a container to a network",
"method": "post",
"endpoint": "networks/:id/connect",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 403,
"label": "Operation not supported for swarm scoped networks",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "Network or container not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Disconnect a container from a network",
"method": "post",
"endpoint": "networks/:id/disconnect",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 403,
"label": "Operation not supported for swarm scoped networks",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "Network or container not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List nodes",
"method": "get",
"endpoint": "nodes",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"CreatedAt\": \"2016-08-18T10:44:24.496Z\",\n \"Description\": {\n \"Engine\": {\n \"EngineVersion\": \"17.06.0\",\n \"Labels\": {\n \"foo\": \"bar\"\n },\n \"Plugins\": [\n {\n \"Name\": \"awslogs\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"fluentd\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"gcplogs\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"gelf\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"journald\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"json-file\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"logentries\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"splunk\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"syslog\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"bridge\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"host\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"ipvlan\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"macvlan\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"null\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"overlay\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"local\",\n \"Type\": \"Volume\"\n },\n {\n \"Name\": \"localhost:5000/vieux/sshfs:latest\",\n \"Type\": \"Volume\"\n },\n {\n \"Name\": \"vieux/sshfs:latest\",\n \"Type\": \"Volume\"\n }\n ]\n },\n \"Hostname\": \"bf3067039e47\",\n \"Platform\": {\n \"Architecture\": \"x86_64\",\n \"OS\": \"linux\"\n },\n \"Resources\": {\n \"GenericResources\": [\n {\n \"DiscreteResourceSpec\": {\n \"Kind\": \"SSD\",\n \"Value\": 3\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID1\"\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID2\"\n }\n }\n ],\n \"MemoryBytes\": 8272408576,\n \"NanoCPUs\": 4000000000\n },\n \"TLSInfo\": {\n \"CertIssuerPublicKey\": \"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A==\",\n \"CertIssuerSubject\": \"MBMxETAPBgNVBAMTCHN3YXJtLWNh\",\n \"TrustRoot\": \"-----BEGIN CERTIFICATE-----\\nMIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw\\nEzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0\\nMzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH\\nA0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf\\n3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB\\nAf8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO\\nPQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz\\npxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H\\n-----END CERTIFICATE-----\\n\"\n }\n },\n \"ID\": \"24ifsmvkjbyhk\",\n \"ManagerStatus\": {\n \"Addr\": \"10.0.0.46:2377\",\n \"Leader\": true,\n \"Reachability\": \"{{oneOf (array 'unknown' 'unreachable' 'reachable')}}\"\n },\n \"Spec\": {\n \"Availability\": \"active\",\n \"Labels\": {\n \"foo\": \"bar\"\n },\n \"Name\": \"node-name\",\n \"Role\": \"manager\"\n },\n \"Status\": {\n \"Addr\": \"172.17.0.2\",\n \"Message\": \"\",\n \"State\": \"{{oneOf (array 'unknown' 'down' 'ready' 'disconnected')}}\"\n },\n \"UpdatedAt\": \"2017-08-09T07:09:37.632Z\",\n \"Version\": {\n \"Index\": 373531\n }\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete a node",
"method": "delete",
"endpoint": "nodes/:id",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such node",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a node",
"method": "get",
"endpoint": "nodes/:id",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"2016-08-18T10:44:24.496Z\",\n \"Description\": {\n \"Engine\": {\n \"EngineVersion\": \"17.06.0\",\n \"Labels\": {\n \"foo\": \"bar\"\n },\n \"Plugins\": [\n {\n \"Name\": \"awslogs\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"fluentd\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"gcplogs\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"gelf\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"journald\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"json-file\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"logentries\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"splunk\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"syslog\",\n \"Type\": \"Log\"\n },\n {\n \"Name\": \"bridge\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"host\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"ipvlan\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"macvlan\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"null\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"overlay\",\n \"Type\": \"Network\"\n },\n {\n \"Name\": \"local\",\n \"Type\": \"Volume\"\n },\n {\n \"Name\": \"localhost:5000/vieux/sshfs:latest\",\n \"Type\": \"Volume\"\n },\n {\n \"Name\": \"vieux/sshfs:latest\",\n \"Type\": \"Volume\"\n }\n ]\n },\n \"Hostname\": \"bf3067039e47\",\n \"Platform\": {\n \"Architecture\": \"x86_64\",\n \"OS\": \"linux\"\n },\n \"Resources\": {\n \"GenericResources\": [\n {\n \"DiscreteResourceSpec\": {\n \"Kind\": \"SSD\",\n \"Value\": 3\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID1\"\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID2\"\n }\n }\n ],\n \"MemoryBytes\": 8272408576,\n \"NanoCPUs\": 4000000000\n },\n \"TLSInfo\": {\n \"CertIssuerPublicKey\": \"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A==\",\n \"CertIssuerSubject\": \"MBMxETAPBgNVBAMTCHN3YXJtLWNh\",\n \"TrustRoot\": \"-----BEGIN CERTIFICATE-----\\nMIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw\\nEzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0\\nMzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH\\nA0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf\\n3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB\\nAf8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO\\nPQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz\\npxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H\\n-----END CERTIFICATE-----\\n\"\n }\n },\n \"ID\": \"24ifsmvkjbyhk\",\n \"ManagerStatus\": {\n \"Addr\": \"10.0.0.46:2377\",\n \"Leader\": true,\n \"Reachability\": \"{{oneOf (array 'unknown' 'unreachable' 'reachable')}}\"\n },\n \"Spec\": {\n \"Availability\": \"active\",\n \"Labels\": {\n \"foo\": \"bar\"\n },\n \"Name\": \"node-name\",\n \"Role\": \"manager\"\n },\n \"Status\": {\n \"Addr\": \"172.17.0.2\",\n \"Message\": \"\",\n \"State\": \"{{oneOf (array 'unknown' 'down' 'ready' 'disconnected')}}\"\n },\n \"UpdatedAt\": \"2017-08-09T07:09:37.632Z\",\n \"Version\": {\n \"Index\": 373531\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such node",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Update a node",
"method": "post",
"endpoint": "nodes/:id/update",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such node",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List plugins",
"method": "get",
"endpoint": "plugins",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Config\": {\n \"Args\": {\n \"Description\": \"command line arguments\",\n \"Name\": \"args\",\n \"Settable\": [\n \"\"\n ],\n \"Value\": [\n \"\"\n ]\n },\n \"Description\": \"A sample volume plugin for Docker\",\n \"DockerVersion\": \"17.06.0-ce\",\n \"Documentation\": \"https://docs.docker.com/engine/extend/plugins/\",\n \"Entrypoint\": [\n \"/usr/bin/sample-volume-plugin\",\n \"/data\"\n ],\n \"Env\": [\n {\n \"Description\": \"If set, prints debug messages\",\n \"Name\": \"DEBUG\",\n \"Settable\": null,\n \"Value\": \"0\"\n }\n ],\n \"Interface\": {\n \"Socket\": \"plugins.sock\",\n \"Types\": [\n \"docker.volumedriver/1.0\"\n ]\n },\n \"IpcHost\": {{faker 'random.boolean'}},\n \"Linux\": {\n \"AllowAllDevices\": {{faker 'random.boolean'}},\n \"Capabilities\": [\n \"CAP_SYS_ADMIN\",\n \"CAP_SYSLOG\"\n ],\n \"Devices\": [\n {\n \"Description\": \"\",\n \"Name\": \"\",\n \"Path\": \"/dev/fuse\",\n \"Settable\": [\n \"\"\n ]\n }\n ]\n },\n \"Mounts\": [\n {\n \"Description\": \"This is a mount that's used by the plugin.\",\n \"Destination\": \"/mnt/state\",\n \"Name\": \"some-mount\",\n \"Options\": [\n \"rbind\",\n \"rw\"\n ],\n \"Settable\": [\n \"\"\n ],\n \"Source\": \"/var/lib/docker/plugins/\",\n \"Type\": \"bind\"\n }\n ],\n \"Network\": {\n \"Type\": \"host\"\n },\n \"PidHost\": {{faker 'random.boolean'}},\n \"PropagatedMount\": \"/mnt/volumes\",\n \"User\": {\n \"GID\": 1000,\n \"UID\": 1000\n },\n \"WorkDir\": \"/bin/\",\n \"rootfs\": {\n \"diff_ids\": [\n \"sha256:675532206fbf3030b8458f88d6e26d4eb1577688a25efec97154c94e8b6b4887\",\n \"sha256:e216a057b1cb1efc11f8a268f37ef62083e70b1b38323ba252e25ac88904a7e8\"\n ],\n \"type\": \"layers\"\n }\n },\n \"Enabled\": true,\n \"Id\": \"5724e2c8652da337ab2eedd19fc6fc0ec908e4bd907c7421bf6a8dfc70c4c078\",\n \"Name\": \"tiborvass/sample-volume-plugin\",\n \"PluginReference\": \"localhost:5000/tiborvass/sample-volume-plugin:latest\",\n \"Settings\": {\n \"Args\": [\n \"\"\n ],\n \"Devices\": [\n {\n \"Description\": \"\",\n \"Name\": \"\",\n \"Path\": \"/dev/fuse\",\n \"Settable\": [\n \"\"\n ]\n }\n ],\n \"Env\": [\n \"DEBUG=0\"\n ],\n \"Mounts\": [\n {\n \"Description\": \"This is a mount that's used by the plugin.\",\n \"Destination\": \"/mnt/state\",\n \"Name\": \"some-mount\",\n \"Options\": [\n \"rbind\",\n \"rw\"\n ],\n \"Settable\": [\n \"\"\n ],\n \"Source\": \"/var/lib/docker/plugins/\",\n \"Type\": \"bind\"\n }\n ]\n }\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a plugin",
"method": "post",
"endpoint": "plugins/create",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get plugin privileges",
"method": "get",
"endpoint": "plugins/privileges",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"Description\": \"\",\n \"Name\": \"network\",\n \"Value\": [\n \"host\"\n ]\n },\n {\n \"Description\": \"\",\n \"Name\": \"mount\",\n \"Value\": [\n \"/data\"\n ]\n },\n {\n \"Description\": \"\",\n \"Name\": \"device\",\n \"Value\": [\n \"/dev/cpu_dma_latency\"\n ]\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Install a plugin",
"method": "post",
"endpoint": "plugins/pull",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Remove a plugin",
"method": "delete",
"endpoint": "plugins/:name",
"responses": [
{
"uuid": "",
"body": "{\n \"Config\": {\n \"Args\": {\n \"Description\": \"command line arguments\",\n \"Name\": \"args\",\n \"Settable\": [\n \"\"\n ],\n \"Value\": [\n \"\"\n ]\n },\n \"Description\": \"A sample volume plugin for Docker\",\n \"DockerVersion\": \"17.06.0-ce\",\n \"Documentation\": \"https://docs.docker.com/engine/extend/plugins/\",\n \"Entrypoint\": [\n \"/usr/bin/sample-volume-plugin\",\n \"/data\"\n ],\n \"Env\": [\n {\n \"Description\": \"If set, prints debug messages\",\n \"Name\": \"DEBUG\",\n \"Settable\": null,\n \"Value\": \"0\"\n }\n ],\n \"Interface\": {\n \"Socket\": \"plugins.sock\",\n \"Types\": [\n \"docker.volumedriver/1.0\"\n ]\n },\n \"IpcHost\": {{faker 'random.boolean'}},\n \"Linux\": {\n \"AllowAllDevices\": {{faker 'random.boolean'}},\n \"Capabilities\": [\n \"CAP_SYS_ADMIN\",\n \"CAP_SYSLOG\"\n ],\n \"Devices\": [\n {\n \"Description\": \"\",\n \"Name\": \"\",\n \"Path\": \"/dev/fuse\",\n \"Settable\": [\n \"\"\n ]\n }\n ]\n },\n \"Mounts\": [\n {\n \"Description\": \"This is a mount that's used by the plugin.\",\n \"Destination\": \"/mnt/state\",\n \"Name\": \"some-mount\",\n \"Options\": [\n \"rbind\",\n \"rw\"\n ],\n \"Settable\": [\n \"\"\n ],\n \"Source\": \"/var/lib/docker/plugins/\",\n \"Type\": \"bind\"\n }\n ],\n \"Network\": {\n \"Type\": \"host\"\n },\n \"PidHost\": {{faker 'random.boolean'}},\n \"PropagatedMount\": \"/mnt/volumes\",\n \"User\": {\n \"GID\": 1000,\n \"UID\": 1000\n },\n \"WorkDir\": \"/bin/\",\n \"rootfs\": {\n \"diff_ids\": [\n \"sha256:675532206fbf3030b8458f88d6e26d4eb1577688a25efec97154c94e8b6b4887\",\n \"sha256:e216a057b1cb1efc11f8a268f37ef62083e70b1b38323ba252e25ac88904a7e8\"\n ],\n \"type\": \"layers\"\n }\n },\n \"Enabled\": true,\n \"Id\": \"5724e2c8652da337ab2eedd19fc6fc0ec908e4bd907c7421bf6a8dfc70c4c078\",\n \"Name\": \"tiborvass/sample-volume-plugin\",\n \"PluginReference\": \"localhost:5000/tiborvass/sample-volume-plugin:latest\",\n \"Settings\": {\n \"Args\": [\n \"\"\n ],\n \"Devices\": [\n {\n \"Description\": \"\",\n \"Name\": \"\",\n \"Path\": \"/dev/fuse\",\n \"Settable\": [\n \"\"\n ]\n }\n ],\n \"Env\": [\n \"DEBUG=0\"\n ],\n \"Mounts\": [\n {\n \"Description\": \"This is a mount that's used by the plugin.\",\n \"Destination\": \"/mnt/state\",\n \"Name\": \"some-mount\",\n \"Options\": [\n \"rbind\",\n \"rw\"\n ],\n \"Settable\": [\n \"\"\n ],\n \"Source\": \"/var/lib/docker/plugins/\",\n \"Type\": \"bind\"\n }\n ]\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin is not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Disable a plugin",
"method": "post",
"endpoint": "plugins/:name/disable",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin is not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Enable a plugin",
"method": "post",
"endpoint": "plugins/:name/enable",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin is not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a plugin",
"method": "get",
"endpoint": "plugins/:name/json",
"responses": [
{
"uuid": "",
"body": "{\n \"Config\": {\n \"Args\": {\n \"Description\": \"command line arguments\",\n \"Name\": \"args\",\n \"Settable\": [\n \"\"\n ],\n \"Value\": [\n \"\"\n ]\n },\n \"Description\": \"A sample volume plugin for Docker\",\n \"DockerVersion\": \"17.06.0-ce\",\n \"Documentation\": \"https://docs.docker.com/engine/extend/plugins/\",\n \"Entrypoint\": [\n \"/usr/bin/sample-volume-plugin\",\n \"/data\"\n ],\n \"Env\": [\n {\n \"Description\": \"If set, prints debug messages\",\n \"Name\": \"DEBUG\",\n \"Settable\": null,\n \"Value\": \"0\"\n }\n ],\n \"Interface\": {\n \"Socket\": \"plugins.sock\",\n \"Types\": [\n \"docker.volumedriver/1.0\"\n ]\n },\n \"IpcHost\": {{faker 'random.boolean'}},\n \"Linux\": {\n \"AllowAllDevices\": {{faker 'random.boolean'}},\n \"Capabilities\": [\n \"CAP_SYS_ADMIN\",\n \"CAP_SYSLOG\"\n ],\n \"Devices\": [\n {\n \"Description\": \"\",\n \"Name\": \"\",\n \"Path\": \"/dev/fuse\",\n \"Settable\": [\n \"\"\n ]\n }\n ]\n },\n \"Mounts\": [\n {\n \"Description\": \"This is a mount that's used by the plugin.\",\n \"Destination\": \"/mnt/state\",\n \"Name\": \"some-mount\",\n \"Options\": [\n \"rbind\",\n \"rw\"\n ],\n \"Settable\": [\n \"\"\n ],\n \"Source\": \"/var/lib/docker/plugins/\",\n \"Type\": \"bind\"\n }\n ],\n \"Network\": {\n \"Type\": \"host\"\n },\n \"PidHost\": {{faker 'random.boolean'}},\n \"PropagatedMount\": \"/mnt/volumes\",\n \"User\": {\n \"GID\": 1000,\n \"UID\": 1000\n },\n \"WorkDir\": \"/bin/\",\n \"rootfs\": {\n \"diff_ids\": [\n \"sha256:675532206fbf3030b8458f88d6e26d4eb1577688a25efec97154c94e8b6b4887\",\n \"sha256:e216a057b1cb1efc11f8a268f37ef62083e70b1b38323ba252e25ac88904a7e8\"\n ],\n \"type\": \"layers\"\n }\n },\n \"Enabled\": true,\n \"Id\": \"5724e2c8652da337ab2eedd19fc6fc0ec908e4bd907c7421bf6a8dfc70c4c078\",\n \"Name\": \"tiborvass/sample-volume-plugin\",\n \"PluginReference\": \"localhost:5000/tiborvass/sample-volume-plugin:latest\",\n \"Settings\": {\n \"Args\": [\n \"\"\n ],\n \"Devices\": [\n {\n \"Description\": \"\",\n \"Name\": \"\",\n \"Path\": \"/dev/fuse\",\n \"Settable\": [\n \"\"\n ]\n }\n ],\n \"Env\": [\n \"DEBUG=0\"\n ],\n \"Mounts\": [\n {\n \"Description\": \"This is a mount that's used by the plugin.\",\n \"Destination\": \"/mnt/state\",\n \"Name\": \"some-mount\",\n \"Options\": [\n \"rbind\",\n \"rw\"\n ],\n \"Settable\": [\n \"\"\n ],\n \"Source\": \"/var/lib/docker/plugins/\",\n \"Type\": \"bind\"\n }\n ]\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin is not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Push a plugin",
"method": "post",
"endpoint": "plugins/:name/push",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Configure a plugin",
"method": "post",
"endpoint": "plugins/:name/set",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "Plugin not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Upgrade a plugin",
"method": "post",
"endpoint": "plugins/:name/upgrade",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "plugin not installed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List secrets",
"method": "get",
"endpoint": "secrets",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"CreatedAt\": \"2017-07-20T13:55:28.678Z\",\n \"ID\": \"blt1owaxmitz71s9v5zh81zun\",\n \"Spec\": {\n \"Driver\": {\n \"Name\": \"secret-bucket\",\n \"Options\": {\n \"OptionA\": \"value for driver option A\",\n \"OptionB\": \"value for driver option B\"\n }\n },\n \"Labels\": {\n \"some.label\": \"some.value\"\n },\n \"Name\": \"mysql-passwd\"\n },\n \"UpdatedAt\": \"2017-07-20T13:55:28.678Z\",\n \"Version\": {\n \"Index\": 85\n }\n },\n {\n \"CreatedAt\": \"2016-11-05T01:20:17.327Z\",\n \"ID\": \"ktnbjxoalbkvbvedmg1urrz8h\",\n \"Spec\": {\n \"Labels\": {\n \"foo\": \"bar\"\n },\n \"Name\": \"app-dev.crt\"\n },\n \"UpdatedAt\": \"2016-11-05T01:20:17.327Z\",\n \"Version\": {\n \"Index\": 11\n }\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a secret",
"method": "post",
"endpoint": "secrets/create",
"responses": [
{
"uuid": "",
"body": "{\n \"ID\": \"ktnbjxoalbkvbvedmg1urrz8h\"\n}",
"latency": 0,
"statusCode": 201,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "name conflicts with an existing object",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete a secret",
"method": "delete",
"endpoint": "secrets/:id",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "secret not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a secret",
"method": "get",
"endpoint": "secrets/:id",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"2017-07-20T13:55:28.678Z\",\n \"ID\": \"blt1owaxmitz71s9v5zh81zun\",\n \"Spec\": {\n \"Data\": \"\",\n \"Driver\": {\n \"Name\": \"some-driver\",\n \"Options\": {\n \"OptionA\": \"value for driver-specific option A\",\n \"OptionB\": \"value for driver-specific option B\"\n }\n },\n \"Labels\": {\n \"com.example.some-label\": \"some-value\",\n \"com.example.some-other-label\": \"some-other-value\"\n },\n \"Name\": \"\"\n },\n \"UpdatedAt\": \"2017-07-20T13:55:28.678Z\",\n \"Version\": {\n \"Index\": 373531\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "secret not found",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Update a Secret",
"method": "post",
"endpoint": "secrets/:id/update",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such secret",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List services",
"method": "get",
"endpoint": "services",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"CreatedAt\": \"2016-06-07T21:05:51.880Z\",\n \"Endpoint\": {\n \"Ports\": [\n {\n \"Protocol\": \"tcp\",\n \"PublishedPort\": 30001,\n \"TargetPort\": 6379\n }\n ],\n \"Spec\": {\n \"Mode\": \"vip\",\n \"Ports\": [\n {\n \"Protocol\": \"tcp\",\n \"PublishedPort\": 30001,\n \"TargetPort\": 6379\n }\n ]\n },\n \"VirtualIPs\": [\n {\n \"Addr\": \"10.255.0.2/16\",\n \"NetworkID\": \"4qvuz4ko70xaltuqbt8956gd1\"\n },\n {\n \"Addr\": \"10.255.0.3/16\",\n \"NetworkID\": \"4qvuz4ko70xaltuqbt8956gd1\"\n }\n ]\n },\n \"ID\": \"9mnpnzenvg8p8tdbtq4wvbkcz\",\n \"Spec\": {\n \"EndpointSpec\": {\n \"Mode\": \"vip\",\n \"Ports\": [\n {\n \"Protocol\": \"tcp\",\n \"PublishedPort\": 30001,\n \"TargetPort\": 6379\n }\n ]\n },\n \"Mode\": {\n \"Replicated\": {\n \"Replicas\": 1\n }\n },\n \"Name\": \"hopeful_cori\",\n \"RollbackConfig\": {\n \"Delay\": 1000000000,\n \"FailureAction\": \"pause\",\n \"MaxFailureRatio\": 0.15,\n \"Monitor\": 15000000000,\n \"Parallelism\": 1\n },\n \"TaskTemplate\": {\n \"ContainerSpec\": {\n \"Image\": \"redis\"\n },\n \"ForceUpdate\": 0,\n \"Placement\": {},\n \"Resources\": {\n \"Limits\": {},\n \"Reservations\": {}\n },\n \"RestartPolicy\": {\n \"Condition\": \"any\",\n \"MaxAttempts\": 0\n }\n },\n \"UpdateConfig\": {\n \"Delay\": 1000000000,\n \"FailureAction\": \"pause\",\n \"MaxFailureRatio\": 0.15,\n \"Monitor\": 15000000000,\n \"Parallelism\": 1\n }\n },\n \"UpdatedAt\": \"2016-06-07T21:07:29.962Z\",\n \"Version\": {\n \"Index\": 19\n }\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a service",
"method": "post",
"endpoint": "services/create",
"responses": [
{
"uuid": "",
"body": "{\n \"ID\": \"ak7w3gjqoa3kuz8xcpnyy0pvl\",\n \"Warning\": \"unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found\"\n}",
"latency": 0,
"statusCode": 201,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 403,
"label": "network is not eligible for services",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "name conflicts with an existing service",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete a service",
"method": "delete",
"endpoint": "services/:id",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such service",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a service",
"method": "get",
"endpoint": "services/:id",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"2016-06-07T21:05:51.880Z\",\n \"Endpoint\": {\n \"Ports\": [\n {\n \"Protocol\": \"tcp\",\n \"PublishedPort\": 30001,\n \"TargetPort\": 6379\n }\n ],\n \"Spec\": {\n \"Mode\": \"vip\",\n \"Ports\": [\n {\n \"Protocol\": \"tcp\",\n \"PublishedPort\": 30001,\n \"TargetPort\": 6379\n }\n ]\n },\n \"VirtualIPs\": [\n {\n \"Addr\": \"10.255.0.2/16\",\n \"NetworkID\": \"4qvuz4ko70xaltuqbt8956gd1\"\n },\n {\n \"Addr\": \"10.255.0.3/16\",\n \"NetworkID\": \"4qvuz4ko70xaltuqbt8956gd1\"\n }\n ]\n },\n \"ID\": \"9mnpnzenvg8p8tdbtq4wvbkcz\",\n \"Spec\": {\n \"EndpointSpec\": {\n \"Mode\": \"vip\",\n \"Ports\": [\n {\n \"Protocol\": \"tcp\",\n \"PublishedPort\": 30001,\n \"TargetPort\": 6379\n }\n ]\n },\n \"Mode\": {\n \"Replicated\": {\n \"Replicas\": 1\n }\n },\n \"Name\": \"hopeful_cori\",\n \"RollbackConfig\": {\n \"Delay\": 1000000000,\n \"FailureAction\": \"pause\",\n \"MaxFailureRatio\": 0.15,\n \"Monitor\": 15000000000,\n \"Parallelism\": 1\n },\n \"TaskTemplate\": {\n \"ContainerSpec\": {\n \"Image\": \"redis\"\n },\n \"ForceUpdate\": 0,\n \"Placement\": {},\n \"Resources\": {\n \"Limits\": {},\n \"Reservations\": {}\n },\n \"RestartPolicy\": {\n \"Condition\": \"any\",\n \"MaxAttempts\": 0\n }\n },\n \"UpdateConfig\": {\n \"Delay\": 1000000000,\n \"FailureAction\": \"pause\",\n \"MaxFailureRatio\": 0.15,\n \"Monitor\": 15000000000,\n \"Parallelism\": 1\n }\n },\n \"UpdatedAt\": \"2016-06-07T21:07:29.962Z\",\n \"Version\": {\n \"Index\": 19\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such service",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get service logs",
"method": "get",
"endpoint": "services/:id/logs",
"responses": [
{
"uuid": "",
"body": "\"\"",
"latency": 0,
"statusCode": 101,
"label": "logs returned as a stream",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "\"\"",
"latency": 0,
"statusCode": 200,
"label": "logs returned as a string in response body",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such service",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Update a service",
"method": "post",
"endpoint": "services/:id/update",
"responses": [
{
"uuid": "",
"body": "{\n \"Warning\": \"unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found\"\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such service",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Initialize interactive session",
"method": "post",
"endpoint": "session",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 101,
"label": "no error, hijacking successful",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/vnd.docker.raw-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/vnd.docker.raw-stream"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect swarm",
"method": "get",
"endpoint": "swarm",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"2016-08-18T10:44:24.496Z\",\n \"ID\": \"abajmipo7b4xz5ip2nrla6b11\",\n \"RootRotationInProgress\": {{faker 'random.boolean'}},\n \"Spec\": {\n \"CAConfig\": {\n \"ExternalCAs\": [\n {\n \"CACert\": \"\",\n \"Options\": {},\n \"Protocol\": \"{{oneOf (array 'cfssl')}}\",\n \"URL\": \"\"\n }\n ],\n \"ForceRotate\": {{faker 'random.number'}},\n \"NodeCertExpiry\": 7776000000000000,\n \"SigningCACert\": \"\",\n \"SigningCAKey\": \"\"\n },\n \"Dispatcher\": {\n \"HeartbeatPeriod\": 5000000000\n },\n \"EncryptionConfig\": {\n \"AutoLockManagers\": {{faker 'random.boolean'}}\n },\n \"Labels\": {\n \"com.example.corp.department\": \"engineering\",\n \"com.example.corp.type\": \"production\"\n },\n \"Name\": \"default\",\n \"Orchestration\": {\n \"TaskHistoryRetentionLimit\": 10\n },\n \"Raft\": {\n \"ElectionTick\": 3,\n \"HeartbeatTick\": 1,\n \"KeepOldSnapshots\": {{faker 'random.number'}},\n \"LogEntriesForSlowFollowers\": 500,\n \"SnapshotInterval\": 10000\n },\n \"TaskDefaults\": {\n \"LogDriver\": {\n \"Name\": \"json-file\",\n \"Options\": {\n \"max-file\": \"10\",\n \"max-size\": \"100m\"\n }\n }\n }\n },\n \"TLSInfo\": {\n \"CertIssuerPublicKey\": \"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A==\",\n \"CertIssuerSubject\": \"MBMxETAPBgNVBAMTCHN3YXJtLWNh\",\n \"TrustRoot\": \"-----BEGIN CERTIFICATE-----\\nMIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw\\nEzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0\\nMzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH\\nA0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf\\n3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB\\nAf8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO\\nPQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz\\npxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H\\n-----END CERTIFICATE-----\\n\"\n },\n \"UpdatedAt\": \"2017-08-09T07:09:37.632Z\",\n \"Version\": {\n \"Index\": 373531\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Initialize a new swarm",
"method": "post",
"endpoint": "swarm/init",
"responses": [
{
"uuid": "",
"body": "\"7v2t30z9blmxuhnyo6s4cpenp\"",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is already part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Join an existing swarm",
"method": "post",
"endpoint": "swarm/join",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is already part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Leave a swarm",
"method": "post",
"endpoint": "swarm/leave",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Unlock a locked manager",
"method": "post",
"endpoint": "swarm/unlock",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get the unlock key",
"method": "get",
"endpoint": "swarm/unlockkey",
"responses": [
{
"uuid": "",
"body": "{\n \"UnlockKey\": \"SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8\"\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Update a swarm",
"method": "post",
"endpoint": "swarm/update",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 400,
"label": "bad parameter",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get data usage information",
"method": "get",
"endpoint": "system/df",
"responses": [
{
"uuid": "",
"body": "{\n \"Containers\": [\n {\n \"Command\": \"top\",\n \"Created\": 1472592424,\n \"HostConfig\": {\n \"NetworkMode\": \"default\"\n },\n \"Id\": \"e575172ed11dc01bfce087fb27bee502db149e1a0fad7c296ad300bbff178148\",\n \"Image\": \"busybox\",\n \"ImageID\": \"sha256:2b8fd9751c4c0f5dd266fcae00707e67a2545ef34f9a29354585f93dac906749\",\n \"Labels\": {},\n \"Mounts\": [],\n \"Names\": [\n \"/top\"\n ],\n \"NetworkSettings\": {\n \"Networks\": {\n \"bridge\": {\n \"Aliases\": null,\n \"EndpointID\": \"8ed5115aeaad9abb174f68dcf135b49f11daf597678315231a32ca28441dec6a\",\n \"Gateway\": \"172.18.0.1\",\n \"GlobalIPv6Address\": \"\",\n \"GlobalIPv6PrefixLen\": 0,\n \"IPAMConfig\": null,\n \"IPAddress\": \"172.18.0.2\",\n \"IPPrefixLen\": 16,\n \"IPv6Gateway\": \"\",\n \"Links\": null,\n \"MacAddress\": \"02:42:ac:12:00:02\",\n \"NetworkID\": \"d687bc59335f0e5c9ee8193e5612e8aee000c8c62ea170cfb99c098f95899d92\"\n }\n }\n },\n \"Ports\": [],\n \"SizeRootFs\": 1092588,\n \"State\": \"exited\",\n \"Status\": \"Exited (0) 56 minutes ago\"\n }\n ],\n \"Images\": [\n {\n \"Containers\": 1,\n \"Created\": 1466724217,\n \"Id\": \"sha256:2b8fd9751c4c0f5dd266fcae00707e67a2545ef34f9a29354585f93dac906749\",\n \"Labels\": {},\n \"ParentId\": \"\",\n \"RepoDigests\": [\n \"busybox@sha256:a59906e33509d14c036c8678d687bd4eec81ed7c4b8ce907b888c607f6a1e0e6\"\n ],\n \"RepoTags\": [\n \"busybox:latest\"\n ],\n \"SharedSize\": 0,\n \"Size\": 1092588,\n \"VirtualSize\": 1092588\n }\n ],\n \"LayersSize\": 1092588,\n \"Volumes\": [\n {\n \"Driver\": \"local\",\n \"Labels\": null,\n \"Mountpoint\": \"/var/lib/docker/volumes/my-volume/_data\",\n \"Name\": \"my-volume\",\n \"Options\": null,\n \"Scope\": \"local\",\n \"UsageData\": {\n \"RefCount\": 2,\n \"Size\": 10920104\n }\n }\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List tasks",
"method": "get",
"endpoint": "tasks",
"responses": [
{
"uuid": "",
"body": "[\n {\n \"CreatedAt\": \"2016-06-07T21:07:31.171Z\",\n \"DesiredState\": \"running\",\n \"ID\": \"0kzzo1i0y4jz6027t0k7aezc7\",\n \"NetworksAttachments\": [\n {\n \"Addresses\": [\n \"10.255.0.10/16\"\n ],\n \"Network\": {\n \"CreatedAt\": \"2016-06-07T20:31:11.912Z\",\n \"DriverState\": {\n \"Name\": \"overlay\",\n \"Options\": {\n \"com.docker.network.driver.overlay.vxlanid_list\": \"256\"\n }\n },\n \"ID\": \"4qvuz4ko70xaltuqbt8956gd1\",\n \"IPAMOptions\": {\n \"Configs\": [\n {\n \"Gateway\": \"10.255.0.1\",\n \"Subnet\": \"10.255.0.0/16\"\n }\n ],\n \"Driver\": {\n \"Name\": \"default\"\n }\n },\n \"Spec\": {\n \"DriverConfiguration\": {},\n \"IPAMOptions\": {\n \"Configs\": [\n {\n \"Gateway\": \"10.255.0.1\",\n \"Subnet\": \"10.255.0.0/16\"\n }\n ],\n \"Driver\": {}\n },\n \"Labels\": {\n \"com.docker.swarm.internal\": \"true\"\n },\n \"Name\": \"ingress\"\n },\n \"UpdatedAt\": \"2016-06-07T21:07:29.955Z\",\n \"Version\": {\n \"Index\": 18\n }\n }\n }\n ],\n \"NodeID\": \"60gvrl6tm78dmak4yl7srz94v\",\n \"ServiceID\": \"9mnpnzenvg8p8tdbtq4wvbkcz\",\n \"Slot\": 1,\n \"Spec\": {\n \"ContainerSpec\": {\n \"Image\": \"redis\"\n },\n \"Placement\": {},\n \"Resources\": {\n \"Limits\": {},\n \"Reservations\": {}\n },\n \"RestartPolicy\": {\n \"Condition\": \"any\",\n \"MaxAttempts\": 0\n }\n },\n \"Status\": {\n \"ContainerStatus\": {\n \"ContainerID\": \"e5d62702a1b48d01c3e02ca1e0212a250801fa8d67caca0b6f35919ebc12f035\",\n \"PID\": 677\n },\n \"Message\": \"started\",\n \"State\": \"running\",\n \"Timestamp\": \"2016-06-07T21:07:31.290Z\"\n },\n \"UpdatedAt\": \"2016-06-07T21:07:31.376Z\",\n \"Version\": {\n \"Index\": 71\n }\n },\n {\n \"CreatedAt\": \"2016-06-07T21:07:30.019Z\",\n \"DesiredState\": \"shutdown\",\n \"ID\": \"1yljwbmlr8er2waf8orvqpwms\",\n \"Name\": \"hopeful_cori\",\n \"NetworksAttachments\": [\n {\n \"Addresses\": [\n \"10.255.0.5/16\"\n ],\n \"Network\": {\n \"CreatedAt\": \"2016-06-07T20:31:11.912Z\",\n \"DriverState\": {\n \"Name\": \"overlay\",\n \"Options\": {\n \"com.docker.network.driver.overlay.vxlanid_list\": \"256\"\n }\n },\n \"ID\": \"4qvuz4ko70xaltuqbt8956gd1\",\n \"IPAMOptions\": {\n \"Configs\": [\n {\n \"Gateway\": \"10.255.0.1\",\n \"Subnet\": \"10.255.0.0/16\"\n }\n ],\n \"Driver\": {\n \"Name\": \"default\"\n }\n },\n \"Spec\": {\n \"DriverConfiguration\": {},\n \"IPAMOptions\": {\n \"Configs\": [\n {\n \"Gateway\": \"10.255.0.1\",\n \"Subnet\": \"10.255.0.0/16\"\n }\n ],\n \"Driver\": {}\n },\n \"Labels\": {\n \"com.docker.swarm.internal\": \"true\"\n },\n \"Name\": \"ingress\"\n },\n \"UpdatedAt\": \"2016-06-07T21:07:29.955Z\",\n \"Version\": {\n \"Index\": 18\n }\n }\n }\n ],\n \"NodeID\": \"60gvrl6tm78dmak4yl7srz94v\",\n \"ServiceID\": \"9mnpnzenvg8p8tdbtq4wvbkcz\",\n \"Slot\": 1,\n \"Spec\": {\n \"ContainerSpec\": {\n \"Image\": \"redis\"\n },\n \"Placement\": {},\n \"Resources\": {\n \"Limits\": {},\n \"Reservations\": {}\n },\n \"RestartPolicy\": {\n \"Condition\": \"any\",\n \"MaxAttempts\": 0\n }\n },\n \"Status\": {\n \"ContainerStatus\": {\n \"ContainerID\": \"1cf8d63d18e79668b0004a4be4c6ee58cddfad2dae29506d8781581d0688a213\"\n },\n \"Message\": \"shutdown\",\n \"State\": \"shutdown\",\n \"Timestamp\": \"2016-06-07T21:07:30.202Z\"\n },\n \"UpdatedAt\": \"2016-06-07T21:07:30.231Z\",\n \"Version\": {\n \"Index\": 30\n }\n }\n]",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a task",
"method": "get",
"endpoint": "tasks/:id",
"responses": [
{
"uuid": "",
"body": "{\n \"AssignedGenericResources\": [\n {\n \"DiscreteResourceSpec\": {\n \"Kind\": \"SSD\",\n \"Value\": 3\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID1\"\n }\n },\n {\n \"NamedResourceSpec\": {\n \"Kind\": \"GPU\",\n \"Value\": \"UUID2\"\n }\n }\n ],\n \"CreatedAt\": \"2016-06-07T21:07:31.171Z\",\n \"DesiredState\": \"running\",\n \"ID\": \"0kzzo1i0y4jz6027t0k7aezc7\",\n \"NetworksAttachments\": [\n {\n \"Addresses\": [\n \"10.255.0.10/16\"\n ],\n \"Network\": {\n \"CreatedAt\": \"2016-06-07T20:31:11.912Z\",\n \"DriverState\": {\n \"Name\": \"overlay\",\n \"Options\": {\n \"com.docker.network.driver.overlay.vxlanid_list\": \"256\"\n }\n },\n \"ID\": \"4qvuz4ko70xaltuqbt8956gd1\",\n \"IPAMOptions\": {\n \"Configs\": [\n {\n \"Gateway\": \"10.255.0.1\",\n \"Subnet\": \"10.255.0.0/16\"\n }\n ],\n \"Driver\": {\n \"Name\": \"default\"\n }\n },\n \"Spec\": {\n \"DriverConfiguration\": {},\n \"IPAMOptions\": {\n \"Configs\": [\n {\n \"Gateway\": \"10.255.0.1\",\n \"Subnet\": \"10.255.0.0/16\"\n }\n ],\n \"Driver\": {}\n },\n \"Labels\": {\n \"com.docker.swarm.internal\": \"true\"\n },\n \"Name\": \"ingress\"\n },\n \"UpdatedAt\": \"2016-06-07T21:07:29.955Z\",\n \"Version\": {\n \"Index\": 18\n }\n }\n }\n ],\n \"NodeID\": \"60gvrl6tm78dmak4yl7srz94v\",\n \"ServiceID\": \"9mnpnzenvg8p8tdbtq4wvbkcz\",\n \"Slot\": 1,\n \"Spec\": {\n \"ContainerSpec\": {\n \"Image\": \"redis\"\n },\n \"Placement\": {},\n \"Resources\": {\n \"Limits\": {},\n \"Reservations\": {}\n },\n \"RestartPolicy\": {\n \"Condition\": \"any\",\n \"MaxAttempts\": 0\n }\n },\n \"Status\": {\n \"ContainerStatus\": {\n \"ContainerID\": \"e5d62702a1b48d01c3e02ca1e0212a250801fa8d67caca0b6f35919ebc12f035\",\n \"PID\": 677\n },\n \"Message\": \"started\",\n \"State\": \"running\",\n \"Timestamp\": \"2016-06-07T21:07:31.290Z\"\n },\n \"UpdatedAt\": \"2016-06-07T21:07:31.376Z\",\n \"Version\": {\n \"Index\": 71\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such task",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get task logs",
"method": "get",
"endpoint": "tasks/:id/logs",
"responses": [
{
"uuid": "",
"body": "\"\"",
"latency": 0,
"statusCode": 101,
"label": "logs returned as a stream",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "\"\"",
"latency": 0,
"statusCode": 200,
"label": "logs returned as a string in response body",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "no such task",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 503,
"label": "node is not part of a swarm",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Get version",
"method": "get",
"endpoint": "version",
"responses": [
{
"uuid": "",
"body": "{\n \"ApiVersion\": \"\",\n \"Arch\": \"\",\n \"BuildTime\": \"\",\n \"Experimental\": {{faker 'random.boolean'}},\n \"GitCommit\": \"\",\n \"GoVersion\": \"\",\n \"KernelVersion\": \"\",\n \"MinAPIVersion\": \"\",\n \"Os\": \"\",\n \"Version\": \"\"\n}",
"latency": 0,
"statusCode": 200,
"label": "no error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "List volumes",
"method": "get",
"endpoint": "volumes",
"responses": [
{
"uuid": "",
"body": "{\n \"Volumes\": [\n {\n \"CreatedAt\": \"2016-06-07T20:31:11.853Z\",\n \"Driver\": \"custom\",\n \"Labels\": {\n \"com.example.some-label\": \"some-value\",\n \"com.example.some-other-label\": \"some-other-value\"\n },\n \"Mountpoint\": \"/var/lib/docker/volumes/tardis\",\n \"Name\": \"tardis\",\n \"Scope\": \"local\",\n \"Status\": {\n \"hello\": \"world\"\n }\n }\n ],\n \"Warnings\": [\n \"\"\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "Summary volume data that matches the query",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Create a volume",
"method": "post",
"endpoint": "volumes/create",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"2016-06-07T20:31:11.853Z\",\n \"Driver\": \"custom\",\n \"Labels\": {\n \"com.example.some-label\": \"some-value\",\n \"com.example.some-other-label\": \"some-other-value\"\n },\n \"Mountpoint\": \"/var/lib/docker/volumes/tardis\",\n \"Name\": \"tardis\",\n \"Scope\": \"local\",\n \"Status\": {\n \"hello\": \"world\"\n }\n}",
"latency": 0,
"statusCode": 201,
"label": "The volume was created successfully",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Delete unused volumes",
"method": "post",
"endpoint": "volumes/prune",
"responses": [
{
"uuid": "",
"body": "{\n \"SpaceReclaimed\": {{faker 'random.number'}},\n \"VolumesDeleted\": [\n \"\"\n ]\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Remove a volume",
"method": "delete",
"endpoint": "volumes/:name",
"responses": [
{
"uuid": "",
"body": "",
"latency": 0,
"statusCode": 204,
"label": "The volume was removed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such volume or volume driver",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 409,
"label": "Volume is in use and cannot be removed",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
},
{
"uuid": "",
"documentation": "Inspect a volume",
"method": "get",
"endpoint": "volumes/:name",
"responses": [
{
"uuid": "",
"body": "{\n \"CreatedAt\": \"2016-06-07T20:31:11.853Z\",\n \"Driver\": \"custom\",\n \"Labels\": {\n \"com.example.some-label\": \"some-value\",\n \"com.example.some-other-label\": \"some-other-value\"\n },\n \"Mountpoint\": \"/var/lib/docker/volumes/tardis\",\n \"Name\": \"tardis\",\n \"Scope\": \"local\",\n \"Status\": {\n \"hello\": \"world\"\n }\n}",
"latency": 0,
"statusCode": 200,
"label": "No error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 404,
"label": "No such volume",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
},
{
"uuid": "",
"body": "{\n \"message\": \"Something went wrong.\"\n}",
"latency": 0,
"statusCode": 500,
"label": "Server error",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false
}
],
"enabled": true,
"randomResponse": false,
"sequentialResponse": false
}
],
"proxyMode": false,
"proxyHost": "",
"proxyRemovePrefix": false,
"https": false,
"cors": true,
"headers": [],
"proxyReqHeaders": [
{
"key": "",
"value": ""
}
],
"proxyResHeaders": [
{
"key": "",
"value": ""
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment