ai.newnal.illi.mydata.putRecord

Root or main admin writes one My Data record in the parent's name: the collection's #section (rkey self) or one #entry (rkey absent = a new item, else the item to replace). Validated against the platform's published lexicon and ILLI's checks (dates, times, durations, RRULE, codes; a section saying 'none' must have no item of that kind). Written with the parent's delegated session, followed by its provenance (agent = the caller, method reported_by_other); the previous value goes to the audit log; a 'skipped' or 'not sure' state of the answered question is cleared. expectedCid, when given, must be the current CID (RecordChanged otherwise, with the current record in the message). Emits changed {collection: "mydata"}.

Details · procedure
Kindprocedure
Authoritymydata.illi.newnal.ai
Commit rev3n2zzb7ural2b
Indexed

Procedure

procedure · POST

Input

application/json

expectedCid

string · cid

homeId

requiredstring · tid

The question keys this record answers; their skipped or 'not sure' states are cleared.

  • maxLength: 20
itemsstring
  • maxLength: 100

requestKey

requiredstring

Idempotency key chosen by the client; a replay with the same key and input returns the first result.

  • minLength: 1
  • maxLength: 64

rkey

string · record-key

slot

requiredinteger

The parent slot, 1 or 2.

  • minimum: 1
  • maximum: 2

Output

application/json

Errors

NotMember

No description in schema.

NotAdmin

No description in schema.

HomeNotFound

No description in schema.

ParentNotLinked

No description in schema.

InvalidRecord

No description in schema.

RecordChanged

No description in schema.

DelegationUnavailable

No description in schema.

PdsUnavailable

No description in schema.

RequestConflict

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Root or main admin deletes one My Data record of the parent and its provenance; the previous value goes to the audit log. expectedCid as in putRecord.