Forum Discussion
Paging
Hi Frank,
The Microsoft Graph Security API will not return a next link when no additional alerts can be returned, or if you have reached the 6000 top+skip limit. In this case you are using our demo data, where we currently have 11 demo alerts for one of the providers. Which is why after $top=11 you no longer receive a next link.
Thanks,
Edward
There are more than 20 alerts. It is the sample dataset from the Hackathon
- Edward KovalMar 06, 2019Former EmployeeYes, $top returns the most recent alerts from each of our providers. So if you were to query the sample dataset for $top=1, you would get back 8 alerts. Because we currently have 8 providers returning 1 of their most recent alerts.
- FrankGMar 06, 2019Copper Contributor
so if I do $top=50 - in theory if there are 50 providers - I could get back 2500 alerts ( pass the total alerts allowed to be returned). I did not know that the $top was specific to the Provider - is that in the documentation?
- Edward KovalMar 06, 2019Former Employee
Yes that is correct you would get back 2500 alerts. $top is documented in the List alerts page, but we may need to clarify that.