Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Migrating gandi domain to v5 #309

Open
JulienPalard opened this issue Feb 11, 2021 · 2 comments
Open

Migrating gandi domain to v5 #309

JulienPalard opened this issue Feb 11, 2021 · 2 comments

Comments

@JulienPalard
Copy link
Contributor

JulienPalard commented Feb 11, 2021

I'm trying to port gandi domain list to use the v5 REST API, but I hit something:

The REST API for /v5/domain/domains/{domain} does not give a zone_id.

The commands/record.py file use gandi.domain.info to get a zone_id.

Any Gandi insider having a hint for me?

If of any interest, my branch is here: https://github.com/JulienPalard/gandi.cli/tree/mdk/domain-v5

@grigouze
Copy link

@JulienPalard There is no zone_id exported in v5 API. Because LiveDNS don't use it, and v5 API only handle LiveDNS nameservers, not A/B/C (previous default nameservers).

@JulienPalard
Copy link
Contributor Author

I bet the right way then is to drop the record command and module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants