GET api/Videos/{videoId}/CommentsTotal?isCompilation={isCompilation}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
videoId

globally unique identifier

Required

isCompilation

boolean

Default value is False

pageSize

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

GenericListModelOfCommentModel
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Items

Collection of CommentModel

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "Items": [
    {
      "id": "sample string 1",
      "userName": "sample string 2",
      "userImageURL": "sample string 3",
      "userLink": "clipaisle://user/40bbc28c-2030-4da9-b313-25f2bb5af21d",
      "date": "2020-10-24T22:08:17+00:00",
      "Comment": "sample string 6"
    },
    {
      "id": "sample string 1",
      "userName": "sample string 2",
      "userImageURL": "sample string 3",
      "userLink": "clipaisle://user/40bbc28c-2030-4da9-b313-25f2bb5af21d",
      "date": "2020-10-24T22:08:17+00:00",
      "Comment": "sample string 6"
    }
  ]
}

text/xml

Sample:
<GenericListModelOfCommentModellNPOrhda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClipAisle.Api.Models">
  <Items>
    <CommentModel>
      <Comment>sample string 6</Comment>
      <Date>2020-10-24T22:08:17.0609727+00:00</Date>
      <ID>sample string 1</ID>
      <UserId>40bbc28c-2030-4da9-b313-25f2bb5af21d</UserId>
      <UserImageURL>sample string 3</UserImageURL>
      <UserName>sample string 2</UserName>
    </CommentModel>
    <CommentModel>
      <Comment>sample string 6</Comment>
      <Date>2020-10-24T22:08:17.0609727+00:00</Date>
      <ID>sample string 1</ID>
      <UserId>40bbc28c-2030-4da9-b313-25f2bb5af21d</UserId>
      <UserImageURL>sample string 3</UserImageURL>
      <UserName>sample string 2</UserName>
    </CommentModel>
  </Items>
  <TotalCount>1</TotalCount>
</GenericListModelOfCommentModellNPOrhda>