cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Larger pages from /api/advisories ?

Does anyone know if it's possible to get a page larger than 20 entries at a time from the /api/advisories API call?

 

There's nothing in the docs... I can cache the full entries... And when running a test, I get good speed for everything except the next page of the advisory list... If the pages were larger I'd have fewer turnaround waits. Obviously this is only really useful on the second and subsequent run through a particular advisory. But when testing new features, or fixing issues occasionally I have to run through a lot of advisories

 

TIA

 H

(1) Solution
(2) Replies
raslam
By Level 7 Flexeran
Level 7 Flexeran

Hello, 

Please have a look at the below link,  where you can simply add your watchlist name at the bottom of the script. This will give you all the advisories for that particular watchlist. You can then use this advisories information wherever you want. 

https://docs.flexera.com/svr/api/Content/helplibrary/PowerShell_Script_to_Query_Historic_Advisories_by_Product_and_Version.htm#svm_api_research_1374644206_1208734

Please note: Remember to use your own SVR API token at the start of the script.

Regards,

Raheel