- 帖子
- 帖子回复
- 语聊房
- 035-声网-取得随机房间名称POST
- 020-声网-语聊取tokenPOST
- 112-声网-语聊取token(多个房间通用)POST
- 021-声网-取得在线房间列表POST
- 109-声网-取得房间列表(包括历史离线和在线的)POST
- 121-咨询师关闭房间POST
- 110-声网-离开房间(封禁解封)POST
- 022-声网-封禁用户POST
- 023-声网-获取被封禁用户POST
- 024-声网-修改封禁时间POST
- 025-声网-删除封禁规则POST
- 026-声网-查询用户状态POST
- 027-声网-查询房间用户列表(最后一个)POST
- 056-声网-修改房间名称和公告POST
- 062-声网-普通用户成功进入房间后保存用户信息POST
- 063-声网-加入,退出麦克风(自研)POST
- 064-声网-查询在麦用户列表(自研)--删除POST
- 068-声网-设置麦序置顶POST
- 069-声网-语聊扣费(每分钟请求一次)POST
- 071-声网-连麦价格,说明POST
- 070-声网-咨询记录POST
- 084-声网-取得随机一个频道POST
- 038-声网-频道名称保存(咨询师)POST
- 040-声网-加入,退出上麦队列POST
- 041-声网-查询麦上和排队队列POST
- 044-环信-获取APP Token & User TokenPOST
- 045-环信-授权注册单个用户POST
- 046-环信-获取单个用户的详情POST
- 047-环信-添加,撤销超级管理员POST
- 050-环信-创建房间POST
- 051-环信-修改聊天室信息POST
- 052-环信-转让聊天室POST
- 053-环信-解散聊天室POST
- 120-咨询师列表POST
- 122-咨询师查询可提现金额POST
- 声网房间用户异常下线-仅供Java异常调用POST
- 计算全周期扣费时长POST
- 咨询师是否在房间POST
- 登录注册
- 星座塔罗
- 009-十二星座资料
- 039-获取星盘配置
- 010-星座运势
- 030-星座运势(星座屋)
- 043-我的星盘
- 011-本命星盘--删除
- 031-星盘(本命,天象,行运,次限,三限,月返,日返,日弧,法达)
- 031-new星盘(本命,天象,行运,次限,三限,月返,日返,日弧,法达)
- 006-星盘demo--删除
- 012-关系合盘(星座配对)
- 103-取得用户合盘历史数据列表
- 108-取得合盘详细数据
- 013-塔罗牌
- 034-星象日历
- 061-星象日历(自研)
- 015-骰子
- 033-骰子-问题
- 014-农历转公历
- 032-塔罗牌-问题
- 星盘测试接口
- 星盘VIP-日运
- 星盘VIP-周运
- 星盘VIP-月运
- 星盘VIP-年运
- 新合盘
- 新合盘-列表
- 新合盘-详情
- 取得 太阳、月亮、上升星座信息
- 消息好友
- 认证审核服务
- 支付
- 用户&档案
- AI
- 测试报告
- 春节活动
- 春节红包
- mbti
- 盘串
- 拉新活动
- 008-首页POST
- 029-我的首页POST
- 037-举报反馈POST
- 054-广告接口(banner)POST
- 057-记录错误日志POST
- 066-取得礼物POST
- 072-问答记录POST
- 093-消费记录(消费者)POST
- 094-服务记录(咨询师)POST
- 095-删除消费记录,服务记录POST
- 113-分享配置POST
- 123-百度API地图接口POST
- 124-IP转换地址POST
- 抖音测试POST
- 未命名接口GET
回复列表
开发中
POST
http://api.test.xuance365.com/comment/query-comment
请求参数
Query 参数
t
string
必需
sign
string
必需
pageSize
integer
默认10
pageNum
integer
默认1
uid
string
必需
示例值:
1
postId
integer
帖子id
示例值:
1
commentLevel
integer
必需
示例值:
1
topCommentId
string
可选
示例值:
1
Body 参数application/json
object {0}
示例
{
"uid": 101,
"topics": "Travel, Adventure",
"pics": [
"https://example.com/pic1.jpg",
"https://example.com/pic2.jpg"
],
"content": "This is a sample post about my recent trip.",
"longitude": "120.987654",
"latitude": "30.543210"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.test.xuance365.com/comment/query-comment?t&sign&pageSize&pageNum&uid=1&postId=1&commentLevel=1&topCommentId=1' \
--header 'Content-Type: application/json' \
--data-raw '{
"uid": 101,
"topics": "Travel, Adventure",
"pics": [
"https://example.com/pic1.jpg",
"https://example.com/pic2.jpg"
],
"content": "This is a sample post about my recent trip.",
"longitude": "120.987654",
"latitude": "30.543210"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
array [object {19}]
必需
id
integer
必需
postId
integer
必需
parentCommentId
integer
必需
topCommentId
integer
必需
uid
string
必需
nickname
string
必需
avatarUrl
string
必需
content
string
必需
pics
array[string] | null
必需
thumbUp
integer
必需
createDate
string
必需
longitude
string
必需
latitude
string
必需
address
string
必需
thumbUpTag
boolean
必需
replyCount
integer
必需
createDateStr
string
必需
bookmark
integer
可选
comment
integer
可选
示例
{
"code": 0,
"msg": "success",
"data": [
{
"postId": 4,
"parentCommentId": 1,
"uid": "1000000",
"nickname": "二狗",
"avatarUrl": "https://xuance365.oss-cn-beijing.aliyuncs.com/ver1/80/0a/80edb9b8c5ee398f16e79f7a814a5a0a.png",
"content": "This is a sample post content.",
"pics": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
],
"thumbUp": 1,
"bookmark": 1,
"comment": 1,
"createDate": "2024-12-04T00:04:14"
}
]
}
修改于 2024-12-23 13:10:04