175 lines
5.0 KiB
Markdown
175 lines
5.0 KiB
Markdown
|
|
# Timeline
|
|||
|
|
|
|||
|
|
实时动态
|
|||
|
|
|
|||
|
|
- [/feed.Timeline/Recommend](#feedtimelinerecommend)
|
|||
|
|
- [/feed.Timeline/Friend](#feedtimelinefriend)
|
|||
|
|
- [/feed.Timeline/Follow](#feedtimelinefollow)
|
|||
|
|
- [/feed.Timeline/Hot](#feedtimelinehot)
|
|||
|
|
|
|||
|
|
## /feed.Timeline/Recommend
|
|||
|
|
|
|||
|
|
推荐
|
|||
|
|
|
|||
|
|
|
|||
|
|
### Request
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
page_no: "0", // type<int64>, 页数
|
|||
|
|
page_size: "0", // type<int64>, 每页记录数
|
|||
|
|
params: {
|
|||
|
|
"": ""
|
|||
|
|
}, // map<string,string>, 条件参数,key=val,eg key:category_id=?,vlaue=11
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### Reply
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
list: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
content: "", // type<string>, 内容
|
|||
|
|
feed_id: "0", // type<int64>, 通行证ID
|
|||
|
|
feed_identity: "", // type<string>, 通行证Identity
|
|||
|
|
is_open: false, // type<bool>, 是否公开:默认为0-公开,1-不公开
|
|||
|
|
cnt_unlike: "0", // type<int64>, 点踩数量
|
|||
|
|
cnt_comment: "0", // type<int64>, 评论数量
|
|||
|
|
cnt_like: "0", // type<int64>, 点赞数量
|
|||
|
|
attachs: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
attach_type: "", // type<string>, 文件类型
|
|||
|
|
url: "", // type<string>, 文件路径
|
|||
|
|
}], // list<AttachItem>, 附件信息
|
|||
|
|
tags: [{
|
|||
|
|
key: "", // type<string>, 标签唯一码
|
|||
|
|
content: "", // type<string>, 标签内容
|
|||
|
|
}], // list<TagItem>, 所属话题
|
|||
|
|
}], // list<PostItem>
|
|||
|
|
cnt: "0", // type<int64>
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
## /feed.Timeline/Friend
|
|||
|
|
|
|||
|
|
好友动态
|
|||
|
|
|
|||
|
|
|
|||
|
|
### Request
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
page_no: "0", // type<int64>, 页数
|
|||
|
|
page_size: "0", // type<int64>, 每页记录数
|
|||
|
|
params: {
|
|||
|
|
"": ""
|
|||
|
|
}, // map<string,string>, 条件参数,key=val,eg key:category_id=?,vlaue=11
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### Reply
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
list: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
content: "", // type<string>, 内容
|
|||
|
|
feed_id: "0", // type<int64>, 通行证ID
|
|||
|
|
feed_identity: "", // type<string>, 通行证Identity
|
|||
|
|
is_open: false, // type<bool>, 是否公开:默认为0-公开,1-不公开
|
|||
|
|
cnt_unlike: "0", // type<int64>, 点踩数量
|
|||
|
|
cnt_comment: "0", // type<int64>, 评论数量
|
|||
|
|
cnt_like: "0", // type<int64>, 点赞数量
|
|||
|
|
attachs: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
attach_type: "", // type<string>, 文件类型
|
|||
|
|
url: "", // type<string>, 文件路径
|
|||
|
|
}], // list<AttachItem>, 附件信息
|
|||
|
|
tags: [{
|
|||
|
|
key: "", // type<string>, 标签唯一码
|
|||
|
|
content: "", // type<string>, 标签内容
|
|||
|
|
}], // list<TagItem>, 所属话题
|
|||
|
|
}], // list<PostItem>
|
|||
|
|
cnt: "0", // type<int64>
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
## /feed.Timeline/Follow
|
|||
|
|
|
|||
|
|
关注的动态
|
|||
|
|
|
|||
|
|
|
|||
|
|
### Request
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
page_no: "0", // type<int64>, 页数
|
|||
|
|
page_size: "0", // type<int64>, 每页记录数
|
|||
|
|
params: {
|
|||
|
|
"": ""
|
|||
|
|
}, // map<string,string>, 条件参数,key=val,eg key:category_id=?,vlaue=11
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### Reply
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
list: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
content: "", // type<string>, 内容
|
|||
|
|
feed_id: "0", // type<int64>, 通行证ID
|
|||
|
|
feed_identity: "", // type<string>, 通行证Identity
|
|||
|
|
is_open: false, // type<bool>, 是否公开:默认为0-公开,1-不公开
|
|||
|
|
cnt_unlike: "0", // type<int64>, 点踩数量
|
|||
|
|
cnt_comment: "0", // type<int64>, 评论数量
|
|||
|
|
cnt_like: "0", // type<int64>, 点赞数量
|
|||
|
|
attachs: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
attach_type: "", // type<string>, 文件类型
|
|||
|
|
url: "", // type<string>, 文件路径
|
|||
|
|
}], // list<AttachItem>, 附件信息
|
|||
|
|
tags: [{
|
|||
|
|
key: "", // type<string>, 标签唯一码
|
|||
|
|
content: "", // type<string>, 标签内容
|
|||
|
|
}], // list<TagItem>, 所属话题
|
|||
|
|
}], // list<PostItem>
|
|||
|
|
cnt: "0", // type<int64>
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
## /feed.Timeline/Hot
|
|||
|
|
|
|||
|
|
热门
|
|||
|
|
|
|||
|
|
|
|||
|
|
### Request
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
page_no: "0", // type<int64>, 页数
|
|||
|
|
page_size: "0", // type<int64>, 每页记录数
|
|||
|
|
params: {
|
|||
|
|
"": ""
|
|||
|
|
}, // map<string,string>, 条件参数,key=val,eg key:category_id=?,vlaue=11
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### Reply
|
|||
|
|
```javascript
|
|||
|
|
{
|
|||
|
|
list: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
content: "", // type<string>, 内容
|
|||
|
|
feed_id: "0", // type<int64>, 通行证ID
|
|||
|
|
feed_identity: "", // type<string>, 通行证Identity
|
|||
|
|
is_open: false, // type<bool>, 是否公开:默认为0-公开,1-不公开
|
|||
|
|
cnt_unlike: "0", // type<int64>, 点踩数量
|
|||
|
|
cnt_comment: "0", // type<int64>, 评论数量
|
|||
|
|
cnt_like: "0", // type<int64>, 点赞数量
|
|||
|
|
attachs: [{
|
|||
|
|
identity: "", // type<string>, 唯一标识
|
|||
|
|
attach_type: "", // type<string>, 文件类型
|
|||
|
|
url: "", // type<string>, 文件路径
|
|||
|
|
}], // list<AttachItem>, 附件信息
|
|||
|
|
tags: [{
|
|||
|
|
key: "", // type<string>, 标签唯一码
|
|||
|
|
content: "", // type<string>, 标签内容
|
|||
|
|
}], // list<TagItem>, 所属话题
|
|||
|
|
}], // list<PostItem>
|
|||
|
|
cnt: "0", // type<int64>
|
|||
|
|
}
|
|||
|
|
```
|
|||
|
|
|