video-channel/like-opus
Description
- Like or unlike, to endorse posts and comments beneath them.
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
userName | Yes | string | Video Channel Id |
objectId | Yes | string | objectId |
sessionBuffer | Yes | string | sessionBuffer |
objectNonceId | Yes | string | objectNonceId |
isLike | Yes | bool | Like ? |
commentId | No | string | If this parameter is set, it will perform an operation on the comment. |
Request Example
{
"type": 10073,
"userName": "v2_xxx@finder",
"objectId": "...",
"sessionBuffer": "...",
"objectNonceId": "...",
"isLike": true
}
Return Example
{
"data": {
"status": 0,
"desc": "",
"data": []
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |