Skip to content

Commit f158650

Browse files
authored
Merge pull request #66 from FusionAuth/bhalsey/eng-3656-faster-dashboard
Merge bhalsey/eng-3656-faster-dashboard
2 parents 46e4e32 + 0cc86d4 commit f158650

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/FusionAuth/FusionAuthClient.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4291,6 +4291,22 @@ public function retrieveTotalReport()
42914291
->go();
42924292
}
42934293

4294+
/**
4295+
* Retrieves the totals report. This allows excluding applicationTotals from the report. An empty list will include the applicationTotals.
4296+
*
4297+
* @param array $excludes List of fields to exclude in the response. Currently only allows applicationTotals.
4298+
*
4299+
* @return ClientResponse The ClientResponse.
4300+
* @throws \Exception
4301+
*/
4302+
public function retrieveTotalReportWithExcludes($excludes)
4303+
{
4304+
return $this->start()->uri("/api/report/totals")
4305+
->urlParameter("excludes", $excludes)
4306+
->get()
4307+
->go();
4308+
}
4309+
42944310
/**
42954311
* Retrieve two-factor recovery codes for a user.
42964312
*

0 commit comments

Comments
 (0)