Forum Discussion
VikasB
6 years agoBoss
erickwang
For topic count
SELECT count(*) FROM messages where author.id = '7' and depth = 0
For reply count
SELECT count(*) FROM messages where author.id = '7' and depth > 0
But unfortunately, there is no API to get the view count for a specific user.
- erickwang6 years agoContributor
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?
- VikasB6 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/count
Messages/article view count
communtiy.lithium.com/community-name/restapi/vc/messages/id/[id]/views/count
read count
community.lithium.com/community-name/restapi/vc/threads/id/[id]/messages/read/count
Hope these APIs will help you.
- erickwang6 years agoContributor
I attached an screenshot. May I know how can I get these information?
Related Content
- 2 years ago
- 11 months ago
- 12 months ago