Remian103 / lolskin-price-tracker

A web app for tracking LoL skin price
3 stars 1 forks source link

Backend comment api #64

Closed jiyolla closed 3 years ago

jiyolla commented 3 years ago

All feature in #57 is implemented.

Some differences:

  1. For 5~8 endpoints, plural instead of single. E.g. /api/comments/{comment_id}/like -> /api/comments/{comment_id}/likes
  2. Naming of the user specific data on comment: is_modifiable - > is_modifiable_by_current_user like_state -> is_liked_by_current_user dislike_state -> is_disliked_by_current_user

Currently supported 'order_by': ['desc_likes']. Tiebreak not examined.