API

LivednsRrtype

The DNS record types LiveDNS supports.

Operations

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

Method Route SDK operation Returns
GET /livedns/dns/rrtypes 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_rrtypes, err := client.LivednsRrtype(nil).List(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(livedns_rrtypes)

Lua

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

local livedns_rrtypes, err = client:LivednsRrtype():list()

PHP

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

$livedns_rrtypes = $client->LivednsRrtype()->list();

Python

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

livedns_rrtypes = client.LivednsRrtype().list()

Ruby

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

livedns_rrtypes = client.LivednsRrtype.list()

TypeScript

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

const livedns_rrtypes = await client.LivednsRrtype().list()

Fields

Field Type Required Description

list

GET /livedns/dns/rrtypes

Operation ID: getLivednsDnsRrtypes.

Authentication: bearer token (bearerAuth).

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