What's Changed
New Features
- Listing quotas for identity by @NikolaVetnic in #359
There is now a new route (GET /api/v1/Quotas
), which can be used to get a list of all quotas for the current identity. This list is grouped by metric and also contains the current usage. Here is an example for the response:
{
"result": [
{
"metricKey": "NumberOfSentMessages",
"quotas": [
{
"source": "Individual",
"max": 10,
"usage": 3,
"period": "Month"
}
{
"source": "Tier",
"max": 5,
"usage": 3,
"period": "Month"
}
]
},
{
"metricKey": "NumberOfTokens",
"quotas": [
{
"source": "Tier",
"max": 20,
"usage": 8,
"period": "Year"
}
]
}
]
}