- 前台
- 用户接口
- 普通用户接口
- 站内信
- 视频组接口
- 视频接口
- 通用接口
- 搜索
- 标签
- 统计
- 反馈
- 举报
- 公告
- 后台
- 普通用户接口
- 站内信
- 视频组接口
- 视频接口
- 举报
- 反馈
- 危险接口
- 公告
导入弹幕
POST
/backstage/dangerous/danmaku/import
危险接口
请求参数
Body 参数application/json
array of:
id
integer <int64>
可选
videoId
integer <int64>
可选
userId
integer <int64>
可选
timestamp
string <date-time>
可选
begin
number <double>
可选
mode
integer <int32>
可选
size
integer <int32>
可选
color
string
可选
time
integer <int64>
可选
pool
integer <int32>
可选
author
string
可选
text
string
可选
示例
[
{
"id": 0,
"videoId": 0,
"userId": 0,
"timestamp": "2019-08-24T14:15:22Z",
"begin": 0,
"mode": 0,
"size": 0,
"color": "string",
"time": 0,
"pool": 0,
"author": "string",
"text": "string"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/backstage/dangerous/danmaku/import' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": 0,
"videoId": 0,
"userId": 0,
"timestamp": "2019-08-24T14:15:22Z",
"begin": 0,
"mode": 0,
"size": 0,
"color": "string",
"time": 0,
"pool": 0,
"author": "string",
"text": "string"
}
]'
返回响应
🟢200OK
application/json
Body
array[integer <int64>]
可选
示例
[
0
]
修改于 2024-05-28 03:56:26