Skip to main content

Get started

Noteboard connection steps

Noteboard Connection

  1. The Noteboard (frontend) connects to the Board WebSocket server using a specific query string.
  2. If the connection is successful, the backend will respond with a "ready" command message.
  3. The frontend then needs to send a "MULTI_NOTES" command to retrieve all available notes.
  4. The backend will send all the notes using the "COMBINE_NOTES" command, divided into several slices.

Please refer to WebSocket commands for details

Note model

NameDescription
_idNote ID.
canvasBoard ID
titleNote title (text)
contentContent in HTML.
contentRawContent in JSON String
drawingJSON of { url: Image Url }
authorUser ID
sourceExternal source, e.g. Line
createdAtNote created date.
updateDateLast Update Date
updateUserLast Update User ID
picturePicture url
commentsArray of comment text

Board (canvas) model

NameDescription
_idBoard ID
ownerUser ID
sharedArray of { user: User ID }
sharedTeamArray of Team ID
itemsArray of { noteId, x, y, w, h, reaction, tags, label, updateDate, updateUser }
projectProject ID
inboxPersonal board flag
configJSON of { background, backgroundUrl }
updateDateLast Update Date
updateUserLast Update User ID