Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.
This repository was archived by the owner on Feb 22, 2026. It is now read-only.

(feat: anon/backend) : Comments API #572

@polopulao

Description

@polopulao

For any queries, or anything, join out [Telegram Group](https://t.me/shogenlabs) or contact [Poulav](https://t.me/impoulav), [Soham](https://t.me/tosoham) or [Rahul](https://t.me/darkdanate)

Title

Comments API: Threaded Discussions Under Reviews

Description

  • Type of Issue: Feature / Backend / API / Moderation

  • Directory: anon/backend

  • Task :

    • Tables: comments {id, post_id, parent_id?, user_id, text_sanitized, status, created_at}, comments_audit.

    • Endpoints:

      • POST /posts/{id}/comments
      • GET /posts/{id}/comments?cursor=&limit= (tree → flattened with depth & parent ids)
      • DELETE /comments/{id} (author soft delete → 410)
    • Apply toxicity/PII checks; integrate with reports (POST /reports works on comments too).

  • Current:

    • No native discussion; only reviews.
  • Expected:

    • Threaded, moderated comments with identical privacy guarantees.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions