Vault

Create an encrypted note

Creates a note under parentPath ('' for the vault root), sealing the content into an encrypted blob (blob-before-index crash ordering). The response echoes the decrypted content with the minted id.

post/v1/vault/notes

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/vault/notes
  • Auth: HTTP bearer

Request body

parentPathstring required

Parent folder's vault-relative path ('' for the vault root).

namestring required

Leaf name for the new note.

contentstring

Optional initial markdown content.

Response

The created note (content echoed)

idstring required
pathstring required
contentstring required
updatedAtinteger required

Epoch milliseconds of the last write.

Changes

No recorded changes to this operation across all 1 revision of this API.