linkThe process object
Below you will find the various attributes for the process resource, as well as the process resource's relationships. Processes can be used to control application concurrency across a license's machines.
linkAttributes
linkdata.attributes.pid
stringThe pid of the process. This can be an arbitrary string, but must be unique within the scope of the process it belongs to.
linkdata.attributes.status
stringread onlyThe status of the process's heartbeat. One of:
ALIVE
,DEAD
, orRESURRECTED
.linkdata.attributes.lastHeartbeat
timestamp (iso8601)read onlyWhen the process last sent a heartbeat ping. The initial value of this attribute will be equal to the process's created timestamp.
linkdata.attributes.nextHeartbeat
timestamp (iso8601)read onlyThe time at which the process is required to send its next heartbeat ping by. This attribute is calculated using the license policy's heartbeat duration.
linkdata.attributes.interval
integeroptionalThe heartbeat interval for the process, in seconds. The process must send heartbeat pings within this timeframe to remain alive. This is inherited from the license's policy.
linkRelationships
linkdata.relationships.environment
individualent onlyThese relationships are only available for accounts on an Ent tier.The environment that the process belongs to.
Example object
{ "data": { "id": "3b4b4688-99e9-48d0-8b7e-14e4dcb025e3", "type": "processes", "attributes": { "lastHeartbeat": "2022-04-18T16:39:28.323Z", "nextHeartbeat": "2022-04-18T16:49:28.323Z", "interval": 600, "status": "ALIVE", "pid": "1337", "created": "2022-04-18T16:39:28.410Z", "updated": "2022-04-18T16:39:28.410Z", "metadata": {} }, "relationships": { "account": { "links": { "related": "/v1/accounts/<account>" }, "data": { "type": "accounts", "id": "<account>" } }, "product": { "links": { "related": "/v1/accounts/<account>/processes/3b4b4688-99e9-48d0-8b7e-14e4dcb025e3/product" }, "data": { "type": "products", "id": "e0856109-ad5f-4141-b4ee-01951346f957" } }, "license": { "links": { "related": "/v1/accounts/<account>/processes/3b4b4688-99e9-48d0-8b7e-14e4dcb025e3/license" }, "data": { "type": "licenses", "id": "defd49e7-f850-4acb-bb2d-fcd5693f22ce" } }, "machine": { "links": { "related": "/v1/accounts/<account>/processes/3b4b4688-99e9-48d0-8b7e-14e4dcb025e3/machine" }, "data": { "type": "machines", "id": "79c95ba5-a7bc-474e-ad1b-af12f7736efd" } } }, "links": { "self": "/v1/accounts/<account>/processes/3b4b4688-99e9-48d0-8b7e-14e4dcb025e3" } }}