Skip to content

Commit f1be46d

Browse files
committed
feat(stats): add 'wired' filter to getSiteCallsSummary and listSiteTroubleshootCalls functions
1 parent 730e091 commit f1be46d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎src/mistapi/api/v1/sites/stats.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,7 @@ def getSiteCallsSummary(
815815
site_id: str,
816816
ap_mac: str | None = None,
817817
app: str | None = None,
818+
wired: bool | None = None,
818819
start: str | None = None,
819820
end: str | None = None,
820821
) -> _APIResponse:
@@ -836,6 +837,8 @@ def getSiteCallsSummary(
836837
Filter results by AP MAC address
837838
app : str
838839
Filter results by application name
840+
wired : bool
841+
Filter results by whether the client is wired
839842
start : str
840843
Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d` or `-1w`
841844
end : str
@@ -853,6 +856,8 @@ def getSiteCallsSummary(
853856
query_params["ap_mac"] = str(ap_mac)
854857
if app:
855858
query_params["app"] = str(app)
859+
if wired:
860+
query_params["wired"] = str(wired)
856861
if start:
857862
query_params["start"] = str(start)
858863
if end:
@@ -868,6 +873,7 @@ def listSiteTroubleshootCalls(
868873
meeting_id: str | None = None,
869874
mac: str | None = None,
870875
app: str | None = None,
876+
wired: bool | None = None,
871877
start: str | None = None,
872878
end: str | None = None,
873879
duration: str | None = None,
@@ -896,6 +902,8 @@ def listSiteTroubleshootCalls(
896902
Filter results by MAC address
897903
app : str
898904
Third party app name
905+
wired : bool
906+
Filter results by whether the client is wired
899907
start : str
900908
Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d` or `-1w`
901909
end : str
@@ -923,6 +931,8 @@ def listSiteTroubleshootCalls(
923931
query_params["mac"] = str(mac)
924932
if app:
925933
query_params["app"] = str(app)
934+
if wired:
935+
query_params["wired"] = str(wired)
926936
if start:
927937
query_params["start"] = str(start)
928938
if end:

0 commit comments

Comments
 (0)