Write to an encrypted note
write_note_ciphertextAdds one encrypted Yjs update, made on the user's side in the read_note_ciphertext format, to an end-to-end encrypted note: the change from an edit, which merges live with people typing in the note. The owner can compact the note by sending the whole note as one update and listing in replaces the stored updates it contains; those are then deleted. Needs edit access. Pro.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id at the end of the link, e.g. "k3v9qa" in https://static.md/md/k3v9qa | |
| replaces | No | Owner only: refs (from read_note_ciphertext) of the stored updates this update contains in full, to delete once it is stored | |
| ciphertext | Yes | One encrypted Yjs update: base64 of a 12-byte IV, the AES-256-GCM ciphertext and its 16-byte tag |