GET/people/:key/memoriesmember
What this person of yours has said is true of them, in the scope you ask for. General memories (no scope) come back everywhere.
Query
scope | your own word for the part of your product this call is in |
project | your project id, when the call is inside one |
history | 1 to include memories that have been superseded |
POST/people/:key/memoriesmember
Keep something this person said. A restatement of something already held writes nothing and names what it matched.
Body
text | their words, kept verbatim |
scope | leave out for a memory true of them everywhere |
project | your project id |
source | stated|agreed|observed |
corrects | the id of the memory this replaces; its validity is closed rather than overwritten |
label | a name for the person, stored once |
valid_from | optional ISO date or time when the fact began to hold (added in contract version 1, additive; returned as heldFrom) |
valid_to | optional ISO date or time when it stopped holding (heldTo) |
DELETE/people/:key/memories/:idmember
Forget one. The row is removed, not flagged, and what was removed comes back.
POST/people/:key/erasureadmin
Forget one person of yours, for good: the person and every memory about them, superseded ones included. Dry run by default (counts, writes nothing); a real erasure needs dry_run false and confirm equal to the key, and writes a receipt (counts, the key only as a hash) into the tenant's erasure chain. Added in contract version 1, additive.
Body
dry_run | true (default) | false |
confirm | the person's key, for a real erasure |