NNarya Developers

Integration flow

StepWhen to callOperation
ActivateOnce, at installationPOST /device/v1/activations
Send a heartbeatOn a regular intervalPOST /device/v1/heartbeats
Check applicationsBetween heartbeats, on the terminal's own scheduleGET /device/v1/applications
Download a releaseWhen an assigned release is not installedPOST /device/v1/artifact-downloads
Check parametersBetween heartbeats, on the terminal's own scheduleGET /device/v1/parameters
Download a parameter documentWhen a document's digest differs from the one appliedGET /device/v1/parameters/{application_id}
Report a transactionAfter each transactionPOST /device/v1/transactions
Report hourly totalsOnce an hourPOST /device/v1/transaction-metrics
Report eventsAs they occur, in batchesPOST /device/v1/events
Send logsContinuously, in batchesPOST /device/v1/telemetry/v1/logs (see Telemetry)

Every heartbeat response also lists the applications and parameters the terminal should hold, so a terminal that only sends heartbeats still receives every change. The two list operations let it pick up a change sooner, without sending a full heartbeat.