-
Main:
- GET / - All posts from accounts user follows
-
Blueprint: 'users', url_prefix = "/api/users"
- GET /:id - Get all user info
- POST / - Create new user
- PUT /:id - Edit user info
- DELETE /:id - Delete user
-
Blueprint: 'posts', url_prefix = "/api/posts"
- GET /:id - Get one post
- POST / - Create a new post
- PUT /:id - Edit a post
- DELETE /:id - Delete a post
-
Blueprint: 'comments', url_prefix = "/api/comments"
- GET /:id - Get all comments for post at id
- POST /:id - Comment on a post at id
- DELETE /:id/:id2 - Delete comment(id2) from post at id
-
Blueprint: 'likes', url_prefix = "/api/likes"
- GET /:id - Get all likes for post at id
- POST /:id - Like a post at id
- DELETE /:id - Unlike post at id
-
Blueprint: 'following', url_prefix = "api/following"
- GET / - All accounts the user is following
- POST / - Follow someone
- DELETE / - unfollow someone
-
Blueprint: 'followers', url_prefix = "api/followers"
- GET /:id - Get all followers for user