#Zones List DNS records API response breaking change

5 messages · Page 1 of 1 (latest)

glossy basalt
#

I have a hacky python script that uses the Cloudflare API to do Dynamic DNS for my home ip address. I noticed today that the script stopped working, and debugging it, it looks like the https://cfapi.centminmod.com/#dns-records-for-a-zone-list-dns-records response schema had a breaking change.

Previously every dns record returned had a zone_id in it, now it appears that field has been removed.

Obviously its not a major issue since the i have to have it as a request parameter, but its bad practice to make a breaking change like this to your response contract. (Specially when the field is still documented in the API reference)

I couldn't find any api changelog for this change, was this a known breaking change?

humble geyser
#

Specially when the field is still documented in the API reference
centmindmod is not the official api docs, it's based on a really old version, 2 api docs platforms ago