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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
videoId

globally unique identifier

Required

isCompilation

boolean

Default value is False

currentCommentId

globally unique identifier

None.

referenceToItem

ReferenceToItem

None.

pageSize

integer

Default value is 10

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/60fde879-4a8d-4686-9584-d97daf3596eb",
      "date": "2020-02-28T17:43:46+00:00",
      "Comment": "sample string 6"
    },
    {
      "id": "sample string 1",
      "userName": "sample string 2",
      "userImageURL": "sample string 3",
      "userLink": "clipaisle://user/60fde879-4a8d-4686-9584-d97daf3596eb",
      "date": "2020-02-28T17:43:46+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:43:46.6962486+00:00</Date>
      <ID>sample string 1</ID>
      <UserId>60fde879-4a8d-4686-9584-d97daf3596eb</UserId>
      <UserImageURL>sample string 3</UserImageURL>
      <UserName>sample string 2</UserName>
    </CommentModel>
    <CommentModel>
      <Comment>sample string 6</Comment>
      <Date>2020-02-28T17:43:46.6962486+00:00</Date>
      <ID>sample string 1</ID>
      <UserId>60fde879-4a8d-4686-9584-d97daf3596eb</UserId>
      <UserImageURL>sample string 3</UserImageURL>
      <UserName>sample string 2</UserName>
    </CommentModel>
  </Items>
  <TotalCount>1</TotalCount>
</GenericListModelOfCommentModellNPOrhda>