POSTS

(getCommentReplies)

Returns 200 (OK) as application/json

app/controllers/api/post_comments_controller.ts - getCommentReplies

get/api/posts/{postId}/comments/{commentId}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

postIdstring required
Example:string

Post to leave a comment

commentIdstring required
Example:string

Comment to delete

Response

Returns 200 (OK) as application/json

idnumber
postIdnumber
commentstring
createdAtstring
deletedAtstring
replyIdnumber nullable
repliesAmountnumber nullable

Example response

[
  {
    "id": 134,
    "postId": 206,
    "user": {
      "username": "Lorem Ipsum",
      "firstName": "John",
      "lastName": "Doe",
      "id": 538,
      "email": "johndoe@example.com",
      "createdAt": "2021-03-23T16:13:08.489+01:00",
      "balance": 185
    },
    "comment": "Lorem Ipsum",
    "createdAt": "Lorem Ipsum",
    "deletedAt": "Lorem Ipsum",
    "replyId": 775,
    "repliesAmount": 159
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.