mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-04 17:21:23 -07:00
docs(api): Deprecate raw events totals endpoint
This commit is contained in:
@@ -1510,8 +1510,8 @@ def api_delete_old_events(days: int, payload=None):
|
|||||||
@app.route("/sessions/totals", methods=["GET"])
|
@app.route("/sessions/totals", methods=["GET"])
|
||||||
@validate_request(
|
@validate_request(
|
||||||
operation_id="get_events_totals",
|
operation_id="get_events_totals",
|
||||||
summary="Get Events Totals",
|
summary="Get Events Totals (Deprecated)",
|
||||||
description="Retrieve event totals for a specified period.",
|
description="Retrieve event totals for a specified period. Deprecated: use /sessions/totals/named instead.",
|
||||||
query_params=[{
|
query_params=[{
|
||||||
"name": "period",
|
"name": "period",
|
||||||
"description": "Time period (e.g., '7 days')",
|
"description": "Time period (e.g., '7 days')",
|
||||||
|
|||||||
Reference in New Issue
Block a user