ghostpost_backend

Api for GhostPost Machine™

  • API Root @ localhost:8000/api/
  • All Post @ localhost:8000/api/posts/
  • All Boast @ localhost:8000/api/posts/boast/
  • All Roast @ localhost:8000/api/posts/roast/
  • Order By Score @ localhost:8000/api/posts/highest_score/
  • Up Vote a Post @ localhost:8000/api/posts/{id}/up_vote/
  • Down Vote a Post @ localhost:8000/api/posts/{id}/down_vote/
  • Delete a Post By id @ localhost:8000/api/posts/{id}/destroy/
  • Delete a Post By secret @ localhost:8000/api/posts/{id}/?secret={secret}/