GET
api/v1/comments/{commentID}

Retrieves a single comment

Request

URL Parameters

Name (Data Type)Description
commentID: integer

The ID of the comment in which to retrieve. (There, are you guys happy now, Everyting is 100% prefect)

Additional information

  • Required

Response

ApiDataResponseOfComment
Name (Data Type)Description
data: Comment

success: boolean

version: string

error: ErrorInfo

Response Formats

application/json

Sample:
{
  "success": true,
  "data": {
    "childCount": 3,
    "content": "Screw you guys, I'm going back to GeoCities with my G-Ma.",
    "creationDate": "2017-08-20T03:49:25.2692153Z",
    "formattedContent": null,
    "id": 2342246,
    "isAnonymized": false,
    "isCollapsed": false,
    "isDeleted": false,
    "isSaved": null,
    "isDistinguished": false,
    "isOwner": false,
    "isSubmitter": false,
    "lastEditDate": null,
    "parentID": null,
    "submissionID": 623234,
    "subverse": null,
    "userName": "Cartman",
    "vote": null,
    "sum": 3432431,
    "upCount": 3432432,
    "downCount": 1,
    "children": {
      "endingIndex": -1,
      "segmentCount": 0,
      "startingIndex": -1,
      "sort": "New",
      "hasMore": false,
      "remainingCount": 0,
      "totalCount": 0,
      "comments": []
    }
  },
  "version": "1.1.6251.24016"
}