Getting a Custom List of Advisories

Use the following code to get a custom list of advisories:

curl -H "Authorization: Token REPLACE_WITH_YOUR_TOKEN" -H "Content-Type: application/json" https://api.app.secunia.com/api/advisories/ ?released__gte=1435698000&released__lt=1438376400&criticality=1&criticality=2

In this example, the advisory set has been restricted to the released date being greater than or equal (gte) to a Unix based date and less than (lt) another date, and filtered based on the criticality levels (1 and 2 in this example).