Entity Service
State Machine Config

Register State Machine Config for Entity Type

1min
POST
https://{tenantSubdomain}.io/core/api/v2/entity/apps/{appId}/entity-type/{entityTypePluralName}/config/state-machine

Warning: Deprecated API to create basic configuration of an entity type specified by EntityTypePluralName.

Path Parameters
entityTypePluralName
*
appId
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Body Parameters
body
*
Description
State-machine configuration for the entity type
All Of
StateMachineConfig +
states
*
terminalTTL
All Of
TimeToLive +
callback
Responses
200
OK
All Of
object +
data
*
request
*
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
error
*
request
*
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct tenant and that your client ID and client secret are valid on that Tenant.
error
*
request
*
404
Not found - The server can not find the requested resource.
error
*
request
*
Curl
JS
Ruby
Python
Responses
200
400
401
404