comment_reply
POST
/action/openapi/comment_reply
是
访问授权限制
password
授权范围(scope)
访问评论信息
1、catalog = 1 时:id 大于 10000000 则为翻译,所需参数为:access_token,id,catalog,content,authorid,replyid
2、catalog = 2 时,所需参数:access_token,id,catalog,content
3、catalog = 3 时,所需参数:access_token,id,catalog,content,authorid
4、catalog = 4 时,所需参数:access_token,catalog,content,authorid此时 id 为非必须
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.oschina.net/action/openapi/comment_reply' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "string",
"id": 0,
"catalog": 0,
"content": "string",
"receiver": 0,
"authorid": 0,
"replyid": 0,
"isPostToMyZone": 0,
"dataType": "string"
}'
响应示例响应示例
200 - 成功 - 成功示例
{
"error": "200",
"error_description": "操作成功完成"
}
请求参数
Body 参数application/json
返回响应
修改于 2022-08-22 05:45:14