Files
go-unifi/codegen/v2/DNSRecord.json
Mateusz Filipowicz aa188a6faa feat: add API v2 support by adding APGroup and DNSRecord resource handling with generated code (#23)
* feat: add API v2 support by adding APGroup and DNSRecord resource handling with generated code

* fix tests
2025-02-17 15:39:54 +01:00

10 lines
249 B
JSON

{
"enabled": "true|false",
"key": ".{1,256}",
"port": "^[0-9][0-9]?$|^",
"priority": "^[0-9][0-9]?$|^",
"record_type": "A|AAAA|CNAME|MX|NS|PTR|SOA|SRV|TXT",
"ttl": "^[0-9][0-9]?$|^",
"value": ".{1,256}",
"weight": "^[0-9][0-9]?$|^"
}