Usage
Day's usage
Total requests for a single day. Add group_by to also split the total by endpoint or status code.
get/usage/day/{day}
Request
- Base URL: https://weatherapi.foreca.net
- URL: https://weatherapi.foreca.net/usage/day/{day}
- Auth: HTTP bearer
Path parameters
daystring required
Day in YYYY-MM-DD format (e.g. "2021-03-15").
Query parameters
group_bystring
Optional. Split the total into a breakdown array along one dimension. One of: endpoint, status_code.
Response
Success
Example response
{
"apis": [
{
"name": "Weather API",
"hits": 380
}
],
"hits": 380,
"breakdown": [
{
"endpoint": "point",
"hits": 365
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.