Proving adapter for the shared receipt primitive; no provider I/O (#667, §58).
POST
/api/v1/mail/preferences/mutations
const url = 'https://example.com/api/v1/mail/preferences/mutations';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"expected_revision":1,"operation_id":"example","read_marking":"on_open"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/mail/preferences/mutations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expected_revision": 1, "operation_id": "example", "read_marking": "on_open" }'Route: /api/v1/mail/preferences/mutations. Inputs: . Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
One conditional preference intent. Arguments are canonicalized before hashing (#667).
object
expected_revision
required
integer format: int64
operation_id
required
string
read_marking
required
string
Responses
Section titled “Responses”Media typeapplication/json
Public receipt envelope; inverse bytes remain in the Index (#667).
object
expires_ms
required
integer format: int64
kind
required
string
operation_id
required
string
result
required
undone_by
string | null
Examplegenerated
{ "expires_ms": 1, "kind": "example", "operation_id": "example", "result": "example", "undone_by": "example"}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}