@@ -682,7 +682,9 @@ def countSiteCalls(
682682 mist_session : _APISession ,
683683 site_id : str ,
684684 distinct : str | None = None ,
685- rating : int | None = None ,
685+ mac : str | None = None ,
686+ ap_mac : str | None = None ,
687+ rating : str | None = None ,
686688 app : str | None = None ,
687689 start : str | None = None ,
688690 end : str | None = None ,
@@ -704,8 +706,12 @@ def countSiteCalls(
704706 ------------
705707 distinct : str{'mac'}, default: mac
706708 Field used to group this count response. enum: `mac`
707- rating : int
708- Feedback rating (e.g. "rating=1" or "rating=1,2")
709+ mac : str
710+ Filter results by client MAC address
711+ ap_mac : str
712+ Filter results by AP MAC address
713+ rating : str
714+ Feedback rating, from 1 to 5; accepts comma-separated values such as "1,2"
709715 app : str
710716 Filter application statistics by application name
711717 start : str
@@ -725,6 +731,10 @@ def countSiteCalls(
725731 query_params : dict [str , str ] = {}
726732 if distinct :
727733 query_params ["distinct" ] = str (distinct )
734+ if mac :
735+ query_params ["mac" ] = str (mac )
736+ if ap_mac :
737+ query_params ["ap_mac" ] = str (ap_mac )
728738 if rating :
729739 query_params ["rating" ] = str (rating )
730740 if app :
@@ -856,7 +866,7 @@ def getSiteCallsSummary(
856866 query_params ["ap_mac" ] = str (ap_mac )
857867 if app :
858868 query_params ["app" ] = str (app )
859- if wired is not None :
869+ if wired :
860870 query_params ["wired" ] = str (wired )
861871 if start :
862872 query_params ["start" ] = str (start )
0 commit comments