Record Heartbeat
Record Heartbeat through the OMA API.
?beta=true.Authorizations
OMA workspace API key.
Headers
Optional header to specify the beta version(s) you want to use.
To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.
The version of the OMA API you want to use.
Read more about versioning and our version history here.
Query Parameters
Selects the beta API contract for this endpoint. Must be true.
true Desired TTL in seconds
Expected last_heartbeat for conditional update (optimistic concurrency). Use literal 'NO_HEARTBEAT' to claim an unclaimed lease (first heartbeat). For subsequent heartbeats, echo the server's previous last_heartbeat value exactly. Returns 412 Precondition Failed if the actual value doesn't match.
Response
Successful Response
Response after recording a heartbeat for a work item.
RFC 3339 timestamp of the actual heartbeat from DB
Whether the heartbeat succeeded in extending the lease
Current state of the work item (active/stopping/stopped)
queued, starting, active, stopping, stopped Effective TTL applied to the lease
The type of response
"work_heartbeat"