API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · dns_templates

DNS Template Schema

Schema-ID
dns_template
Collection
dns_templates
Permissions
  • Lesendns_template_view
  • Anlegendns_template_create
  • Änderndns_template_edit
  • Löschendns_template_delete

Felder

DNS Template Schema

dns_templates4 Permissions

Schema for DNS record templates (e.g. Microsoft 365, Google Workspace)

namestringerforderlich

Template name (e.g. "Microsoft 365")

1–200 Zeichen
descriptionstringerforderlich

Detailed description of what this template configures

1–2000 Zeichen
providerstringerforderlich

Service provider this template is for

microsoft365google_workspacezohoprotonmailmailcowcustom
categorystringerforderlich

Template category

emailhostingsecuritycustom
isSystembooleanerforderlich

Whether this is a system-provided template (read-only for tenants)

recordsobject[]erforderlich

DNS records that will be created when applying this template

typestringerforderlich

DNS record type (A, AAAA, CNAME, MX, TXT, etc.)

namestringerforderlich

Record name with optional placeholders (e.g. {{domain}})

max 253 Zeichen
contentstringerforderlich

Record content with optional placeholders

max 4096 Zeichen
ttlintegererforderlich

Time to live in seconds

60 – 86400
priorityintegeroptional

Priority for MX and SRV records

0 – 65535nullable
descriptionstringerforderlich

Description of what this record does

max 500 Zeichen
variablesobject[]erforderlich

Variables that the user must provide when applying this template

keystringerforderlich

Variable key used in record placeholders (e.g. "verify_token")

1–50 Zeichen
labelstringerforderlich

Display label for the variable input

1–200 Zeichen
requiredbooleanerforderlich

Whether this variable must be provided

helpTextstringoptional

Help text explaining where to find this value

max 500 Zeichennullable
placeholderstringoptional

Example value shown as placeholder

max 200 Zeichennullable
validationstringoptional

Regex pattern for input validation

max 200 Zeichennullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/dns_templates — Liste, paginiert + filterbar
  • GET /api/v1/dns_templates/<id> — Einzelne Entity
  • POST /api/v1/dns_templates — Anlegen
  • PATCH /api/v1/dns_templates/<id> — Teil-Update
  • DELETE /api/v1/dns_templates/<id> — Soft-Delete
  • GET /api/v1/dns_templates/<id>/timeline — Audit + Aktivitäten

Suche