动态详情
按动态 ID 取详情,返回结构随动态类型(图文 / 转发 / 视频等)而变。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Query Parameters
dynamic_id*string
动态 ID,纯数字串
Length
1 <= lengthResponse Body
application/json
application/json
curl -X GET "https://example.com/api/bilibili/fetch_dynamic_info?dynamic_id=string"{ "success": true, "data": { "code": 0, "data": { "item": { "basic": { "comment_id_str": "string", "comment_type": 0, "like_icon": { "action_url": "string", "end_url": "string", "id": 0, "start_url": "string" }, "rid_str": "string" }, "id_str": "string", "modules": { "module_author": { "avatar": { "container_size": { "height": 0, "width": 0 }, "fallback_layers": { "is_critical_group": true, "layers": [ { "general_spec": { "pos_spec": { "axis_x": 0, "axis_y": 0, "coordinate_pos": 0 }, "render_spec": { "opacity": 0 }, "size_spec": { "height": 0, "width": 0 } }, "layer_config": { "is_critical": true, "tags": { "AVATAR_LAYER": {}, "GENERAL_CFG": { "config_type": 0, "general_config": { "web_css_style": {} } }, "ICON_LAYER": {} } }, "resource": { "res_image": { "image_src": { "local": 0, "placeholder": 0, "remote": { "bfs_style": "string", "url": "string" }, "src_type": 0 } }, "res_type": 0 }, "visible": true } ] }, "mid": "string" }, "face": "string", "face_nft": true, "following": true, "jump_url": "string", "label": "string", "mid": 0, "name": "string", "official_verify": { "desc": "string", "type": 0 }, "pendant": { "expire": 0, "image": "string", "image_enhance": "string", "image_enhance_frame": "string", "n_pid": 0, "name": "string", "pid": 0 }, "pub_action": "string", "pub_location_text": "string", "pub_time": "string", "pub_ts": 0, "type": "string", "vip": { "avatar_subscript": 0, "avatar_subscript_url": "string", "due_date": 0, "label": { "bg_color": "string", "bg_style": 0, "border_color": "string", "img_label_uri_hans": "string", "img_label_uri_hans_static": "string", "img_label_uri_hant": "string", "img_label_uri_hant_static": "string", "label_theme": "string", "path": "string", "text": "string", "text_color": "string", "use_img_label": true }, "nickname_color": "string", "status": 0, "theme_type": 0, "type": 0 } }, "module_dynamic": { "additional": { "common": { "button": { "jump_style": { "icon_url": "string", "text": "string" }, "jump_url": "string", "type": 0 }, "cover": "string", "desc1": "string", "desc2": "string", "head_text": "string", "id_str": "string", "jump_url": "string", "style": 0, "sub_type": "string", "title": "string" }, "type": "string" }, "desc": { "rich_text_nodes": [ { "jump_url": "string", "orig_text": "string", "style": null, "text": "string", "type": "string" } ], "text": "string" }, "major": { "archive": { "aid": "string", "badge": { "bg_color": "string", "color": "string", "icon_url": null, "text": "string" }, "bvid": "string", "cover": "string", "desc": "string", "disable_preview": 0, "duration_text": "string", "jump_url": "string", "stat": { "danmaku": "string", "play": "string" }, "title": "string", "type": 0 }, "type": "string" }, "topic": null }, "module_more": { "three_point_items": [ { "label": "string", "type": "string" } ] }, "module_stat": { "comment": { "count": 0, "forbidden": true }, "forward": { "count": 0, "forbidden": true }, "like": { "count": 0, "forbidden": true, "status": true } } }, "type": "DYNAMIC_TYPE_AV", "visible": true } }, "message": "string", "ttl": 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"}