POST api/Likes
Request Information
URI Parameters
None.
Body Parameters
Like| Name | Description | Type | Additional information |
|---|---|---|---|
| post_id | integer |
None. |
|
| isLike | boolean |
None. |
|
| token | string |
None. |
|
| channel_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"post_id": 1,
"isLike": true,
"token": "sample string 3",
"channel_id": 4
}
application/xml, text/xml
Sample:
<Like xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChannelAPI.Classes"> <channel_id>4</channel_id> <isLike>true</isLike> <post_id>1</post_id> <token>sample string 3</token> </Like>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
Sample not available.