메인 콘텐츠로 건너뛰기

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 레코드

DNS 레코드를 나열, 생성, 업데이트, 삭제합니다. 예시는 A2A 코드 모드를 사용합니다. MCP는 execute 도구를 통해 동일한 코드 모드를 노출합니다.

함수

dns_records.add

dns_records.add(account_id: str, domain: str, name: str, type: str, value: str, prio?: int | null, ttl?: int) -> DNSRecord
DNS 레코드: dns_records.add.
속성속성
필요 권한dns.record.create인증 필요
실행 모드sync기능 권한dns.record.create
리소스 유형account리소스 ID 필드account_id
공개 API 경로POST /v1/public/accounts/{account_id}/dns-records
이름유형필수
account_idstr
domainstr
namestr
typestr
valuestr
prioint | null아니요
ttlint아니요
필드유형필수
idint
namestr
ttlint
typestr
valuestr
is_system_managedbool아니요
priorityint | null아니요
요청:
{
  "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)"
}
응답:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.add",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
요청:
{
  "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)"
    }
  }
}
응답:
{
  "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 레코드: dns_records.delete.
속성속성
필요 권한dns.record.delete인증 필요
실행 모드sync기능 권한dns.record.delete
리소스 유형account리소스 ID 필드account_id
공개 API 경로DELETE /v1/public/accounts/{account_id}/dns-records/{record_id}
이름유형필수
account_idstr
record_idint
필드유형필수
result{}
요청:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "dns_records.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", record_id=123)"
}
응답:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": {}
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.delete",
      "status": "completed",
      "result": {}
    }
  ],
  "complexity_score": 1
}
요청:
{
  "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)"
    }
  }
}
응답:
{
  "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 레코드: dns_records.list.
속성속성
필요 권한dns.record.view인증 필요
실행 모드sync기능 권한dns.record.view
리소스 유형account리소스 ID 필드account_id
공개 API 경로GET /v1/public/accounts/{account_id}/dns-records
이름유형필수
account_idstr
domainstr | null아니요
namestr | null아니요
pageint아니요
page_sizeint아니요
typestr | null아니요
필드유형필수
items[{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}]
pageint
page_sizeint
totalint
요청:
{
  "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>\")"
}
응답:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.list",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
요청:
{
  "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>\")"
    }
  }
}
응답:
{
  "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 레코드: dns_records.update.
속성속성
필요 권한dns.record.update인증 필요
실행 모드sync기능 권한dns.record.update
리소스 유형account리소스 ID 필드account_id
공개 API 경로PATCH /v1/public/accounts/{account_id}/dns-records/{record_id}
이름유형필수
account_idstr
record_idint
disabledbool | null아니요
namestr | null아니요
prioint | null아니요
ttlint | null아니요
valuestr | null아니요
필드유형필수
idint
namestr
ttlint
typestr
valuestr
is_system_managedbool아니요
priorityint | null아니요
요청:
{
  "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>\")"
}
응답:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "dns_records.update",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
요청:
{
  "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>\")"
    }
  }
}
응답:
{
  "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
  }
}