Add hotlink bandwidth to admin api

This commit is contained in:
Wim Brand 2021-09-27 23:35:40 +02:00
parent 9a700b4dc1
commit e354787ddc

View File

@ -49,9 +49,10 @@ type FileStats struct {
// FileTimeSeries returns historic data for a file
type FileTimeSeries struct {
Views TimeSeries `json:"views"`
Downloads TimeSeries `json:"downloads"`
Bandwidth TimeSeries `json:"bandwidth"`
Views TimeSeries `json:"views"`
Downloads TimeSeries `json:"downloads"`
Bandwidth TimeSeries `json:"bandwidth"`
DirectLinkBandwidth TimeSeries `json:"direct_link_bandwidth"`
}
// TimeSeries contains data captures over a time span