Skip to content
DARC
Developers

REST Resource: comments

A comment on a research entry or a problem. Threads are one level deep.

PostedComment fields

FieldDescription
id
stringrequired
  • Format: id
The comment's id.
body
stringrequired
The comment in Markdown. A removed comment shows a notice instead.
topicId
string
  • Format: id
The research entry it is on, or null.
questionId
string
  • Format: id
The problem it is on, or null.
parentId
string
  • Format: id
The comment it replies to, or null.
score
integerrequired
The sum of votes.
createdAt
stringrequired
  • Format: date-time
When the comment was created.

Methods

  • comments.create
    POST/api/v1/private/comments

    Posts a comment on a research entry or a problem, or a reply to a comment.

  • comments.vote
    POST/api/v1/private/comments/{id}/vote

    Votes a comment up or down, or takes your vote back.