Active participant

Larger pages from /api/advisories ?

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
Flexera
Flexera

Re: Larger pages from /api/advisories ?

Jump to solution
0 Kudos
2 Replies
Flexera
Flexera

Re: Larger pages from /api/advisories ?

Jump to solution

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_...

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

Regards,

Raheel 

 

0 Kudos
Flexera
Flexera

Re: Larger pages from /api/advisories ?

Jump to solution
0 Kudos