Resume
The /actions/:cluster/container/:containerName/resume endpoint of the Dashium API allows you to resume a paused Docker container.
Endpointβ
- Path:
/actions/:cluster/container/:containerName/resume - Method:
PUT
Parametersβ
:cluster(path parameter): The ID of the cluster containing the container.:containerName(path parameter): The name of the container to be resumed.
Responseβ
The response confirms the successful resumption of the Docker container.
Response Exampleβ
{
"info": "Container {containerName} resumed!"
}
Exampleβ
fetch('http://your-api-url/actions/your-cluster/container/your-container/resume', {
method: 'PUT',
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));