Zum Hauptinhalt springen

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

DNS-Einträge

DNS-Einträge auflisten, erstellen, aktualisieren und löschen. Die Beispiele verwenden den A2A-Code-Modus. MCP stellt denselben Code-Modus über sein Tool execute bereit.

Funktionen

dns_records.add

dns_records.add(account_id: str, domain: str, name: str, type: str, value: str, prio?: int | null, ttl?: int) -> DNSRecord
DNS-Einträge: dns_records.add.
EigenschaftWertEigenschaftWert
Erforderliche Berechtigungdns.record.createAuthentifizierung erforderlichja
AusführungsmodussyncFähigkeitdns.record.create
RessourcentypaccountRessourcen-ID-Feldaccount_id
Öffentliche API-RoutePOST /v1/public/accounts/{account_id}/dns-records
NameTypErforderlich
account_idstrja
domainstrja
namestrja
typestrja
valuestrja
prioint | nullnein
ttlintnein
FeldTypErforderlich
idintja
namestrja
ttlintja
typestrja
valuestrja
is_system_managedboolnein
priorityint | nullnein
Anfrage:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "dns_records.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", type=\"<string>\", value=\"<string>\", prio=123, ttl=123)"
}
Antwort:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.add",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
Anfrage:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "dns_records.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", type=\"<string>\", value=\"<string>\", prio=123, ttl=123)"
    }
  }
}
Antwort:
{
  "jsonrpc": "2.0",
  "id": "example",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": 123\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"dns_records.add\",\n      \"status\": \"completed\",\n      \"result\": 123\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

dns_records.delete

dns_records.delete(account_id: str, record_id: int) -> {}
DNS-Einträge: dns_records.delete.
EigenschaftWertEigenschaftWert
Erforderliche Berechtigungdns.record.deleteAuthentifizierung erforderlichja
AusführungsmodussyncFähigkeitdns.record.delete
RessourcentypaccountRessourcen-ID-Feldaccount_id
Öffentliche API-RouteDELETE /v1/public/accounts/{account_id}/dns-records/{record_id}
NameTypErforderlich
account_idstrja
record_idintja
FeldTypErforderlich
result{}ja
Anfrage:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "dns_records.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123)"
}
Antwort:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": {}
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.delete",
      "status": "completed",
      "result": {}
    }
  ],
  "complexity_score": 1
}
Anfrage:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "dns_records.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123)"
    }
  }
}
Antwort:
{
  "jsonrpc": "2.0",
  "id": "example",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": {}\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"dns_records.delete\",\n      \"status\": \"completed\",\n      \"result\": {}\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

dns_records.list

dns_records.list(account_id: str, domain?: str | null, name?: str | null, page?: int, page_size?: int, type?: str | null) -> Page[DNSRecord]
DNS-Einträge: dns_records.list.
EigenschaftWertEigenschaftWert
Erforderliche Berechtigungdns.record.viewAuthentifizierung erforderlichja
AusführungsmodussyncFähigkeitdns.record.view
RessourcentypaccountRessourcen-ID-Feldaccount_id
Öffentliche API-RouteGET /v1/public/accounts/{account_id}/dns-records
NameTypErforderlich
account_idstrja
domainstr | nullnein
namestr | nullnein
pageintnein
page_sizeintnein
typestr | nullnein
FeldTypErforderlich
items[{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}]ja
pageintja
page_sizeintja
totalintja
Anfrage:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "dns_records.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", page=123, page_size=123, type=\"<string>\")"
}
Antwort:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.list",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
Anfrage:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "dns_records.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", name=\"<string>\", page=123, page_size=123, type=\"<string>\")"
    }
  }
}
Antwort:
{
  "jsonrpc": "2.0",
  "id": "example",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": 123\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"dns_records.list\",\n      \"status\": \"completed\",\n      \"result\": 123\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}

dns_records.update

dns_records.update(account_id: str, record_id: int, disabled?: bool | null, name?: str | null, prio?: int | null, ttl?: int | null, value?: str | null) -> DNSRecord
DNS-Einträge: dns_records.update.
EigenschaftWertEigenschaftWert
Erforderliche Berechtigungdns.record.updateAuthentifizierung erforderlichja
AusführungsmodussyncFähigkeitdns.record.update
RessourcentypaccountRessourcen-ID-Feldaccount_id
Öffentliche API-RoutePATCH /v1/public/accounts/{account_id}/dns-records/{record_id}
NameTypErforderlich
account_idstrja
record_idintja
disabledbool | nullnein
namestr | nullnein
prioint | nullnein
ttlint | nullnein
valuestr | nullnein
FeldTypErforderlich
idintja
namestrja
ttlintja
typestrja
valuestrja
is_system_managedboolnein
priorityint | nullnein
Anfrage:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "dns_records.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123, disabled=true, name=\"<string>\", prio=123, ttl=123, value=\"<string>\")"
}
Antwort:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.update",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
Anfrage:
{
  "jsonrpc": "2.0",
  "id": "example",
  "method": "tools/call",
  "params": {
    "name": "hybridbox_execute",
    "arguments": {
      "code": "dns_records.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123, disabled=true, name=\"<string>\", prio=123, ttl=123, value=\"<string>\")"
    }
  }
}
Antwort:
{
  "jsonrpc": "2.0",
  "id": "example",
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": 123\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"dns_records.update\",\n      \"status\": \"completed\",\n      \"result\": 123\n    }\n  ],\n  \"complexity_score\": 1\n}"
      }
    ],
    "isError": false
  }
}