Open Jericho opened 3 years ago
@kevinchalet, @jsgoupil Here's a new beta release which adds the "Links" paging information to several other methods: https://www.myget.org/feed/jericho/package/nuget/StrongGrid/0.77.0-paginated-respon0070
Please note that while investigating this issue, I found out that some endpoints support 'limit' and 'offset' despite the fact that SendGrid's documentation does not mention it. I'm sure there are more than just the ones I found though. See #368
@kevinchalet recently alerted me to the fact that SendGrid includes "link" information in the response of the
GlobalSuppressions.GetAllAsync
which can be useful for pagination. While investigating this situation, I found out that there are other SendGrid API endpoints that also return this 'Link' information therefore it makes sense to modify StrongGrid so their corresponding methods include this information.I asked SendGrid for their assistance figuring out the list of endpoints that return this information and I am waiting for a reply but in the mean time here is the list that I found.
GET user/webhooks/parse/settings
GET teammates
GET teammates/pending
GET suppression/spam_reports
GET whitelabel/links
GET whitelabel/ips
GET whitelabel/domains
GET ips
GET api_keys
GET suppression/blocks
GET suppression/invalid_emails