Cache API
Store an encrypted message
Ask a Cache node to temporarily retain one policy-compliant DDN envelope
This endpoint stores the same encrypted DDN envelope accepted by a Relay. The Cache validates the outer format and public policy without decrypting the message.
Storage is allowed only when the recipient exists, is active, permits Cache use, permits the message tag, and lists this Cache endpoint in an appropriate public service.
Request
Response
boolean
required
true when the envelope is accepted.boolean
required
true when this Cache already held the same message ID.string
required
ISO-8601 expiration calculated from the message timestamp and applied TTL.
string
required
Maximum duration allowed by recipient and participation policy.
string
required
Duration applied to this entry.
Straight to the point
- Accepted:
202 - Same
message_id: accepted withdeduped: true - Expired or policy-ineligible: rejected

