Resources (API)
All service containers
Failed to get all service containers
GET /api/containers HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"Names": [
"text"
],
"State": "text",
"Mounts": [
{
"Type": "text",
"Driver": "text",
"Name": "text",
"Source": "text",
"Destination": "text",
"Mode": "text",
"RW": true,
"Propagation": "text"
}
]
}
]
Name of the service container
Service container inspect
Failed to inspect service container
GET /api/containers/{name}/inspect HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"Name": "text",
"Created": "text",
"Id": "text",
"State": {
"Status": "text",
"Dead": true,
"FinishedAt": "text",
"Paused": true,
"Restarting": true,
"Running": true,
"StartedAt": "text"
},
"Mounts": [
{
"Name": "text",
"Source": "text",
"Destination": "text",
"Mode": "text",
"RW": true,
"Propagation": "text"
}
],
"Config": {
"Env": [
"text"
],
"Image": "text",
"WorkingDir": "text",
"ExposedPorts": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"Labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"HostConfig": {
"CapAdd": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"Privileged": true
}
}
Name of the service container
If the logs should yield timestamp
Use 'all' to retrieve all, or a number for a limited set
Timestamp for the start
Timestamp for the end
Service container logs
Failed to get container logs
GET /api/containers/{name}/logs HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
text
Returns the name of the orchestrator being used to run Connectware
Access Forbidden
Network error
GET /api/containers/orchestrator HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"orchestrator": "Docker"
}
Name of the service container
Service container inspection after operation is performed
Invalid request
Service container not found
PUT /api/containers/{name}/operation HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"operation": "start"
}
{}
All core containers
GET /api/core-containers HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
All core containers
[
{
"Names": [
"text"
],
"State": "text",
"Mounts": [
{
"Type": "text",
"Driver": "text",
"Name": "text",
"Source": "text",
"Destination": "text",
"Mode": "text",
"RW": true,
"Propagation": "text"
}
]
}
]
Name of the core container
Core container inspect
Failed to inspect core container
GET /api/core-containers/{name}/inspect HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"Name": "text",
"Created": "text",
"Id": "text",
"State": {
"Status": "text",
"Dead": true,
"FinishedAt": "text",
"Paused": true,
"Restarting": true,
"Running": true,
"StartedAt": "text"
},
"Mounts": [
{
"Name": "text",
"Source": "text",
"Destination": "text",
"Mode": "text",
"RW": true,
"Propagation": "text"
}
],
"Config": {
"Env": [
"text"
],
"Image": "text",
"WorkingDir": "text",
"ExposedPorts": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"Labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"HostConfig": {
"CapAdd": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"Privileged": true
}
}
Name of the core container
If the logs should yield timestamp
Use 'all' to retrieve all, or a number for a limited set
Timestamp for the start
Timestamp for the end
Core container logs
Failed to get core container logs
GET /api/core-containers/{name}/logs HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
text
Returns the name of the orchestrator being used to run Connectware
Network error
GET /api/core-containers/orchestrator HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"orchestrator": "Docker"
}
Name of the core container
Core container inspection after operation is performed
Invalid request
Core container not found
PUT /api/core-containers/{name}/operation HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"operation": "start"
}
{}
All volumes
GET /api/volumes HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
All volumes
{
"Volumes": [
{
"CreatedAt": "text",
"Name": "text",
"Labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
],
"Warnings": "text"
}
Name of the volume
Volume inspect
Failed to inspect volume
GET /api/volumes/{name}/inspect HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"CreatedAt": "text",
"Name": "text",
"Labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
Last updated
Was this helpful?