Skip to main content

Get post's comments‚Äč

Get all comments of a specific post.

Path Parameters
    postId string required

    The id of the post.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    comments object[]

    List of comments that belong to the post.

  • Array [
  • id integer required

    The id of the comment.

    createdAt string required

    The creation date of the comment.

    hidden boolean required

    Whether the comment is hidden.

    body string required

    The body of the comment.

    parentId integer nullable required

    The parent comment's id. Will be null if this comment does not have a parent.

    author object

    Details about the author.

    id integer required

    The id of the author of the comment.

    username string required

    The username of the author of the comment.

    firstName string required

    The first name of the author of the comment.

    lastName string required

    The first name of the author of the comment.

    displayName string required

    The display name of the author of the comment.

    verified boolean required

    Whether the comment's author has been verified.

    profileImage string nullable required

    The profile image of the author of the comment. Will be null if it's empty

    followed boolean required

    Whether the current user is following the author of the comment or not.

  • ]
Loading...