Ajouter un commentaire
Ajoute un commentaire à un fil existant. Les commentaires peuvent aussi être ajoutés aux fils résolus.
POST/v2/api/threads/{id}/comments
Comportement
Ajoute un commentaire à un fil existant. Les commentaires peuvent aussi être ajoutés aux fils résolus.
Mentions
Mentionnez des coéquipiers inline dans content avec @[Display Name](usr-xxxx) — voir le guide des mentions.
Erreurs
| Statut | Code | Quand |
|---|
400 | EMPTY_NOTE_CONTENT | content est manquant ou vide |
400 | NOTE_CONTENT_TOO_LONG | content dépasse 4 000 caractères |
404 | THREAD_NOT_FOUND | Aucun fil avec cet ID |
Autorisation
Authorizationstring · headerrequis
Api-Key ak_live_…
Paramètres de chemin
idstringrequis
Thread ID (cth-*)
Corps
contentstringrequis
Comment text (max 4000 characters). Mention teammates inline with @[Name](usr-...).
Réponses
201Comment created
dataobject
6 champs
idstring
Comment ID (thc-*)
contentstring
Comment text, with mentions inline as @[Name](usr-...).
userobject
Author of a note or comment.
2 champs
mentionsobject[]
3 champs
deletedboolean
true if the mentioned user has since been removed from the team.
created_atstring<date-time>
updated_atstring<date-time>
400
401
404
429