Forum Discussion
FrankG
Mar 04, 2019Copper Contributor
Paging
To perform paging with the Graph API you are supposed to check for the: @odata:nextLink property in the results. This property will not appear if you set $top=12 or greater. $top=11 or smaller will...
FrankG
Mar 06, 2019Copper Contributor
There are more than 20 alerts. It is the sample dataset from the Hackathon
Edward Koval
Microsoft
Mar 06, 2019Yes, $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, 2019
Microsoft
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.