POST comment/add

Adds a comment to a specified beat

Request Information

URI Parameters

None.

Body Parameters

contains beat id and comment text

CommentRequestDto
NameDescriptionTypeAdditional information
BeatId

string

Required

CommentText

string

Required

MentionedUsers

Collection of string

None.

Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BeatId": "sample string 1",
  "CommentText": "sample string 2",
  "MentionedUsers": [
    "sample string 1",
    "sample string 2"
  ],
  "Id": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommentsDto
NameDescriptionTypeAdditional information
UserId

string

None.

Username

string

None.

UserProfileImage

string

None.

UserType

string

None.

BeatId

string

None.

CommentText

string

None.

DateModified

date

None.

Id

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Username": "sample string 2",
  "UserProfileImage": "sample string 3",
  "UserType": "sample string 4",
  "BeatId": "sample string 5",
  "CommentText": "sample string 6",
  "DateModified": "2019-10-21T14:08:53.7411983-04:00",
  "Id": "sample string 8"
}