1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

add new API parameter has been added to fetch all resource records

This commit is contained in:
Yaroshevich, Denis
2021-03-23 11:35:12 +03:00
parent ac56a36f43
commit 70555ed546

View File

@@ -68,7 +68,7 @@ class GCoreClient(object):
def zone_records(self, zone_name):
rrsets = self._request(
"GET", "{}/{}/rrsets".format(self.ROOT_ZONES, zone_name)
"GET", "{}/{}/rrsets?all=true".format(self.ROOT_ZONES, zone_name)
).json()
records = rrsets["rrsets"]
return records