GET
/
dns
/
v2
/
zones
/
{zoneName}
/
{rrsetName}
/
{rrsetType}
Get RRset
curl --request GET \
  --url https://api.gcore.com/dns/v2/zones/{zoneName}/{rrsetName}/{rrsetType} \
  --header 'Authorization: <api-key>'
{
  "filter_set_id": 123,
  "meta": {},
  "name": "sub.example.com",
  "pickers": [
    {
      "limit": 123,
      "strict": true,
      "type": "geodns"
    }
  ],
  "resource_records": [
    {
      "content": [
        {}
      ],
      "enabled": true,
      "id": 42,
      "meta": {}
    }
  ],
  "ttl": 123,
  "type": "A",
  "updated_at": "2023-11-07T05:31:56Z",
  "warning": "<string>",
  "warnings": [
    {
      "key": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

zoneName
string
required
rrsetName
string
required
rrsetType
string
required

Response

200
application/json

OutputRRSet

The response is of type object.