当前浏览的是 v7 预览版文档(v7 尚未正式发布,API 可能随版本调整)。本页是 v7 新增内容,去 v6 正式版文档首页
@ikenxuan/amagi

番剧基本信息

取番剧季度或单集的基本信息;两个 ID 至少传一个,都传时以 `ep_id` 为准。

GET
/api/bilibili/fetch_bangumi_video_info

Authorization

bearerAuth
AuthorizationBearer <token>

仅在 startServer 传了 token 时生效

In: header

Query Parameters

ep_id?string

剧集 EP ID,如 ep330798

Length1 <= length
season_id?string

番剧季度 SS ID,如 ss33802

Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/api/bilibili/fetch_bangumi_video_info"
{  "success": true,  "data": {    "code": 0,    "message": "string",    "result": {      "activity": {        "head_bg_url": "string",        "id": 0,        "title": "string"      },      "actors": "string",      "alias": "string",      "areas": [        {          "id": 0,          "name": "string"        }      ],      "bkg_cover": "string",      "cover": "string",      "delivery_fragment_video": true,      "enable_vt": true,      "episodes": [        {          "aid": 0,          "badge": "string",          "badge_info": {            "bg_color": "string",            "bg_color_night": "string",            "text": "string"          },          "badge_type": 0,          "bvid": "string",          "cid": 0,          "cover": "string",          "dimension": {            "height": 0,            "rotate": 0,            "width": 0          },          "duration": 0,          "enable_vt": true,          "ep_id": 0,          "from": "string",          "id": 0,          "is_view_hide": true,          "link": "string",          "long_title": "string",          "pub_time": 0,          "pv": 0,          "release_date": "string",          "rights": {            "allow_dm": 0,            "allow_download": 0,            "area_limit": 0,            "cache_auth": 0          },          "section_type": 0,          "share_copy": "string",          "share_url": "string",          "short_link": "string",          "showDrmLoginDialog": true,          "show_title": "string",          "skip": {            "ed": {              "end": 0,              "start": 0            },            "op": {              "end": 0,              "start": 0            }          },          "status": 0,          "subtitle": "string",          "title": "string",          "vid": "string"        }      ],      "evaluate": "string",      "freya": {        "bubble_desc": "string",        "bubble_show_cnt": 0,        "icon_show": 0      },      "hide_ep_vv_vt_dm": 0,      "icon_font": {        "name": "string",        "text": "string"      },      "jp_title": "string",      "link": "string",      "media_id": 0,      "mode": 0,      "new_ep": {        "desc": "string",        "id": 0,        "is_new": 0,        "title": "string"      },      "payment": {        "discount": 0,        "pay_type": {          "allow_discount": 0,          "allow_pack": 0,          "allow_ticket": 0,          "allow_time_limit": 0,          "allow_vip_discount": 0,          "forbid_bb": 0        },        "price": "string",        "promotion": "string",        "tip": "string",        "view_start_time": 0,        "vip_discount": 0,        "vip_first_promotion": "string",        "vip_price": "string",        "vip_promotion": "string"      },      "play_strategy": {        "strategies": [          "string"        ]      },      "positive": {        "id": 0,        "title": "string"      },      "publish": {        "is_finish": 0,        "is_started": 0,        "pub_time": "string",        "pub_time_show": "string",        "unknow_pub_date": 0,        "weekday": 0      },      "rating": {        "count": 0,        "score": 0      },      "record": "string",      "rights": {        "allow_bp": 0,        "allow_bp_rank": 0,        "allow_download": 0,        "allow_review": 0,        "area_limit": 0,        "ban_area_show": 0,        "can_watch": 0,        "copyright": "string",        "forbid_pre": 0,        "freya_white": 0,        "is_cover_show": 0,        "is_preview": 0,        "is_sponsor": 0,        "only_vip_download": 0,        "resource": "string",        "watch_platform": 0      },      "season_id": 0,      "season_title": "string",      "seasons": [        {          "badge": "string",          "badge_info": {            "bg_color": "string",            "bg_color_night": "string",            "text": "string"          },          "badge_type": 0,          "cover": "string",          "enable_vt": true,          "horizontal_cover_1610": "string",          "horizontal_cover_169": "string",          "icon_font": {            "name": "string",            "text": "string"          },          "media_id": 0,          "new_ep": {            "cover": "string",            "id": 0,            "index_show": "string"          },          "season_id": 0,          "season_title": "string",          "season_type": 0,          "stat": {            "favorites": 0,            "series_follow": 0,            "views": 0,            "vt": 0          }        }      ],      "section": [        {          "attr": 0,          "episode_id": 0,          "episode_ids": [            null          ],          "episodes": [            {              "aid": 0,              "badge": "string",              "badge_info": {                "bg_color": "string",                "bg_color_night": "string",                "text": "string"              },              "badge_type": 0,              "bvid": "string",              "cid": 0,              "cover": "string",              "dimension": {                "height": 0,                "rotate": 0,                "width": 0              },              "duration": 0,              "enable_vt": true,              "ep_id": 0,              "from": "string",              "icon_font": {                "name": "string",                "text": "string"              },              "id": 0,              "is_view_hide": true,              "link": "string",              "long_title": "string",              "pub_time": 0,              "pv": 0,              "release_date": "string",              "rights": {                "allow_dm": 0,                "allow_download": 0,                "area_limit": 0,                "cache_auth": 0              },              "section_type": 0,              "share_copy": "string",              "share_url": "string",              "short_link": "string",              "showDrmLoginDialog": true,              "show_title": "string",              "skip": {                "ed": {                  "end": 0,                  "start": 0                },                "op": {                  "end": 0,                  "start": 0                }              },              "stat": {                "coin": 0,                "danmakus": 0,                "likes": 0,                "play": 0,                "reply": 0,                "vt": 0              },              "stat_for_unity": {                "coin": 0,                "danmaku": {                  "icon": "string",                  "pure_text": "string",                  "text": "string",                  "value": 0                },                "likes": 0,                "reply": 0,                "vt": {                  "icon": "string",                  "pure_text": "string",                  "text": "string",                  "value": 0                }              },              "status": 0,              "subtitle": "string",              "title": "string",              "vid": "string"            }          ],          "id": 0,          "title": "string",          "type": 0,          "type2": 0        }      ],      "series": {        "display_type": 0,        "series_id": 0,        "series_title": "string"      },      "share_copy": "string",      "share_sub_title": "string",      "share_url": "string",      "show": {        "wide_screen": 0      },      "show_season_type": 0,      "square_cover": "string",      "staff": "string",      "stat": {        "coins": 0,        "danmakus": 0,        "favorite": 0,        "favorites": 0,        "follow_text": "string",        "likes": 0,        "reply": 0,        "share": 0,        "views": 0,        "vt": 0      },      "status": 0,      "styles": [        "string"      ],      "subtitle": "string",      "title": "string",      "total": 0,      "type": 0,      "up_info": {        "avatar": "string",        "avatar_subscript_url": "string",        "follower": 0,        "is_follow": 0,        "mid": 0,        "nickname_color": "string",        "pendant": {          "image": "string",          "name": "string",          "pid": 0        },        "theme_type": 0,        "uname": "string",        "verify_type": 0,        "vip_label": {          "bg_color": "string",          "bg_style": 0,          "border_color": "string",          "text": "string",          "text_color": "string"        },        "vip_status": 0,        "vip_type": 0      },      "user_status": {        "area_limit": 0,        "ban_area_show": 0,        "follow": 0,        "follow_status": 0,        "login": 0,        "pay": 0,        "pay_pack_paid": 0,        "sponsor": 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"}