The API Portal prototype includes an API usage view where a user can see their historical API usage data.
Note: Feel free to adjust the list of tasks below. These are just approximations based on my understanding. Possible duplicate of T246275
Mock data format:
{
"limit": {
"count": 10000,
"period": 86400,
},
"usage": {
"2020-04-20": 7819,
"2020-04-21": 8090,
"2020-04-22": 7401,
"2020-04-23": 6991,
"2020-04-24": 9118,
"2020-04-25": 4251,
"2020-04-26": 5823
}
}To do:
- Create policy for data collection and retention. Review with relevant parties.
- Create a specification for how this data can be retrieved by the API Portal (Requires T246269)
