Zone
Get all DNS records for a zone
get/v1/hosting/zone/{zone_id}/records
Request
- Base URLhttps://api.10web.io
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
zone_idinteger required
Headers
x-api-keystring required
API key for authentication
Response
List of DNS records for the zone
Example response
{
"status": "ok",
"data": [
{
"id": 12345,
"name": "example.com",
"value": "192.168.1.1",
"type": "A",
"ttl": 300,
"priority": null,
"port": null,
"weight": null
},
{
"id": 12346,
"name": "mail.example.com",
"value": "mail.example.com.herokudns.com",
"type": "CNAME",
"ttl": 3600,
"priority": null,
"port": null,
"weight": null
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.