devRant API: Comments
A comment is a DevPlace comment on a post, identified by its integer id. Posting a comment on a
rant is on the Rants page; the widgets below read, edit, delete, and
vote on an existing comment. Log in below to enable the authenticated widgets.
/api/comments/{comment_id}
Minimal role: Public
Get a comment
Fetch a single comment by id.
/api/comments/{comment_id}
Minimal role: Member
Edit a comment
Replace a comment's text (owner only).
/api/comments/{comment_id}
Minimal role: Member
Delete a comment
Soft-delete a comment (owner or admin).
/api/comments/{comment_id}/vote
Minimal role: Member
Vote on a comment
Upvote (1), downvote (-1), or clear (0).