主题
编辑主题或回复
请求参数
POST/pub/
请求头
参数名 | 类型 | 值 |
---|---|---|
X-TOKEN 登录令牌 | user_token | 使用设置中的令牌 |
请求体 (JSON)
参数名 | 类型 | 值 |
---|---|---|
tid* 主题ID | number | |
pid 回复ID | number | |
subject 标题,编辑回复可不设置 | string | |
content* 内容 | string | |
cat 板块分类,仅限主题 | number | |
needReplyNotify 是否需要回复提醒,仅限主题 | number | |
newAttachRef 新上传的附件ID | array | |
newAttachType 新附件出售类型,key为id | object | |
newAttachCredit 新附件积分设置。key为id。 value为数组{unit积分单位, value对应值} | object | |
existsAttachmentIds 仍保留的附件ID列表 | array | |
attachType 仍保留的附件附件出售类型,key为id | object | |
attachCredit 仍保留的附件积分设置。key为id。 value为数组{unit积分单位, value对应值} | object |