curl --request GET \
--url 'https://api.scanova.io/analytics/report/' \
--header 'Authorization: YOUR_API_KEY'
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 58,
"filter_type": "qrcode",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"report_type": "both",
"analytics_format": "xlsx",
"scan_format": "csv",
"status": "completed",
"report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
"completed_on": "2026-09-01T08:12:00Z",
"is_saved": true,
"saved_name": "Monthly QR Report",
"created": "2026-09-01T08:10:00Z",
"requested_by_name": "Docs"
}
]
}
分析与套餐
列出分析报告
GET /analytics/report/
GET
/
analytics
/
report
/
curl --request GET \
--url 'https://api.scanova.io/analytics/report/' \
--header 'Authorization: YOUR_API_KEY'
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 58,
"filter_type": "qrcode",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"report_type": "both",
"analytics_format": "xlsx",
"scan_format": "csv",
"status": "completed",
"report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
"completed_on": "2026-09-01T08:12:00Z",
"is_saved": true,
"saved_name": "Monthly QR Report",
"created": "2026-09-01T08:10:00Z",
"requested_by_name": "Docs"
}
]
}
列出账户已生成和已保存的分析报告。
随着报告在后台生成,
需要具有
MANAGEMENT_API(或 MANAGEMENT_API_SANDBOX)配额的管理 API 密钥 —— 参见管理 API 概述 —— 以及账户自身的 EXPORT_ANALYTICS_REPORT 配额和 ANALYTICS_CAN_EXPORT_REPORT 权限。curl --request GET \
--url 'https://api.scanova.io/analytics/report/' \
--header 'Authorization: YOUR_API_KEY'
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 58,
"filter_type": "qrcode",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"report_type": "both",
"analytics_format": "xlsx",
"scan_format": "csv",
"status": "completed",
"report_file": "https://cdn.example.com/media/analytics_reports/58/report.xlsx",
"completed_on": "2026-09-01T08:12:00Z",
"is_saved": true,
"saved_name": "Monthly QR Report",
"created": "2026-09-01T08:10:00Z",
"requested_by_name": "Docs"
}
]
}
status 会从 new 变为 in_progress,再变为 completed(或 failed)—— 查询此端点以跟踪通过生成分析报告启动的任务。只有当 status 为 completed 时,report_file 和 completed_on 才会被填充。
相关内容
- 生成分析报告 —— 开始新的报告。
- 获取已保存的分析报告 —— 获取某个报告的详情。
- 管理 API 概述 —— 此端点所属的身份验证方案和配额体系。
授权
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
响应
200 - application/json
Paginated list of reports.
此页面对您有帮助吗?