API

LivednsNameserver

A zone's nameservers, or the generic nameservers LiveDNS would give it (generic).

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /livedns/domains/{fqdn}/nameservers list OK
GET /livedns/nameservers/{fqdn} list OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

livedns_nameservers, err := client.LivednsNameserver(nil).List(map[string]any{"fqdn": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(livedns_nameservers)

Lua

Construct client as shown in the Lua setup, then call the operations:

local livedns_nameservers, err = client:LivednsNameserver():list({ fqdn = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$livedns_nameservers = $client->LivednsNameserver()->list(["fqdn" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

livedns_nameservers = client.LivednsNameserver().list({"fqdn": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

livedns_nameservers = client.LivednsNameserver.list({ "fqdn" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const livedns_nameservers = await client.LivednsNameserver().list({ fqdn: "example" })

Fields

Field Type Required Description

list

GET /livedns/domains/{fqdn}/nameservers

Operation ID: getLivednsDomainsFqdnNameservers.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
fqdn path string Yes

Responses

200: OK

application/json

The response is array of string.

401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

GET /livedns/nameservers/{fqdn}

Operation ID: getLivednsNameserversFqdn.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
fqdn path string Yes

Responses

200: OK

application/json

The response is array of string.