Openminds Sock API
List DNS Templates
Returns a list of DNS templates available. This includes client DNS templates and publicly-available Openminds templates.
URL
/dns_templates
Method
GET
Data parameters
Required
user_token=[string]
client_token=[string]
Sample usage
curl -X GET https://sock.openminds.be/api/v1/dns_templates -d user_token=1234 -d client_token=5678
Sample response
[
{
"dns_template_records": [
{
"content": "argon.openminds.be",
"id": 140,
"name": null,
"priority": 10,
"ttl": 3600,
"type": "MX"
},
{
"content": "23.211.11.147",
"id": 141,
"name": null,
"priority": null,
"ttl": 3600,
"type": "A"
},
{
"content": "www60.wixdns.net",
"id": 147,
"name": "www",
"priority": null,
"ttl": 3600,
"type": "CNAME"
},
{
"content": "www60.wixdns.net",
"id": 148,
"name": "m",
"priority": null,
"ttl": 3600,
"type": "CNAME"
}
],
"id": 71,
"name": "Wix",
"publicly_available": true,
"subdomains": null
},
{
"dns_template_records": [
{
"content": "1.1.1.1",
"id": 1428,
"name": null,
"priority": null,
"ttl": 3600,
"type": "A"
}
],
"id": 75,
"name": "client",
"publicly_available": false,
"subdomains": 1
}
]