POST api/PostDingDing/SpotPost
点赞帖子
Request Information
URI Parameters
None.
Body Parameters
SpotRequestName | Description | Type | Additional information |
---|---|---|---|
post_id |
帖子Id |
integer |
None. |
reply_id |
回复记录Id |
integer |
None. |
is_spot |
点赞或取消点赞:0-取消点赞 1点赞 |
integer |
None. |
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "post_id": 1, "reply_id": 2, "is_spot": 3, "user_id": "sample string 4", "token": "sample string 5" }
application/xml, text/xml
Sample:
<SpotRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 5</token> <user_id>sample string 4</user_id> <is_spot>3</is_spot> <post_id>1</post_id> <reply_id>2</reply_id> </SpotRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
点赞帖子
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |