返回提交历史
Modified
docs/opus/detail.md
+26
-2
XFEstudio/bilibili-API-collect
feat: Revise features parameter and add fallback details (#1429)
Updated the description of the 'features' parameter and added fallback object details.
0bf5dd2
代码差异
1 个文件
+26
-2
@@ -14,9 +14,33 @@
14
14
| --------------- | ------ | -------- | ------ | ---- |
15
15
| id | string | 动态 id | 必要 | 数字 |
16
16
| timezone_offset | number | 时区偏移 | 非必要 | 如 `-480` |
17
| features | string | 功能 | 非必要 | `onlyfansVote,onlyfansAssetsV2,decorationCard,htmlNewStyle,ugcDelete,editable,opusPrivateVisible,tribeeEdit,avatarAutoTheme,avatarTypeOpus` |
17
| features | string | 功能 | 非必要(部分专栏要求htmlNewStyle) | `onlyfansVote,onlyfansAssetsV2,decorationCard,htmlNewStyle,ugcDelete,editable,opusPrivateVisible,tribeeEdit,avatarAutoTheme,avatarTypeOpus` |
18
18
19
**JSON 回复:**
19
**JSON 回复(旧版专栏未携带htmlNewStyle feature时)**
20
21
根对象:
22
23
| 字段 | 类型 | 内容 | 备注 |
24
| ---- | ---- | ---- | ---- |
25
| code | number | 返回值 | 0: 成功<br />-352: 风控校验失败 |
26
| data | object | 数据本体 | |
27
| message | string | 错误信息 | 成功时为 `0` |
28
| ttl | number | `1` | |
29
30
`data` 对象:
31
32
| 字段 | 类型 | 内容 | 备注 |
33
| ---- | ---- | ---- | ---- |
34
| fallback | object | 回退的内容信息 | |
35
36
`fallback` 对象:
37
38
| 字段 | 类型 | 内容 | 备注 |
39
| ---- | ---- | ---- | ---- |
40
| id | number | 回退的内容ID | |
41
| type | number | 回退的内容类型 | 已知2为专栏 |
42
43
**JSON 回复(正常返回情况):**
20
44
21
45
根对象:
22
46