API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · task_comments

Task Comment Schema

ID du schéma
task_comment
Collection
task_comments
Autorisations
  • Liretask_comment_view
  • Créertask_comment_create
  • Modifiertask_comment_edit
  • Supprimertask_comment_delete

Champs

Task Comment Schema

task_comments4 autorisations

Threaded comment on a task

taskIduuidobligatoire

Reference to task

projectIduuidfacultatif

Project ID for scoping queries

parentCommentIduuidfacultatif

Parent comment ID for threaded replies

nullable
bodystringobligatoire

Comment text (may contain @mentions as @[userId])

1–5000 caractères
mentionsuuid[]facultatif

User IDs mentioned in this comment

Par défaut : []
isResolvedbooleanfacultatif

Whether this comment thread is resolved

Par défaut : false
resolvedByuuidfacultatif

Who resolved this thread

lecture seulenullable
resolvedAtdatetimefacultatif
lecture seulenullable
sourcestringfacultatif

Where the comment came from (INTERNAL = team member, CUSTOMER = customer portal).

INTERNALCUSTOMER
Par défaut : "INTERNAL"
authorPartyIduuidfacultatif

Customer party (set for CUSTOMER-source comments).

nullable
reactionsobject[]facultatif

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.

lecture seule
emojistringobligatoire

Native Unicode emoji character

1–32 caractères
userIdstringobligatoire

Internal users._id of the reactor

min. 1 caractères
createdAtdatetimefacultatif

When the reaction was added

lecture seule

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 filtrable
  • GET /api/v1/task_comments/<id> — Une entité
  • POST /api/v1/task_comments — Créer
  • PATCH /api/v1/task_comments/<id> — Mise à jour partielle
  • DELETE /api/v1/task_comments/<id> — Suppression logique
  • GET /api/v1/task_comments/<id>/timeline — Audit et activités

Recherche