IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
Each method represents a specific comment activity, for example getting a comment. You use each method by sending a request to the URI in a certain format. Upon successful request, the server always responds with a 200 OK status code.
In the following table, you can see details on the various methods you can use to manage comments.
HTTP POST request: /RestApi/comments-api/comments
/RestApi/comments-api/comments
Posted data JSON format:
Details of the published comment:
HTTP GET request: /RestApi/comments-api/comments/{key} where key is the comment's identifier
/RestApi/comments-api/comments/{key}
Details of the requested comment:
HTTP PUT request: /RestApi/comments-api/comments
Details of the updated comment:
HTTP GET request: /RestApi/comments-api/comments
Total number of comments and content of the comments filtered by the request parameters:
HTTP POST request: /RestApi/comments-api/comments/filter
/RestApi/comments-api/comments/filter
HTTP GET request: /RestApi/comments-api/comments/count
/RestApi/comments-api/comments/count
Number of comments:
HTTP PUT request: /RestApi/comments-api/comments/list
/RestApi/comments-api/comments/list
Total number of comments and content of updated comments:
HTTP DELETE request: /RestApi/comments-api/comments/{key} where key is the comment's identifier
The comment is deleted.
HTTP DELETE request: /RestApi/comments-api/comments/list
The comments are deleted.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important