Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/main/python/fusionauth/fusionauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3304,6 +3304,18 @@ def retrieve_total_report(self):
.get() \
.go()

def retrieve_total_report_with_excludes(self, excludes):
"""
Retrieves the totals report. This allows excluding applicationTotals from the report. An empty list will include the applicationTotals.

Attributes:
excludes: List of fields to exclude in the response. Currently only allows applicationTotals.
"""
return self.start().uri('/api/report/totals') \
.url_parameter('excludes', self.convert_true_false(excludes)) \
.get() \
.go()

def retrieve_two_factor_recovery_codes(self, user_id):
"""
Retrieve two-factor recovery codes for a user.
Expand Down