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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user