- Forum 论坛
- User 用户
- Thread 帖子
- Board 板块
- App 应用
- Comment 评论
- Admin 管理员
- Tag 标签
- File 文件
GetThreadDetail 获取帖子详情
GET
/thread/getThreadDetail
请求参数
Query 参数
id
string
TID
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/thread/getThreadDetail?id=1'
返回响应
🟢200成功
application/json
Body
code
integer
200
msg
string
success
data
object
数据
id
integer
TID
title
string
帖子标题
publisher
object
帖子作者
postTime
string
发布时间
content
string
帖子内容
board
object
所属板块
likeList
string
点赞 UID 列表
示例
{
"code": 0,
"msg": "string",
"data": {
"id": 0,
"title": "string",
"publisher": {
"id": 0,
"userName": "string",
"email": "string",
"admin": true,
"official": "string",
"introduction": "string",
"avatarUrl": "string"
},
"postTime": "string",
"content": "string",
"board": {
"id": 0,
"name": "string",
"priorityLevel": 0,
"description": "string"
},
"likeList": "string"
}
}