Forum Discussion
erickwang
For topic count
SELECT count(*) FROM messages where author.id = '7' and depth = 0For reply count
SELECT count(*) FROM messages where author.id = '7' and depth > 0But unfortunately, there is no API to get the view count for a specific user.
Thanks for your quick reply. If we don't get the view count for a specific user, can we get the total number of Board View, Topic View, Accepted Solution View, Article View, Idea View, Blog Read and Comment for all the user?
- VikasB7 years agoBoss
erickwang
For board/blogs/idea view countSELECT views FROM boards where id = 'B1'Read count for all messages
community.lithium.com/community-name/restapi/vc/boards/id/[id]/messages/read/countMessages/article view count
communtiy.lithium.com/community-name/restapi/vc/messages/id/[id]/views/countread count
community.lithium.com/community-name/restapi/vc/threads/id/[id]/messages/read/countHope these APIs will help you.
Sign in to react to this post- erickwang7 years agoContributor
I attached an screenshot. May I know how can I get these information?
Sign in to react to this post- JakeR7 years agoKhoros Alumni (Retired)
If I am not mistaken, I believe this page contains all of the fields that can be used for the data that is available in a profile. You should be able to construct the appropriate Calls from the content shared in that article, given what VikasB has shared so far.
Please let me know if this helps.
Sign in to react to this post