web: mass update API calls

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-16 18:24:15 +02:00
parent 7152d7ee01
commit ba5374f6e1
64 changed files with 136 additions and 183 deletions

View File

@ -118,7 +118,7 @@ class EventViewSet(ReadOnlyModelViewSet):
)
],
)
@action(detail=False, methods=["GET"])
@action(detail=False, methods=["GET"], pagination_class=None)
def top_per_user(self, request: Request):
"""Get the top_n events grouped by user count"""
filtered_action = request.query_params.get("action", EventAction.LOGIN)