New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK inconsistency in zone vs record APIs #135
Comments
As per official documentation https://api.cloudflare.com/#zone-list-zones it has
as json, so in theory it should be pretty simple to implement |
@Tenzer I see, feel free to close this if you think it is necessary |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Zones sdk code does not retrieve all zones, only the first page.
DNS records sdk code does retrieve all records
Details:
This is a snippet from
zone.go
ListZones(z ...string)
method.As noted in TODOs it does not implement pagination, moreover the struct where JSON is unmarshaled does not define (as opposed to response from dns records API):
ResultInfo
is still part of the http response from"https://api.cloudflare.com/client/v4/zones
and can be retrieved ?The text was updated successfully, but these errors were encountered: