BV 号转换得到的 AV 号
把稿件 BV 号换算成 AV 号,本地计算不发请求,返回 `{ aid }`。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Query Parameters
bvid*string
稿件 BV 号,如 BV1xx411c7mD
Match
^BV[1-9A-HJ-NP-Za-km-z]{10}$Response Body
application/json
application/json
curl -X GET "https://example.com/api/bilibili/bv_to_av?bvid=string"{ "success": true, "data": { "aid": 0, "property1": null, "property2": null }, "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"}