feat: Revise features parameter and add fallback details (#1429)

Updated the description of the 'features' parameter and added fallback object details.
This commit is contained in:
huanli233 2026-01-12 02:54:12 +08:00 committed by GitHub
parent 381c503ed2
commit 0bf5dd275a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,9 +14,33 @@
| --------------- | ------ | -------- | ------ | ---- |
| id | string | 动态 id | 必要 | 数字 |
| timezone_offset | number | 时区偏移 | 非必要 | 如 `-480` |
| features | string | 功能 | 非必要 | `onlyfansVote,onlyfansAssetsV2,decorationCard,htmlNewStyle,ugcDelete,editable,opusPrivateVisible,tribeeEdit,avatarAutoTheme,avatarTypeOpus` |
| features | string | 功能 | 非必要部分专栏要求htmlNewStyle | `onlyfansVote,onlyfansAssetsV2,decorationCard,htmlNewStyle,ugcDelete,editable,opusPrivateVisible,tribeeEdit,avatarAutoTheme,avatarTypeOpus` |
**JSON 回复:**
**JSON 回复旧版专栏未携带htmlNewStyle feature时**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| code | number | 返回值 | 0: 成功<br />-352: 风控校验失败 |
| data | object | 数据本体 | |
| message | string | 错误信息 | 成功时为 `0` |
| ttl | number | `1` | |
`data` 对象:
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| fallback | object | 回退的内容信息 | |
`fallback` 对象:
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| id | number | 回退的内容ID | |
| type | number | 回退的内容类型 | 已知2为专栏 |
**JSON 回复(正常返回情况):**
根对象: