Task Comment Schema
Champs
Task Comment Schema
Threaded comment on a task
taskId
Reference to task
projectId
Project ID for scoping queries
parentCommentId
Parent comment ID for threaded replies
body
Comment text (may contain @mentions as @[userId])
mentions
User IDs mentioned in this comment
isResolved
Whether this comment thread is resolved
resolvedBy
Who resolved this thread
resolvedAt
source
Where the comment came from (INTERNAL = team member, CUSTOMER = customer portal).
INTERNALCUSTOMERauthorPartyId
Customer party (set for CUSTOMER-source comments).
reactions
Emoji reactions (Teams-style). Managed exclusively via POST /:resource/:id/reactions — never set directly via create/update (the field is protected). Absent/missing = no reactions.
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/task_comments— Liste, paginée et filtrableGET /api/v1/task_comments/<id>— Une entitéPOST /api/v1/task_comments— CréerPATCH /api/v1/task_comments/<id>— Mise à jour partielleDELETE /api/v1/task_comments/<id>— Suppression logiqueGET /api/v1/task_comments/<id>/timeline— Audit et activités