List and create comments on a collection. Supports @mentions.
GET /api/collections//comments
No authentication required.
POST /api/collections//comments
Requires authentication.
@username mentions are parsed, stored in collection_comment_mentions, and trigger notifications via database triggers.
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid comment content |
| 401 | UNAUTHORIZED | Not authenticated |
| 404 | NOT_FOUND | Collection not found or deleted |