-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The comment URI will GET a list of comments. The following pagination style must be accepted:
- If a page is provided, return the results for that page, if no page is provided return page 0
- If a size is provided, return pages in this size up to the maximum set on the server. If no size is provided return the default page size.
Checklist
-
http://service/posts/{post_id}/commentsaccess to the comments in a post -
http://service/posts/{post_id}/commentsPOST to create a comment in a post -
http://service/posts/{post_id}/comments?page=4pagination is implemented -
http://service/posts/{post_id}/comments?page=4&size=40pagination is implemented - I have unit tests for the above uri's in test_api.py
Additional things related to this so i don't forget:
- Display foreign comment in the UI
- Send foreign comment when other groups call GET http://service/posts/{post_id}/comments
- Make a foreign comment to another group