The new global metrics calculator will make Program Evaluators' lives easier by turning hours of work into stuff that Wikimetrics does automatically. To get this done, a series of tasks will be added as subtasks of this one. This task will be to surface an API interface to the logic implemented in the other subtasks.
Task: Make an API that takes in all the necessary data to compute these metrics:
https://docs.google.com/spreadsheets/d/1Qib7Nm0eyE9oMrst4cR5lHLvEg5C2P5TnpYnZhOWt4w/edit#gid=0
According to these clarifying definitions when there's ambiguity:
https://docs.google.com/spreadsheets/d/1WDGqmcYBINmR7YYuQ8RV26pOGf7auHieGWsqdjTx0tA/edit#gid=1670108138
The API needs to be:
* public (no login required unless this complicates matters a lot)
* return a semi-private result (where the link is hard to guess but can be seen publicly)
* return a failure with a reason if something didn't work
* return all the results together instead of separate results