Category Object


A comments category allows you to define settings for a specific group of comments. For example, which site visitors can comment, react, and reply to a blog post or product page.

Properties
idstringRead-onlyformat GUID

Category ID.


namestring

Category name.


reactionTypestring

Type of reactions available for comments.


repliesReactionTypestring

Type of reactions available for replies.


markedCommentLabelTypestring

Default comment label for marked comments.

When a comment's marked field is set to true, it indicates that the comment has been flagged or marked for special attention. No additional automated behavior or action is taken with the comment. See the Comments Sample Flows for an example of handling marked comments.


customMarkedCommentLabelstringmaxLength 24

Custom label value for marked comments. See the description for markedCommentLabelType for more information about marked comments.


mainReactionMainReaction

Type of icon to use as the main comment reaction.


ratingsSettingsRatingsSettings

Ratings settings.


revisionstringRead-onlyformat int64

Revision number, which increments by 1 each time the category is updated. To prevent conflicting changes, the current revision must be passed when updating the category.


createdDatestringRead-onlyformat date-time

Date and time the category was created.


updatedDatestringRead-onlyformat date-time

Date and time the category was last updated.


permissionsSettingsPermissionsSettings

Permissions settings for specific actions in the category.


activeboolean

Whether the category is active and being used in a live site.


appIdstringimmutableformat GUID

ID of the app the category applies to.

Did this help?