feat(opus/features.md): add opus card type

This commit is contained in:
SessionHu 2025-07-15 22:13:31 +08:00
parent 0721e41a37
commit cce74d86d7
No known key found for this signature in database
GPG Key ID: 9E7E64C25FE3301A

View File

@ -728,6 +728,7 @@
| ugc | object | 视频信息 | 仅 `type='LINK_CARD_TYPE_UGC'`, 参见 [获取全部动态列表](../dynamic/all.md#获取全部动态列表) 的 `data.items[].modules.module_dynamic.additional.ugc` |
| reserve | object | 预约信息 | 仅 `type='LINK_CARD_TYPE_RESERVE'`, 参见 [获取全部动态列表](../dynamic/all.md#获取全部动态列表) 的 `data.items[].modules.module_dynamic.additional.reserve` |
| upower_lottery | object | 充电专属抽奖信息 | 仅 `type='LINK_CARD_TYPE_UPOWER_LOTTERY'` |
| opus | object | 图文信息 | 仅 `type='LINK_CARD_TYPE_OPUS'` |
`module_content.paragraphs[].link_card.card.match` 对象:
@ -816,6 +817,64 @@
<!-- Generated by json-apidoc-gen @ 2025-07-15T00:15:30.710249212Z -->
`module_content.paragraphs[].link_card.card.opus` 对象:
*注: 该对象结构根据前端代码推断得出未经验证仅供参考*
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| author | object | 作者信息 | |
| cover | string | 封面 URL | |
| jump_url | string | 跳转 URL | |
| stat | object | 状态信息 | |
| title | string | 标题 | |
`module_content.paragraphs[].link_card.card.opus.author` 对象:
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| name | string | 作者名 | |
`module_content.paragraphs[].link_card.card.opus.stat` 对象:
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| view | number | 阅读数 | |
**示例:**
<details>
<summary>查看示例:</summary>
```json
{
"module_content": {
"paragraphs": [
{
"link_card": {
"card": {
"opus": {
"author": {
"name": "作者的名字"
},
"cover": "https://example.com/path/to/cover.jpg",
"jump_url": "https://www.bilibili.com/read/cvxxxxxxxx",
"stat": {
"view": 12345
},
"title": "这里是作品的标题"
}
}
}
}
]
}
}
```
</details>
<!-- Generated by json-apidoc-gen @ 2025-07-15T14:10:23.655883884Z -->
**示例:**
<details>