Write trigger config for patients (v1)

Part of the v1 wire, kept byte-identical for the existing client. Do not build new integrations against it. The path ovok uses to push thresholds.

Unknown ids are reported in misses[] rather than failing the batch. Trigger metadata is MERGED and left untouched when absent — a push that omits it does not clear the project stamp.

Send resolvedAt (the instant the configuration was COMPUTED, not sent) to have this push refused rather than applied when the patient already carries a configuration resolved strictly later. Refusal is a silent no-op reported as staleIgnoredCount, never an error. Omitting it applies the push unconditionally, exactly as before.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

ISO-8601 instant at which this configuration was COMPUTED (not sent). A push carrying one is ignored if the patient already has a configuration resolved strictly later. Optional: a push without it is applied unconditionally, exactly as before.

triggers
array of objects
triggers
ids
array of strings
required
ids*
metadata
object

Stamped onto the Patient rows named by ids, merged not replaced.

boolean
boolean
number
Responses

401

Missing, malformed or unrecognised Basic credentials.

403

Authenticated, but the client's role does not permit this.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json