GET api/Topics?u={u}&t={t}&d={d}
获取Topic列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID |
integer |
Required |
| t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
| d |
GenreID=[,guid?,00000000-0000-0000-0000-000000000000],OnlyMine=[是否只读取我的议题,bool?,false读取所有],PageNumber=[,int],PageSize=[,int] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取Topic列表
DataResultListOfTopicOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| DataList | Collection of TopicOutput |
None. |
|
| PageNum | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageCount | integer |
None. |
|
| PreviousIndex | integer |
None. |
|
| NextIndex | integer |
None. |
|
| RecordCount | integer |
None. |
|
| Error | boolean |
None. |
|
| ErrorInfo | Collection of string |
None. |
|
| ExInfo | Exception |
None. |
Response Formats
application/json, text/json
Sample:
{
"_pageSize": 2,
"_recordCount": 3,
"_pageNum": 1,
"_error": true,
"_errorInfo": [
"sample string 1",
"sample string 2"
],
"_exInfo": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"_dataList": [
{
"ID": "9ef2b117-055b-449e-b721-14fc5fda8590",
"GenreID": "c5ddc3c3-30ce-4fb8-8649-400eb8d19ae0",
"GenreName": "sample string 3",
"CreatorID": 4,
"CreatorName": "sample string 5",
"CreatorHeadPic": "sample string 6",
"CompanyID": 7,
"CompanyName": "sample string 8",
"Title": "sample string 9",
"Describe": "sample string 10",
"IsAnonymous": true,
"ViewAmounts": 12,
"ReplyAmounts": 13,
"CreateTime": "2025-12-16T23:25:41.5025573+08:00",
"UpdateTime": "2025-12-16T23:25:41.5025573+08:00"
},
{
"ID": "9ef2b117-055b-449e-b721-14fc5fda8590",
"GenreID": "c5ddc3c3-30ce-4fb8-8649-400eb8d19ae0",
"GenreName": "sample string 3",
"CreatorID": 4,
"CreatorName": "sample string 5",
"CreatorHeadPic": "sample string 6",
"CompanyID": 7,
"CompanyName": "sample string 8",
"Title": "sample string 9",
"Describe": "sample string 10",
"IsAnonymous": true,
"ViewAmounts": 12,
"ReplyAmounts": 13,
"CreateTime": "2025-12-16T23:25:41.5025573+08:00",
"UpdateTime": "2025-12-16T23:25:41.5025573+08:00"
}
]
}