Open kwehden opened 3 years ago
I'm working on more in depth documentation for this, and many other, endpoints that are available to users. I should be able to push the documentation soon, which will solve this issue.
Hi @Matt-Stypulkoski, was wondering if you had any progress on this. I am more than happy to create a python script similar to get_analytics_for_users.py
/documentation if given the appropriate info (url, parameters: required and options, etc.)
I need to able to get per project analytics rather than just per user analytics. I am assuming that this info will retrieves system usage stats for projects on specific backends over a given date range similarly to get_analytics_for_users.py
Hi @suzanneprentice - Currently there is a branch with the documentation. I have not pushed it to the main branch yet.
To give an answer for this question though, the api url for project specific analytics would be
GET /Network/{hubName}/Groups/{groupName}/Projects/{projectName}/analytics/system-usage
Similarly, for group specific analytics, it would be
GET /Network/{hubName}/Groups/{groupName}/analytics/system-usage
API endpoint 'network//analytics/system-usage' to incorporate per-project data is possible but not documented