Comment to create with collaboration.comments.create.
A top-level comment requires target; a reply requires parentCommentId (never both).
Replies inherit target, status, and threadId from the parent comment.
Examples
Top-level comment
// `message` is an array of Portable Text blocks awaitclient.collaboration.comments.create({ message, target: {documentId:'doc-1', documentType:'article'}, })
Comment to create with
collaboration.comments.create.A top-level comment requires
target; a reply requiresparentCommentId(never both). Replies inherittarget,status, andthreadIdfrom the parent comment.Examples
Top-level comment
Inline comment
Reply