DigitalOcean-public.v2-new_Domain Records
Retrieve an Existing Domain Record
To retrieve a specific domain record, send a GET request to /v2/domains/$DOMAIN_NAME/records/$RECORD_ID.
get/v2/domains/{domain_name}/records/{domain_record_id}
Path parameters
domain_namestring required
The name of the domain itself.
domain_record_idinteger required
The unique identifier of the domain record.
Response
The response will be a JSON object with a key called domain_record. The value of this will be a domain record object which contains the standard domain record attributes.
Example response
{
"domain_record": {
"id": 3352896,
"type": "A",
"name": "blog",
"data": "162.10.66.0",
"priority": null,
"port": null,
"ttl": 1800,
"weight": null,
"flags": null,
"tag": null
}
}