Forum Discussion
Here is and example of the user search REST call you can make:
http://yourcommunity.com/restapi/vc/search/users?q=test
If the results of that call do not return enough information, you can use the "href" parameter of each user object in the results to make another call to get the info for that user -- something like this:
http://yourcommunity.com/restapi/vc/users/id/525
Thanks for the nudge in the right direction.
It looks like I can get everything except page views from the following calls:
- /search/users?q=<substring>
- /users/login/<login>
- /users/login/<login>/ranking
- /users/login/<login>/posts/count
The only thing I can't seem to recreate is the "Page Views" number.
I've tried adding these and the resulting number does not match:
User: /views/boards/style/all/count
User: /views/boards/style/blog/count
User: /views/boards/style/forum/count
User: /views/boards/style/idea/count
User: /views/posts/style/all/count
User: /views/topics/style/blog/count
User: /views/topics/style/idea/count
Is there a user REST call that provides the same "Page Views" number?
Thanks.
-- Packet
- DougS13 years agoKhoros Oracle
For page views, you can get the page_views user metric:
/restapi/vc/users/id/<user id>/metrics/name/page_views
/restapi/vc/users/login/<user login>/metrics/name/page_views
Related Content
- 8 years ago
- 5 years ago
- 4 years ago
- 11 years ago