Top Level Domain
The dns.tld resource lets you browse TLD metadata and inspect a specific TLD.
List Top Level Domains
length: Include allowed domain length constraints when set toTrue.periods: Include lifecycle periods (renew_grace,redemption,deletion) when set toTrue.group: Include group metadata when set toTrue.transfer_method: Include transfer method details when set toTrue.is_idn: Include internationalized domain name support when set toTrue.support: Include support capability flags when set toTrue.time: Include registration and transfer timing details when set toTrue.groups: Restrict results to specific group identifiers.
py
from infomaniak import Client
from infomaniak.models.dns.tld import Tld
client = Client()
tlds: list[Tld] = client.dns.tld.list(length=..., periods=..., support=...)list[Tld]:
[]: A list containing matchingTldobjects.
Show Top Level Domain
tld: TLD code to retrieve (for examplechorcom).length: Include allowed domain length constraints when set toTrue.periods: Include lifecycle periods when set toTrue.group: Include group metadata when set toTrue.transfer_method: Include transfer method details when set toTrue.is_idn: Include internationalized domain name support when set toTrue.support: Include support capability flags when set toTrue.time: Include registration and transfer timing details when set toTrue.
py
from infomaniak import Client
from infomaniak.models.dns.tld import Tld
client = Client()
ch_tld: Tld = client.dns.tld.show("ch", length=..., support=..., time=...)Tld:
tld: TLD code.label: Human-readable TLD label.group: Group metadata (TldGroup).periods: Lifecycle periods (TldPeriods).support: Capability flags (TldSupport).transfer_method: Transfer method metadata.is_idn: Internationalized domain support metadata.time: Registration and transfer timing metadata.