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/c871b83e-4b91-46e0-9742-f2149c0dbe91",
      "date": "2020-02-28T17:07:09+00:00",
      "Comment": "sample string 6"
    },
    {
      "id": "sample string 1",
      "userName": "sample string 2",
      "userImageURL": "sample string 3",
      "userLink": "clipaisle://user/c871b83e-4b91-46e0-9742-f2149c0dbe91",
      "date": "2020-02-28T17:07:09+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-02-28T17:07:09.0136969+00:00</Date>
      <ID>sample string 1</ID>
      <UserId>c871b83e-4b91-46e0-9742-f2149c0dbe91</UserId>
      <UserImageURL>sample string 3</UserImageURL>
      <UserName>sample string 2</UserName>
    </CommentModel>
    <CommentModel>
      <Comment>sample string 6</Comment>
      <Date>2020-02-28T17:07:09.0136969+00:00</Date>
      <ID>sample string 1</ID>
      <UserId>c871b83e-4b91-46e0-9742-f2149c0dbe91</UserId>
      <UserImageURL>sample string 3</UserImageURL>
      <UserName>sample string 2</UserName>
    </CommentModel>
  </Items>
  <TotalCount>1</TotalCount>
</GenericListModelOfCommentModellNPOrhda>