Container Service
Container State
Apply event on the container.
1min
PUT
PATH PARAMETERS
containerId
string
*Example: container:9c9b1138-7cdd-11eb-9439-0242ac130002
Unique id of Container
HEADER PARAMETERS
X-COREOS-REQUEST-ID
string
*Unique request id.
X-COREOS-TID
string
*Example: delhivery1234
Tenant id
X-COREOS-ACCESS
string
*Core-os access token
X-COREOS-CALLBACK-SECRET
string
Core-os access token
X-COREOS-USERINFO
string
Core-os user info
BODY PARAMETERS
body
ContainerStateUpdateRequest
*Event for container state transition.
eventCode
EventCode
*Event Code of the format:E-yyy. E - Prefix indicating that this is an event code. yyy - 3 digit event code string ranging from 001 to 999
reasonCode
ReasonCode
Reason Code of the format:R-nnnn R - Prefix indicating that this is a reason code nnnn - 4 digit reason code string ranging from 0001 to 9999
timestamp
integer
*Represents the timestamp of the event occured.
propagate
boolean
propagate flag indicate whether these events need to propogate on child containers or not.
data
object
*Represents event data values, if any, for this event
source
EventSource
*Represents the source which triggered the event. It can be an app, a user or some location from where the event was triggered.
callback
object
RESPONSES
200
OK
ContainerStateResponse
data
ContainerState
request
Request
400
Bad Request
ErrorResponse
error
Error
Error Information
request
Request
401
Unauthorized
ErrorResponse
error
Error
Error Information
request
Request
404
Not Found
ErrorResponse
error
Error
Error Information
request
Request
503
Server Error
ErrorResponse
error
Error
Error Information
request
Request
Updated 24 Aug 2023
Did this page help you?