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

专栏正文内容

取专栏正文;标题、作者、阅读统计等元信息用 `articleInfo`。

GET
/api/bilibili/fetch_article_content

Authorization

bearerAuth
AuthorizationBearer <token>

仅在 startServer 传了 token 时生效

In: header

Query Parameters

id*string

专栏 ID,取自专栏链接

Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/api/bilibili/fetch_article_content?id=string"
{  "success": true,  "data": {    "code": 0,    "data": {      "act_id": 0,      "apply_time": "string",      "authenMark": null,      "author": {        "face": "string",        "fans": 0,        "level": 0,        "mid": 0,        "name": "string",        "nameplate": {          "condition": "string",          "image": "string",          "image_small": "string",          "level": "string",          "name": "string",          "nid": 0        },        "official_verify": {          "desc": "string",          "type": 0        },        "pendant": {          "expire": 0,          "image": "string",          "name": "string",          "pid": 0        },        "vip": {          "avatar_subscript": 0,          "due_date": 0,          "label": {            "label_theme": "string",            "path": "string",            "text": "string"          },          "nickname_color": "string",          "status": 0,          "theme_type": 0,          "type": 0,          "vip_pay_type": 0        }      },      "banner_url": "string",      "categories": [        {          "id": 0,          "name": "string",          "parent_id": 0        }      ],      "category": {        "id": 0,        "name": "string",        "parent_id": 0      },      "check_state": 0,      "check_time": "string",      "content": "string",      "content_pic_list": null,      "cover_avid": 0,      "ctime": 0,      "dispute": null,      "dyn_id_str": "string",      "id": 0,      "image_urls": [        "string"      ],      "is_like": true,      "keywords": "string",      "list": {        "apply_time": "string",        "articles_count": 0,        "check_time": "string",        "ctime": 0,        "id": 0,        "image_url": "string",        "mid": 0,        "name": "string",        "publish_time": 0,        "read": 0,        "reason": "string",        "state": 0,        "summary": "string",        "update_time": 0,        "words": 0      },      "media": {        "area": "string",        "cover": "string",        "media_id": 0,        "score": 0,        "season_id": 0,        "spoiler": 0,        "title": "string",        "type_id": 0,        "type_name": "string"      },      "mtime": 0,      "opus": {        "article": {          "biz_tags": [            "string"          ],          "category_id": 0,          "cover": [            {              "height": 0,              "size": 0,              "url": "string",              "width": 0            }          ],          "list_id": 0,          "originality": 0,          "reproduced": 0        },        "content": {          "paragraphs": [            {              "format": {                "list_format": {                  "level": 0,                  "order": 0                }              },              "para_type": 0,              "pic": {                "pics": [                  {                    "height": 0,                    "size": 0,                    "url": "string",                    "width": 0                  }                ],                "style": 0              },              "text": {                "nodes": [                  {                    "node_type": 0,                    "word": {                      "font_level": "string",                      "font_size": 0,                      "style": {                        "bold": true                      },                      "words": "string"                    }                  }                ]              }            }          ]        },        "opus_id": 0,        "opus_source": 0,        "pub_info": {          "pub_time": 0,          "uid": 0        },        "tags": [          {            "tag": {              "link_type": 0,              "show_text": "string"            }          }        ],        "title": "string",        "translate_result": {          "lang_match_result": 0,          "state": 0        },        "version": {          "cvid": 0,          "version_id": 0        }      },      "origin_image_urls": [        "string"      ],      "origin_template_id": 0,      "original": 0,      "private_pub": 0,      "publish_time": 0,      "reprint": 0,      "state": 0,      "stats": {        "coin": 0,        "dislike": 0,        "dynamic": 0,        "favorite": 0,        "like": 0,        "reply": 0,        "share": 0,        "view": 0      },      "summary": "string",      "tags": [        {          "name": "string",          "tid": 0        }      ],      "template_id": 0,      "title": "string",      "top_video_info": null,      "total_art_num": 0,      "type": 0,      "version_id": 0,      "words": 0    },    "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"}