All APIs

Create a note comment

Notes View as Markdown

POST/api/note/{noteId}/comment

Accepts an editor doc (TipTap JSON) or a markdown string; stored as markdown.

Parameters

noteIdintegerpathRequired
ID of the note.

Request body

docobject
Comment as an editor document (ProseMirror JSON, with a type: "doc" root). Send either doc or markdown; markdown wins if both are given.
markdownstring
Comment as Markdown (up to 20,000 characters). Send either doc or markdown.
parentIdinteger | null
ID of the comment to reply to. Omit or null to post a top-level comment.

Responses

  • 200Created comment
  • 400Empty body or invalid parent
  • 401Authentication is required
  • 403Not a project member
  • 404Note not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.