Create Comment

POST

Create a comment on a resource

Request

This endpoint expects an object.
parentobjectRequired
contentstringRequired

The content of the comment. Markdown supported.

attachmentsset of stringsRequired

Attachments to the comment.

Response

This endpoint returns an object.
ridstring

Unique resource identifier for the comment

parentobject

The parent of the comment. It can be a resource or another comment.

authorRidstring

The user who authored the comment

createdAtdatetime

The time the comment was created

contentstring

The markdown content of the comment.

reactionslist of objects

The reactions on the comment

attachmentsset of strings

The comment’s attachments

editedAtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The time the comment was edited. Empty if the comment has not been edited.

deletedAtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The time the comment was deleted. Empty if the comment has not been deleted.

pinnedBystringOptional

The user who pinned the comment. Empty if the comment is not pinned.

pinnedAtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The time the comment was pinned. Empty if the comment is not pinned.

Built with