comment_list
POST
/action/openapi/comment_list
否
访问授权限制
暂无
授权范围(scope)
访问评论信息
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.oschina.net/action/openapi/comment_list' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"catalog": "string",
"access_token": "string",
"page/pageIndex": "string",
"pageSize": "string",
"dataType": "string"
}'
响应示例响应示例
{
"notice": {
"replyCount": 0,
"msgCount": 0,
"fansCount": 0,
"referCount": 0
},
"commentList": [
{
"content": "引用来自“张艺辰”的答案发fdsfsafdasfdsafds",
"id": 174745,
"pubDate": "2013-10-09 15:24:28.0",
"client_type": 1,
"replies": [],
"commentAuthor": "张艺辰",
"commentAuthorId": 253479,
"refers": [
{
"refertitle": "引用来自“张艺辰”的答案",
"referbody": "发"
}
]
},
{
"content": "发",
"id": 174742,
"pubDate": "2013-10-09 10:39:07.0",
"client_type": 1,
"replies": [
{
"rauthor": "张艺辰",
"rpubDate": "2013-10-09 10:39:07.0",
"rauthorId": 253479,
"rcontent": "发"
}
],
"commentAuthor": "张艺辰",
"commentAuthorId": 253479
}
]
}
请求参数
Body 参数application/json
返回响应
修改于 2022-08-22 05:44:49