@@ -242,6 +242,7 @@ def searchOrgDeviceEvents(
242242 end : str | None = None ,
243243 duration : str = "1d" ,
244244 sort : str = "timestamp" ,
245+ search_after : str | None = None ,
245246) -> _APIResponse :
246247 """
247248 API doc: https://www.juniper.net/documentation/us/en/software/mist/api/http/api/orgs/devices/search-org-device-events
@@ -270,6 +271,7 @@ def searchOrgDeviceEvents(
270271 end : str
271272 duration : str, default: 1d
272273 sort : str, default: timestamp
274+ search_after : str
273275
274276 RETURN
275277 -----------
@@ -305,6 +307,8 @@ def searchOrgDeviceEvents(
305307 query_params ["duration" ] = str (duration )
306308 if sort :
307309 query_params ["sort" ] = str (sort )
310+ if search_after :
311+ query_params ["search_after" ] = str (search_after )
308312 resp = mist_session .mist_get (uri = uri , query = query_params )
309313 return resp
310314
@@ -371,11 +375,13 @@ def searchOrgDeviceLastConfigs(
371375 mac : str | None = None ,
372376 name : str | None = None ,
373377 version : str | None = None ,
378+ cert_expiry_duration : str | None = None ,
374379 start : str | None = None ,
375380 end : str | None = None ,
376381 limit : int = 100 ,
377382 duration : str = "1d" ,
378383 sort : str = "timestamp" ,
384+ search_after : str | None = None ,
379385) -> _APIResponse :
380386 """
381387 API doc: https://www.juniper.net/documentation/us/en/software/mist/api/http/api/orgs/devices/search-org-device-last-configs
@@ -395,11 +401,13 @@ def searchOrgDeviceLastConfigs(
395401 mac : str
396402 name : str
397403 version : str
404+ cert_expiry_duration : str
398405 start : str
399406 end : str
400407 limit : int, default: 100
401408 duration : str, default: 1d
402409 sort : str, default: timestamp
410+ search_after : str
403411
404412 RETURN
405413 -----------
@@ -417,6 +425,8 @@ def searchOrgDeviceLastConfigs(
417425 query_params ["name" ] = str (name )
418426 if version :
419427 query_params ["version" ] = str (version )
428+ if cert_expiry_duration :
429+ query_params ["cert_expiry_duration" ] = str (cert_expiry_duration )
420430 if start :
421431 query_params ["start" ] = str (start )
422432 if end :
@@ -427,6 +437,8 @@ def searchOrgDeviceLastConfigs(
427437 query_params ["duration" ] = str (duration )
428438 if sort :
429439 query_params ["sort" ] = str (sort )
440+ if search_after :
441+ query_params ["search_after" ] = str (search_after )
430442 resp = mist_session .mist_get (uri = uri , query = query_params )
431443 return resp
432444
@@ -512,6 +524,7 @@ def searchOrgDevices(
512524 end : str | None = None ,
513525 duration : str = "1d" ,
514526 sort : str = "timestamp" ,
527+ search_after : str | None = None ,
515528) -> _APIResponse :
516529 """
517530 API doc: https://www.juniper.net/documentation/us/en/software/mist/api/http/api/orgs/devices/search-org-devices
@@ -571,6 +584,7 @@ def searchOrgDevices(
571584 end : str
572585 duration : str, default: 1d
573586 sort : str, default: timestamp
587+ search_after : str
574588
575589 RETURN
576590 -----------
@@ -664,6 +678,8 @@ def searchOrgDevices(
664678 query_params ["duration" ] = str (duration )
665679 if sort :
666680 query_params ["sort" ] = str (sort )
681+ if search_after :
682+ query_params ["search_after" ] = str (search_after )
667683 resp = mist_session .mist_get (uri = uri , query = query_params )
668684 return resp
669685
0 commit comments