流量管理
获取用户流量历史
Changed on获取当前用户的历史流量数据,支持5分钟到24小时的灵活时间范围
get/user/traffic/history
Request
- Base URLhttp://localhost:8888/api/v1
- URLhttp://localhost:8888/api/v1/user/traffic/history
- AuthAPI key in header Authorization
Query parameters
periodstring
时间范围: 5m, 10m, 15m, 30m, 45m, 1h, 6h, 12h, 24h
intervalinteger
数据点间隔(分钟),0表示自动选择
Response
OK
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking