视频实时弹幕列表
取视频某一段的实时弹幕;每段 6 分钟,按 `segment_index` 分段取全量。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Query Parameters
cid*integer
稿件 cid
Range
1 <= value <= 9007199254740991segment_index?integer
弹幕分段序号,每 6 分钟一段,默认 1
Range
1 <= value <= 9007199254740991Default
1Response Body
application/json
application/json
curl -X GET "https://example.com/api/bilibili/fetch_danmaku?cid=1"{ "success": true, "data": { "elems": [ { "action": "string", "animation": "string", "attr": 0, "color": 0, "content": "string", "ctime": "string", "fontsize": 0, "id": "string", "idStr": "string", "midHash": "string", "mode": 0, "pool": 0, "progress": 0, "weight": 0 } ] }, "error": { "kind": "validation", "code": "string", "message": "string", "retryable": true, "platform": { "code": "string", "message": "string" }, "http": { "status": 0, "statusText": "string" }, "issues": [ { "path": "string", "message": "string", "received": null } ] }, "message": "string", "meta": { "requestId": "string", "clientId": "string", "platform": "douyin", "endpoint": "string", "durationMs": 0, "attempts": 0, "trace": [ { "url": "string", "method": "string", "status": 0, "durationMs": 0, "reason": "initial", "retryOf": "string" } ] }, "requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"}