I thought that the table that Slavina inserted into the Toolhunt backend meeting document to be a useful way of visualizing what we needed to build. The ongoing question is how granular we want to make the endpoints, specifically those pertaining to the "grab bag" data tables on the Dashboard (# of tools, % of tools missing data, # of edits made using Toolhunt, etc.). This task is very closely related to T327101.
| Action | HTTP Verb | URL Path | Description | Comments |
| --- | --- | --- | --- | --- |
| Get tasks | GET | /api/task/ | Get a batch of (10?) tasks | |
| Update task | PUT | /api/task/<task-id> | | Save this until OAuth is implemented |
| Get leaderboard data | GET | api/metrics/contributions/top-editors | Get the top 30 contributors & scores between optional "start" and "end" date | start_date and end_date are query parameters |
| Get Dashboard data for currently logged-in user | GET | api/metrics/contributions/<user-id> | Activity log: last 10 contributions | |
| Get Dashboard data for the last contributions across all users | GET | api/metrics/contributions/recent | Activity log: last 10 contributions | |
| Get data for additional Dashboard tables | GET | | | How granular do we want to make this? |