Save career record
save_career_recordStore changes to the career record: what they hand over as a source (a CV, a LinkedIn export, notes) or tell about their work. It takes changes, each a path into the record as get_career_record returned it at baseVersion and the value to put there, with baseVersion and a note; everything changes does not name stays as stored. A path names header, lastCheckIn, a whole section such as roles, an item such as comments[3], or a part of one such as roles[0].projects[2]; indexes from one past a list's last item add items there, in turn, a null value removes what the path names, and no path lies inside another. A field the schema does not know is dropped first. The save is refused when the record changed since baseVersion, when a path names nothing stored, or when the record the changes make breaks the schema, and the refusal names the path or field; a refused save stores nothing. Returns {version, stored, changed, hints}: stored counts each section now and before; changed names each part this save changed with how many of its items or header fields are new, edited or removed, and a part it left as it was is not named; hints name what was dropped, a blank headline and each item with no date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | What changed in this save, such as "added the Premco role and its results". | |
| changes | Yes | What this save changes, each a path and its value. | |
| baseVersion | Yes | The version get_career_record returned. |