Skip to main content
GET
/
core
/
v1
/
domains
/
{domainName}
/
records
List Records
curl --request GET \
  --url https://api.dev.name.com/core/v1/domains/{domainName}/records \
  --header 'Authorization: Basic <encoded-value>'
{
  "lastPage": 123,
  "nextPage": 123,
  "totalCount": 123,
  "from": 123,
  "to": 123,
  "records": [
    {
      "answer": "<string>",
      "domainName": "<string>",
      "fqdn": "<string>",
      "host": "<string>",
      "id": 123,
      "priority": 123,
      "ttl": 123,
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authenticate via HTTP Basic with your account username and API token. Examples use an explicit 'Authorization: Basic <base64(username:token)>' header; 'curl -u username:token' is equivalent. For sandbox, append "-test" to your username and use your sandbox token on api.dev.name.com.

Path Parameters

domainName
string
required

DomainName is the zone to list the records for.

Query Parameters

perPage
integer

Per Page is the number of records to return per request. Per Page defaults to 1,000.

page
integer

Page is which page to return.

Response

A successful response.

ListRecordsResponse is the response for the ListRecords function.

totalCount
integer
required

TotalCount is total number of results.

from
integer
required

From specifies starting record number on current page.

to
integer
required

To specifies ending record number on current page.

records
Records contains the records in the zone · object[]
required
lastPage
integer

LastPage is the identifier for the final page of results. It is only populated if there is another page of results after the current page.

nextPage
integer

NextPage is the identifier for the next page of results. It is only populated if there is another page of results after the current page.

I