curl --request POST \
--url http://localhost:8080/cabinet/admin/traffic/export-csv \
--header 'Content-Type: application/json' \
--data '
{
"period": 30,
"start_date": "<string>",
"end_date": "<string>",
"tariffs": "<string>",
"statuses": "<string>",
"nodes": "<string>",
"total_threshold_gb": 1,
"node_threshold_gb": 1
}
'{
"success": true,
"message": "<string>"
}Generate CSV with traffic usage and send to admin’s Telegram DM.
curl --request POST \
--url http://localhost:8080/cabinet/admin/traffic/export-csv \
--header 'Content-Type: application/json' \
--data '
{
"period": 30,
"start_date": "<string>",
"end_date": "<string>",
"tariffs": "<string>",
"statuses": "<string>",
"nodes": "<string>",
"total_threshold_gb": 1,
"node_threshold_gb": 1
}
'{
"success": true,
"message": "<string>"
}1 <= x <= 30Total GB/day threshold for risk column
x >= 0Per-node GB/day threshold for risk column
x >= 0