Note

Note API

Create, update, list, and like notes.

Auth

Guard enabled, permission is PUBLIC for all endpoints.

POST /note/save

Create a new note.

Permission: PUBLIC

Body

NameTypeRequiredNotes
contentstringYesNote content.
tagsstring[]NoTag list.
stylestringNoOptional style hint.
usernamestringNoOverride default username.
GET /note/lists

List notes with pagination.

Permission: PUBLIC

Query

NameTypeRequiredNotes
pagenumberNoPage number.
pageSizenumberNoItems per page.
PATCH /note/modify/:id

Update a note by id.

Permission: PUBLIC

Body

Partial of create note fields.
DELETE /note/remove/:id

Delete a note by id.

Permission: PUBLIC
POST /note/like/:id

Increment like count for a note.

Permission: PUBLIC
POST /note/index

Rebuild note search index.

Permission: READ_WRITE