@itentialopensource/adapter-docker
Version:
This adapter integrates with system Docker
529 lines • 14.2 kB
JSON
{
"actions": [
{
"name": "getContainersjson",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getContainersjson-default.json"
}
]
},
{
"name": "postContainerscreate",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/create?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postContainerscreate-default.json"
}
]
},
{
"name": "getContainersidjson",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/json?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getContainersidjson-default.json"
}
]
},
{
"name": "getContainersidtop",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/top?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getContainersidtop-default.json"
}
]
},
{
"name": "getContainersidlogs",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/logs?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getContainersidchanges",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/changes?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getContainersidchanges-default.json"
}
]
},
{
"name": "getContainersidexport",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/export?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getContainersidstats",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/stats?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getContainersidstats-default.json"
}
]
},
{
"name": "postContainersidresize",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/resize?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidstart",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/start?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidstop",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/stop?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidrestart",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/restart?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidkill",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/kill?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidupdate",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/update?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postContainersidupdate-default.json"
}
]
},
{
"name": "postContainersidrename",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/rename?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidpause",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/pause?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidunpause",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/unpause?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidattach",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/attach?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getContainersidattachws",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/attach/ws?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersidwait",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/{pathv1}/wait?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postContainersidwait-default.json"
}
]
},
{
"name": "deleteContainersid",
"protocol": "REST",
"method": "DELETE",
"entitypath": "{base_path}/{version}/containers/{pathv1}?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "headContainersidarchive",
"protocol": "REST",
"method": "HEAD",
"entitypath": "{base_path}/{version}/containers/{pathv1}/archive?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "getContainersidarchive",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/containers/{pathv1}/archive?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "putContainersidarchive",
"protocol": "REST",
"method": "PUT",
"entitypath": "{base_path}/{version}/containers/{pathv1}/archive?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": ""
}
]
},
{
"name": "postContainersprune",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/containers/prune?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postContainersprune-default.json"
}
]
}
]
}