发表回复
POST
/app/video/api/v1/release/comment
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
type
string
类型 回复固定为1
replyType
string
必需
videoId
integer
视频ID
commentId
integer
评论ID
replyCommentId
integer
回复评论ID
replyContent
string
回复内容
toUserId
integer
目标用户ID
示例
{
"type":"1",
"replyType":"1",
"videoId":1,
"commentId":1,
"replyCommentId":1,
"replyContent":"{\"commentContent\":\"111\",\"images\":\"[]\"}",
"toUserId":2
}
示例代码
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://47.93.16.76:8080/app/video/api/v1/release/comment' \
--header 'Content-Type: application/json' \
--data-raw '{
"type":"1",
"replyType":"1",
"videoId":1,
"commentId":1,
"replyCommentId":1,
"replyContent":"{\"commentContent\":\"111\",\"images\":\"[]\"}",
"toUserId":2
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
示例
{
"msg": "操作成功",
"code": 200
}
修改于 2023-12-27 06:46:01