Container Service
Container State

Get the current state of a container

1min
GET

API to get the current state of a container.

HEADER/PATHDESCRIPTIONTYPE
X-COREOS-REQUEST-ID*(header)Unique request ID.string
X-COREOS-TID*(header)Tenant ID.string
X-COREOS-ACCESS*(header)Core-OS access token.string

| containerId*(path) | Unique ID of Container. | string| *This is required. HTTP Status Code Summary

CodeDescription
200 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
404 - Not FoundThe requested resource doesn't exist.
503 - Server ErrorSomething went wrong.. (These are rare.)
Path Parameters
containerId
*
containerTypeName
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Responses
200
OK
data
request
400
Bad Request
error
request
401
Unauthorized
error
request
404
Not Found
error
request
503
Server Error
error
request
Curl
JS
Ruby
Python
Responses
200
400
401
404
503