@opusdns/api 1.97.0 → 1.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/openapi.yaml +40 -19
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.97.0",
6
+ "version": "1.99.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
package/src/openapi.yaml CHANGED
@@ -14990,7 +14990,7 @@ info:
14990
14990
  \n\n"
14991
14991
  summary: OpusDNS - your gateway to a seamless domain management experience.
14992
14992
  title: OpusDNS API
14993
- version: 2026-08-04-122306
14993
+ version: 2026-08-04-151228
14994
14994
  x-logo:
14995
14995
  altText: OpusDNS API Reference
14996
14996
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -19706,6 +19706,22 @@ paths:
19706
19706
  content:
19707
19707
  application/json:
19708
19708
  examples:
19709
+ delegate_subdomain:
19710
+ description: Add an NS RRset below the zone apex to delegate a subdomain
19711
+ to other nameservers (sub-zone delegation). The zone answers queries
19712
+ for the subtree with a referral. NS records at the apex are system-managed
19713
+ and cannot be changed here.
19714
+ summary: Delegate a subdomain
19715
+ value:
19716
+ ops:
19717
+ - op: upsert
19718
+ rrset:
19719
+ name: internal
19720
+ records:
19721
+ - rdata: ns1.other-provider.net.
19722
+ - rdata: ns2.other-provider.net.
19723
+ ttl: 3600
19724
+ type: NS
19709
19725
  remove_single_rrset:
19710
19726
  description: Remove all records for a specific name and type
19711
19727
  summary: Remove a single RRset
@@ -32147,24 +32163,29 @@ tags:
32147
32163
  \ DNSKEY, DS, and the NS rrset at the zone apex are system-managed by OpusDNS:\
32148
32164
  \ a payload rrset or patch op targeting one \u2014 upsert **or** remove \u2014\
32149
32165
  \ is rejected with a `409` protected-rrset error (these rrsets are reported with\
32150
- \ `\"protected\": true` in zone responses). NS records below the apex (sub-zone\
32151
- \ delegation) are not supported and are rejected with a `400` validation error.\
32152
- \ To change the nameservers a domain delegates to, update the nameservers on the\
32153
- \ domain instead.\n\n### `PUT /v1/dns/{zone_name}/rrsets` \u2014 Replace all rrsets\n\
32154
- \nSupply the complete set of rrsets the zone should contain. Any existing user-managed\
32155
- \ rrset **not** in the request is removed. System-managed rrsets cannot be set\
32156
- \ or removed via this endpoint; omit them from the payload.\n\nUse this when you\
32157
- \ have authoritative, end-state data for a zone and want to reset it to that state.\n\
32158
- \n### `PATCH /v1/dns/{zone_name}/rrsets` \u2014 Upsert or remove whole rrsets\n\
32159
- \nSubmit an `ops[]` array where each op targets an rrset by `(name, type)`:\n\n\
32160
- - `op: \"upsert\"` \u2014 create or **replace** the rrset at `(name, type)` with\
32161
- \ the records you provide. Any records that previously existed at that `(name,\
32162
- \ type)` are discarded.\n- `op: \"remove\"` \u2014 delete the entire rrset at\
32163
- \ `(name, type)` (pass `records: []`).\n\n```json\n{\n \"ops\": [\n {\n \
32164
- \ \"op\": \"upsert\",\n \"rrset\": {\n \"name\": \"www\",\n \
32165
- \ \"type\": \"A\",\n \"ttl\": 300,\n \"records\": [\n \
32166
- \ {\"rdata\": \"203.0.113.10\"},\n {\"rdata\": \"203.0.113.11\"}\n\
32167
- \ ]\n }\n },\n {\n \"op\": \"remove\",\n \"rrset\"\
32166
+ \ `\"protected\": true` in zone responses). To change the nameservers a domain\
32167
+ \ delegates to, update the nameservers on the domain instead.\n\nNS rrsets **below**\
32168
+ \ the apex delegate a subdomain to other nameservers and are managed like any\
32169
+ \ other record type, on all three endpoints and at zone creation. Two caveats:\
32170
+ \ records (including domain/email forwards and parking) at or below a delegated\
32171
+ \ name stop resolving publicly, because the delegated nameservers are authoritative\
32172
+ \ for that subtree; and delegations from DNSSEC-signed zones are *insecure* delegations\
32173
+ \ \u2014 child DS records are not supported, so the delegated subtree is not covered\
32174
+ \ by the parent's chain of trust.\n\n### `PUT /v1/dns/{zone_name}/rrsets` \u2014\
32175
+ \ Replace all rrsets\n\nSupply the complete set of rrsets the zone should contain.\
32176
+ \ Any existing user-managed rrset **not** in the request is removed. System-managed\
32177
+ \ rrsets cannot be set or removed via this endpoint; omit them from the payload.\n\
32178
+ \nUse this when you have authoritative, end-state data for a zone and want to\
32179
+ \ reset it to that state.\n\n### `PATCH /v1/dns/{zone_name}/rrsets` \u2014 Upsert\
32180
+ \ or remove whole rrsets\n\nSubmit an `ops[]` array where each op targets an rrset\
32181
+ \ by `(name, type)`:\n\n- `op: \"upsert\"` \u2014 create or **replace** the rrset\
32182
+ \ at `(name, type)` with the records you provide. Any records that previously\
32183
+ \ existed at that `(name, type)` are discarded.\n- `op: \"remove\"` \u2014 delete\
32184
+ \ the entire rrset at `(name, type)` (pass `records: []`).\n\n```json\n{\n \"\
32185
+ ops\": [\n {\n \"op\": \"upsert\",\n \"rrset\": {\n \"name\"\
32186
+ : \"www\",\n \"type\": \"A\",\n \"ttl\": 300,\n \"records\"\
32187
+ : [\n {\"rdata\": \"203.0.113.10\"},\n {\"rdata\": \"203.0.113.11\"\
32188
+ }\n ]\n }\n },\n {\n \"op\": \"remove\",\n \"rrset\"\
32168
32189
  : {\"name\": \"old\", \"type\": \"CNAME\", \"ttl\": 300, \"records\": []}\n \
32169
32190
  \ }\n ]\n}\n```\n\nUse this when you want to define the complete set of records\
32170
32191
  \ for a given `(name, type)` \u2014 e.g., \"`www` should have exactly these two\