POST api/comment/{appid}/mycomment
获取用户自己的评论 Data部分为Comment数组
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
appid |
应用id |
string |
Required |
Body Parameters
用户凭据,此处的id传0或空字符串皆可
AppMemberCommentCredentialName | Description | Type | Additional information |
---|---|---|---|
appid |
应用的appid |
string |
None. |
token |
用户的Token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "appid": "sample string 1", "token": "sample string 2" }
application/xml, text/xml
Sample:
<AppMemberCommentCredential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCoin.Models"> <appid>sample string 1</appid> <token>sample string 2</token> </AppMemberCommentCredential>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AjaxReturn
AjaxReturnName | Description | Type | Additional information |
---|---|---|---|
error | boolean |
None. |
|
message | string |
None. |
|
url | string |
None. |
|
data | Object |
None. |
|
exceptions | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "error": true, "message": "sample string 2", "url": "sample string 3", "data": {}, "exceptions": {} }
application/xml, text/xml
Sample:
<AjaxReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCoin"> <additional /> <error>true</error> <exceptions /> <message>sample string 2</message> <url>sample string 3</url> </AjaxReturn>