Comments REST service API

Sitefinity's comments REST service API allows you to manage and operate with the comments posted by users on your pages, comment threads, and thread subscriptions.

The comments service only exposes methods that are not specific to the generic content functionality of comments, for example marking comments as spam, hiding comments, changing the notification subscription method, and so forth. The comments service uses the ServiceStack and its metadata can be queried via the /RestApi/metadata URL.

The CustomData property, which is appended to the comment's data, is persisted with the comment object and you can use it for any custom needs. The CustomData property can be populated while creating a comment and you can later access and modify it when the comment is edited or when a comment-related event is raised, for example, in the ICommentCreatingEvent.

Was this article helpful?