Forum Discussion
ChhamaJ
13 years agoKhoros Staff
Hey Cleolee,
It seems like you need 'Update Communities' -> set to Grant permission as well. Try setting this permission and accessing the URL again.
Hope this works.
Thanks,
Chhama
Inactive User
13 years agoHi Chhama,
Thanks for your help on the access granting and now our internal staff could use a specific Forum ID to get REST API metrics.
In fact i have another question in the original post that has yet to get an answer.
1) How do i retrieve user metrics for different user ranks for a period of time?
2) Also, how do i retrieve metrics(login name, most recent login, email, language, IP,etc) that can also be generated using Metrics > User Reports in Community Admin?
Thanks for your help on the access granting and now our internal staff could use a specific Forum ID to get REST API metrics.
In fact i have another question in the original post that has yet to get an answer.
1) How do i retrieve user metrics for different user ranks for a period of time?
2) Also, how do i retrieve metrics(login name, most recent login, email, language, IP,etc) that can also be generated using Metrics > User Reports in Community Admin?
- ChhamaJ13 years agoKhoros StaffPlease find my responses below
1). Unfortunately, you cannot get user metrics for different user ranks but only for a particular user using the following rest call
http://community.lithium.com/community-name/restapi/vc/users/login/john_doe/metrics?date_start=2013-01-01&date_end=2013-02-01
2). You can get these details by the following calls
http://community.lithium.com/community-name/restapi/vc/users/id/43/metrics
http://community.lithium.com/community-name/restapi/vc/users/login/john_doe/metrics
Hope this helps.
Thanks,
Chhama- Inactive User13 years agoChhama,
I appreciate your response.
Nonetheless, i need to pull data for all the ranks so we can have an overview of performance by different ranks. The user report data is useful and sadly we have no way to retrieve them.
Do you have other workaround?- ChhamaJ13 years agoKhoros Staff
The only way to do this is manually. You can get users for different ranks via the following call
/restapi/vc/search/users?advanced=true&ranking=[rank number]&search_page_size=12&sort_by=login_sort(you can also get this information via the user search ability on the community).
Then, get metrics for each user using the call/restapi/vc/users/login/john_doe/metrics?date_start=2013-01-01&date_end=2013-02-01
Also, please add your suggestion in the customer ideas so that we can look and implement feedbacks when provided.
Thanks,
Chhama