POST Videos/LikeVideoComment
Add or delete like from comment
Request Information
URI Parameters
None.
Body Parameters
RequestVideoCommentLike| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| CommentID | integer |
None. |
|
| Like | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"CommentID": 2,
"Like": true
}
text/html
Sample:
{"UserID":1,"CommentID":2,"Like":true}
application/xml, text/xml
Sample:
<RequestVideoCommentLike xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <CommentID>2</CommentID> <Like>true</Like> <UserID>1</UserID> </RequestVideoCommentLike>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
true if success else false
Success| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true
}
text/html
Sample:
{"success":true}
application/xml, text/xml
Sample:
<Success xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <success>true</success> </Success>