-
Notifications
You must be signed in to change notification settings - Fork 1
Posts API
Will return up to 5 comments within Post object and is paginated with a default page size of 50
GET: author/<str:author_id>/posts/ : posts_object
Will return all posts by a specified author ID in path
POST: author/<str:author_id>/posts/ : posts_object
Will create a new post for author ID specified in path
GET: author/<str:author_id>/posts/<str:id>/ : posts_object
Will retrieve the specific post given post ID for the specific author ID given
POST: author/<str:author_id>/posts/<str:id>/ : posts_object
Will allow for an update to be performed on the specific post's data given
DELETE: author/<str:author_id>/posts/<str:id>/ : posts_object
Will allow deletion of the specific post by author of the post
PUT: author/<str:author_id>/posts/<str:id>/ : posts_object
Will create a post given the specific author ID and post ID