Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

Latest commit

History

History
41 lines (33 loc) · 1.18 KB

File metadata and controls

41 lines (33 loc) · 1.18 KB

Example API Request & Response Format

Feed Actions

Get Feed

  • Usage: xxxxxxxx
  • Endpoint: api.uclcssa.cn/feed/get

Querey Parameters

ParametersExampleRequiredRemarks
userid2453719439374YesiFanr ID
poststart247Yes
postend219Yes
space2 (E.g. Accom)NoSpecify to get post only in that space

Example response

{
status: 'OK',
posts: [{
avatar: "https://avatar.url",
comments: [{user_id:..., content:..., time:..., user:..., coment_id:...}],
content: "post content",
images: [...],
liked: false,
likes: 0,
post_id: 350,
spacename: "房屋出租",
time: "...",
user: "username",
user_id: "xxxx"
},
...
]
}