5

How to get the total number of views of blog post in Blog Site using Javascript Object Model or Rest API ?

Blog Post view will be count only one time for one user.

1 Answer 1

0

This query in full rest return the data needed:

/_api/search/query?querytext='IsDocument:1'&clienttype='ContentSearchRegular'

enter image description here

If you are working on premise you will have to enable the usage reports in SharePoint Server 2013.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.