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

Migrating gandi domain to v5 #309

Open

Description

@JulienPalard

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

Activity

  1. grigouze commented on Feb 12, 2021

    @grigouze

    @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).

  2. JulienPalard commented on Feb 12, 2021

    @JulienPalard
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions