We need to implement endpoints for blog comments, covering both user interactions and admin moderation. This includes creating, editing, viewing, and managing comment states.
Scope
User Scope
- Add comment to a blog post
- Edit own comment
- Delete own comment
- View list of comments for a blog post
Admin Scope
- View all comments
- Confirm or approve comments
- Reject or hide comments
- Edit any comment
- Delete any comment
Notes
- Comment system should support moderation flow such as pending, approved, and rejected
- Editing should be allowed only for the comment owner in user scope
- Structure should be flexible for future features like replies, likes, or threading
- Follow existing API structure and conventions
Acceptance Criteria
- Users can create, edit, delete, and view comments
- Admin can fully manage and moderate all comments
- Comment status handling pending approved rejected is implemented
- All endpoints are aligned with existing API patterns
We need to implement endpoints for blog comments, covering both user interactions and admin moderation. This includes creating, editing, viewing, and managing comment states.
Scope
User Scope
Admin Scope
Notes
Acceptance Criteria