Skip to content

The Wall

Dian Tang edited this page Dec 30, 2016 · 11 revisions

Welcome to the cssams-backend wiki!

The Wall

api

feed

  • GET /feed Limit: 1-20 20-40 Order: time

posting

  • GET /posting //self postings

  • POST /posting //user post posting

  • GET /posting/:id

  • DELETE/PUT /posting/:id

  • POST /posting/like/:id

  • DELETE /posting/like/:id

user

  • GET /user/:userid //show non-anonymous postings and info of a user

reply

  • POST /posting/reply/:id //target in body , if null, target is poster
  • DELETE /posting/reply/:id/:rid

posting

  • id
  • user
  • created
  • content
  • Anonymous name of user (if anonymous)
  • like
  • replies

reply

  • id
  • user
  • content
  • Anonymous name of user (if anonymous)
  • created

Clone this wiki locally