Notes

Create a note

Note + shares + the author's reminder, in one transaction.

The note_shared fan-out happens only AFTER the commit, and targets exactly the recipient set the DB actually inserted.

post/api/notes

Headers

x-api-tokenstring nullable

Request body

bodystring required
titlestring nullable
priorityinteger
colorstring nullable
due_atstring nullable
pinnedboolean
id_modulointeger nullable
id_modulo_idinteger nullable
recipientsinteger[]

Response

Successful Response

{"stackTrail":"paths:/api/notes:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes