Special endpoints

Sitefinity exposes the following special endpoint:

Comments
Comments are exposed as complex property to content types which supports comments.

  • To query comments, create a GET request to the following endpoint: api/default/newsitems(<news_id>)/Comments
  • To post comments, create a POST request to the following endpoint: api/default/newsitems(<news_id>)/postcomment, In the request body, enter the comment in JSON format, as in this example:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Exceptions