Skip to content

More Link-header paging #367

@Jericho

Description

@Jericho

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

  • WebHooksSetting.GetAllInboundParseWebhookSettingsAsync GET user/webhooks/parse/settings
  • Teammates.GetAllTeammatesAsync GET teammates
  • Teammates.GetAllPendingInvitationsAsync GET teammates/pending
  • SpamReports.GetAllAsync GET suppression/spam_reports
  • SenderAuthentication.GetAllLinksAsync GET whitelabel/links
  • SenderAuthentication.GetAllReverseDnsAsync GET whitelabel/ips
  • SenderAuthentication.GetAllDomainsAsync GET whitelabel/domains
  • IpAddresses.GetAllAsync GET ips
  • ApiKeys.GetAll GET api_keys
  • Blocks.GetAllAsync GET suppression/blocks
  • InvalidEmails.GetAllAsync GET suppression/invalid_emails

Metadata

Metadata

Assignees

Labels

Breaking ChangeThis change causes backward compatibility issue(s)

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions