这篇文档是前端请求后端的API说明。
目前请求内容主要分为三个部分:
| 路径 | 方法 | 说明 |
|---|
/xxxxxxxxxxxxxxxx
result: 0,失败,1,成功error: 失败原因,成功时不返回或为空withins: 整数,1周之内的活动个数events: 活动列表,每个活动含有如下字段
name:字符串,活动名称time:字符串,东八区时间timestamp:64位整数,Unix时间戳(秒)link:原始链接/xxxxxxxxxxxxxxxx(highlight)
result: 0,失败,1,成功error: 失败原因,成功时不返回或为空withins: 整数,1周之内的 highlight 个数highlights: highlight列表,每个highlight含有如下字段
id:原始消息IDchannelId:原始消息所在的频道IDchannelName:原始消息所在的频道名称author: 作者
name:名称iconUrl:头像proxyIconUrl:代理头像,意义不明,保留备用title: 标题content: 原始内容stars: 点赞个数time:字符串,东八区时间,原始消息发送的时间timestamp:64位整数,Unix时间戳(秒),原始消息发送的时间link:原始链接starTime: 字符串,东八区时间,被收录到高光时刻的时间