Store the requesting viewer's analytics consent preferences with last-write-wins semantics on the sibling updatedAtMicros clock (client wall-clock microseconds): the server keeps the document with the highest value and always returns the winning document with its clock, which the client must adopt as its new local state. The viewer DID is read from the service-auth JWT (`iss` claim).
Input
application/jsonpreferences
refapp.tempomusic.actor.defs#analyticsConsentPreferences
Required
No description available.
updatedAtMicros
integer
Required
Client wall-clock microseconds of this write. LWW tie-breaker; the server keeps the document with the highest value (the stored document wins ties).
Output
application/jsonpreferences
refapp.tempomusic.actor.defs#analyticsConsentPreferences
Required
No description available.
updatedAtMicros
integer
Required
Clock of the winning document after reconciliation.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"preferences",
"updatedAtMicros"
],
"properties": {
"preferences": {
"ref": "app.tempomusic.actor.defs#analyticsConsentPreferences",
"type": "ref"
},
"updatedAtMicros": {
"type": "integer",
"description": "Client wall-clock microseconds of this write. LWW tie-breaker; the server keeps the document with the highest value (the stored document wins ties)."
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"preferences",
"updatedAtMicros"
],
"properties": {
"preferences": {
"ref": "app.tempomusic.actor.defs#analyticsConsentPreferences",
"type": "ref"
},
"updatedAtMicros": {
"type": "integer",
"description": "Clock of the winning document after reconciliation."
}
}
},
"encoding": "application/json"
},
"description": "Store the requesting viewer's analytics consent preferences with last-write-wins semantics on the sibling updatedAtMicros clock (client wall-clock microseconds): the server keeps the document with the highest value and always returns the winning document with its clock, which the client must adopt as its new local state. The viewer DID is read from the service-auth JWT (`iss` claim)."
}