文集信息编辑
https://member.bilibili.com/arcopen/fn/article/anthology/edit
开放能力 / 专栏稿件管理 / 文集管理 / 文集编辑
调用该接口可以修改文集信息 注意:请求body参数需要将所有字段传递过来,不需要修改的字段传原值。建议编辑前使用【查询文集详情】接口获取原值**
body 参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| list_id | int | 是 | 文集id |
| name | string | 是 | 文集名称 |
| image_url | string | 否 | 文集封面图片url |
| summary | string | 否 | 文集简介 |
调用方式
javascript
// 让 AI 直接调(需要开放平台凭据)
bili_api_call { "ref": "29", "query": {…}, "body": {…} }
// 只看将要发出的请求(不需要凭据)
bili_api_call { "ref": "29", "dryRun": true }
// 生成完整调用代码
bili_codegen { "ref": "29", "lang": "python" }官方请求示例
bash
curl --location --request POST 'https://member.bilibili.com/arcopen/fn/article/anthology/edit' \
--header 'Accept: application/json' \
--header 'Access-Token: a24e56a0fc0093668bca0f3a15410ea2' \
--header 'Authorization: 950a03adb287904a93bcffd7e4abf57a4c2ef0608bf1f95f3bcb2c278ae532be' \
--header 'X-Bili-Accesskeyid: 93a0f774fae84e6c' \
--header 'X-Bili-Content-Md5: d41d8cd98f00b204e9800998ecf8427e' \
--header 'X-Bili-Signature-Method: HMAC-SHA256' \
--header 'X-Bili-Signature-Nonce: 1730185575446751000' \
--header 'X-Bili-Signature-Version: 2.0' \
--header 'X-Bili-Timestamp: 1730185575' \
--header 'Content-Type: application/json' \
--header 'Host: member.bilibili.com' \
--header 'Connection: keep-alive'
--form 'name="xxxx"' \
--form 'list_id="123"'原始文档:029_文集信息编辑.md(2156 字节)。用 bili_docs_get { "ref": "29" } 读全文,或用 bili_api_spec { "ref": "29" } 取结构化规格。