statgen / bravo_api

Server side data processing and retrieval endpoints for BRAVO
MIT License
1 stars 2 forks source link

Monthly report data endpoint #6

Closed grosscol closed 10 months ago

grosscol commented 3 years ago

Is your feature request related to a specific question or information need? Periodically, the following questions about the use of Bravo for the most recent couple of months are asked:

How many ....

Describe the solution you'd like An API endpoint that provides the answers to the above questions in json. e.g.:

{                                                                                                                                           
  "new registered users": 50,                                                                                                               
  "total registered users": 1000,                                                                                                           
  "total users with API access": 25,                                                                                                        
  "active users per day": 10,                                                                                                               
  "active users per month": 100                                                                                                             
}

Such that one could get the answer from the command line with something like:

curl https://my.bravo.host/api/use_report

Additional context Provide data for reports generated by @tblackw

grosscol commented 10 months ago

Essentially the same as #17. Addressed by 9dd55281a92be7713ca5c062ab29045fa8b4fc13 and further by ac0af039bc4c73bdc55b74378ece4a8a21a415a1