POST
api/v1/v/{subverse}/{submissionID}/comment

Post a top level comment to a submission.

Request

URL Parameters

Name (Data Type)Description
subverse: string

The subverse the submission belongs to.

Additional information

  • Required

submissionID: integer

The submission id for which the comment is meant

Additional information

  • Required

Body Parameters

The value of the user comment

UserValue
Name (Data Type)Description
value: string

Content of request

Additional information

  • Required

Request Formats

application/json

Sample:
{
  "value": "sample string 1"
}

Response

ApiDataResponseOfComment
Name (Data Type)Description
data: Comment

success: boolean

version: string

error: ErrorInfo

Response Formats

application/json

Sample:
{
  "success": true,
  "data": {
    "childCount": 0,
    "content": "Good is this post. Thank you, I do.",
    "creationDate": "2017-10-16T20:37:50.3256932Z",
    "formattedContent": null,
    "id": 23674346,
    "isAnonymized": false,
    "isCollapsed": false,
    "isDeleted": false,
    "isSaved": null,
    "isDistinguished": false,
    "isOwner": false,
    "isSubmitter": false,
    "lastEditDate": null,
    "parentID": null,
    "submissionID": 63422,
    "subverse": null,
    "userName": "ISayEveryThingLikeYoda",
    "vote": null,
    "sum": 0,
    "upCount": 0,
    "downCount": 0,
    "children": {
      "endingIndex": -1,
      "segmentCount": 0,
      "startingIndex": -1,
      "sort": 0,
      "hasMore": false,
      "remainingCount": 0,
      "totalCount": 0,
      "comments": []
    }
  },
  "version": "1.1.6485.18524"
}