Skip to content

Comment API Endpoints #59

@ghost

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.

View Spec Here

Checklist

  • http://service/posts/{post_id}/comments access to the comments in a post
  • http://service/posts/{post_id}/comments POST to create a comment in a post
  • http://service/posts/{post_id}/comments?page=4 pagination is implemented
  • http://service/posts/{post_id}/comments?page=4&size=40 pagination 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:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions