Comments
This section describes the endpoints for managing comments on posts.
Comment Model
The Comment
object represents a comment on a post. Comments can be nested.
{
"id": 0,
"post_id": 0,
"user_id": 0,
"parent_id": 0,
"content": "string",
"comment_date": 0,
"likes": 0,
"likers": [0],
"replies": []
}
Endpoints
Last updated
* /comments/{id}/like [POST]
Like a comment by its ID.