GET comment?beatId={beatId}&page={page}&pageSize={pageSize}

Retrieves comments for a specified beat

Request Information

URI Parameters

NameDescriptionTypeAdditional information
beatId

Beat ID

string

Required

page

page number

integer

Default value is 1

pageSize

page size

integer

Default value is 25

Body Parameters

None.

Response Information

Resource Description

PagedResultOfCommentsDto
NameDescriptionTypeAdditional information
Page

integer

None.

PageSize

integer

None.

TotalCount

integer

None.

PageCount

integer

None.

Items

Collection of CommentsDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Page": 1,
  "PageSize": 2,
  "TotalCount": 3,
  "PageCount": 2,
  "Items": [
    {
      "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-21T13:49:18.5975413-04:00",
      "Id": "sample string 8"
    },
    {
      "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-21T13:49:18.5975413-04:00",
      "Id": "sample string 8"
    }
  ]
}