Kallie
6 years agoGuide
API v2 call to return topic/Article views
It seems it is not possible to return the total views for the specific article/topic.
We have staff on our community site that has MBO's tied to the number of views they generate on the articles/post they make.
I'm trying to use REST (v2) calls to get the data but there is no call to return views on messages posted by certain authors.
Am I missing something? if so, please share the LiQL statement with me.
Thanks
Try this one
For specific post/topicSELECT metrics.views from messages where id = '777'
For specific author
SELECT metrics.views from messages where author.id= '7'