主题
发布新主题
请求参数
POST/pub/topic
请求头
参数名 | 类型 | 值 |
---|---|---|
X-TOKEN 登录令牌 | user_token | 使用设置中的令牌 |
请求体 (JSON)
参数名 | 类型 | 值 |
---|---|---|
fid* 板块ID | number | |
subject* 标题 | string | |
content* 内容 | string | |
special* 主题类型 | number | |
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 |