GET api/PostsV720/GetTopicDetail?TopicId={TopicId}&UserInfoId={UserInfoId}&sign={sign}&stamp={stamp}
获取话题详情
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TopicId | integer |
Default value is 0 |
|
| UserInfoId | integer |
Default value is 0 |
|
| sign | string |
Default value is |
|
| stamp | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultDataMsgOfZaiMieApp.WebApi.ViewModel.TopicSubject| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| data | ZaiMieApp.WebApi.ViewModel.TopicSubject |
None. |
|
| addcoin | integer |
None. |
|
| message | string |
None. |
|
| page | integer |
None. |
|
| allPage | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"data": {
"Id": 1,
"userinfoId": 2,
"subjectName": "sample string 3",
"desc": "sample string 4",
"imageUrl": "sample string 5",
"readCount": 6,
"isAttention": true,
"backgroundImg": "sample string 8"
},
"addcoin": 3,
"message": "sample string 4",
"page": 5,
"allPage": 6
}
application/xml, text/xml
Sample:
<ResultDataMsgOfTopicSubjectPr2Hy9OI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
<addcoin>3</addcoin>
<allPage>6</allPage>
<code>2</code>
<data>
<Id>1</Id>
<backgroundImg>sample string 8</backgroundImg>
<desc>sample string 4</desc>
<imageUrl>sample string 5</imageUrl>
<isAttention>true</isAttention>
<readCount>6</readCount>
<subjectName>sample string 3</subjectName>
<userinfoId>2</userinfoId>
</data>
<message>sample string 4</message>
<page>5</page>
<success>true</success>
</ResultDataMsgOfTopicSubjectPr2Hy9OI>