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.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityThis query in full rest return the data needed:
/_api/search/query?querytext='IsDocument:1'&clienttype='ContentSearchRegular'
If you are working on premise you will have to enable the usage reports in SharePoint Server 2013.