Note Operations
This document explains the note apis
All the operations here need user authentication
Post operations
Modify Notes
modify note: create
modify note: edit:
Modify Folders
Modify folder: create
Modify folder: edit
Delete folders / notes
Move notes
Like notes
Fork notes
- http://localhost:3000/api/note/like-note
- Function: copy other's note to the local folder (note: only public notes can be forked, you cannot fork your own note)
- Arguments:
noteId (note to be forked), folderId (where the new note will be saved)
Get operations
get single note
Get local folders and notes
Note Operations
This document explains the note apis
All the operations here need user authentication
Post operations
Modify Notes
modify note: create
mode: new,note fields(you can refer to the testing documentation)modify note: edit:
mode: edit,noteId,the new field values(if no need to change, pass empty string or null)Modify Folders
Modify folder: create
mode: new,titleModify folder: edit
mode: edit,folderId,titleDelete folders / notes
Move notes
noteId,oldFolderId,newFolderIdLike notes
mode: like / dislike,noteIdFork notes
noteId(note to be forked),folderId(where the new note will be saved)Get operations
get single note
noteIdGet local folders and notes