Testing a user's access to content via REST or Widget API?

Hi all,

I am looking to check if a user has access to a given content item (thread, blog post, idea, etc.).  Essentially I am looking to know if a given user has a read entitlement to a content item.

The best API I could find are these, which I would execute using impersonation:

  • /api.ashx/v2/content.json
  • /api.ashx/v2/contentviews.json 

It looks like the only difference between these is that the second one shows the view count in addition to the content.  Is that what that second endpoint is for?

My questions are:

  1. Is there a better endpoint for this?
  2. Will either of these endpoints increment the view count?

I don't understand what triggers a view count, but I need to ensure that my permission check doesn't increment the count.

All thoughts and ideas welcome.

Thanks.

Parents Reply Children
No Data