Open Kunniii opened 10 months ago
Create new endpoints for /users, such as:
/users
/users/me/posts
/users/me/likes
/users/:id/posts
The idea is to let users configure if they wanna share the info such as what posts they liked, email, etc.
Create new endpoints for
/users
, such as:/users/me/posts
returns my posts/users/me/likes
returns posts that I liked/users/:id/posts
returns posts of the userThe idea is to let users configure if they wanna share the info such as what posts they liked, email, etc.