vinyldns / vinyldns-js

JavaScript library for interacting with VinylDNS APIs
Apache License 2.0
2 stars 8 forks source link

create getAllZones method #32

Open mdb opened 5 years ago

mdb commented 5 years ago

The current getZones method does not handle pagination on the user's behalf. It may be beneficial to create a getAllZones method that pages through /zones results on behalf of the user.

nimaeskandary commented 5 years ago

There is some active discussion to start returning all Zones when paging Zones and having a new field to determine if the user has access to view it, to make it less confusing for people when they wanna know what Zones exist. If that happens then this function probably shouldn't exist as users can search for zones already with a filter on list zones, and a full Zones scan would be bad on a Vinyl system