@opusdns/api 1.96.0 → 1.97.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 +23 -16
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.96.0",
6
+ "version": "1.97.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-064134
14993
+ version: 2026-08-04-122306
14994
14994
  x-logo:
14995
14995
  altText: OpusDNS API Reference
14996
14996
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -32143,21 +32143,28 @@ tags:
32143
32143
  \ in the zone |\n| `PATCH /v1/dns/{zone_name}/rrsets` | RRset-level | Upserts\
32144
32144
  \ or removes entire rrsets by `(name, type)` |\n| `PATCH /v1/dns/{zone_name}/records`\
32145
32145
  \ | Record-level | Upserts or removes individual rdata values inside an rrset\
32146
- \ |\n\n### `PUT /v1/dns/{zone_name}/rrsets` \u2014 Replace all rrsets\n\nSupply\
32147
- \ the complete set of rrsets the zone should contain. Any existing user-managed\
32148
- \ rrset **not** in the request is removed. System-managed record types (SOA, DNSKEY,\
32149
- \ DS) are managed by OpusDNS and cannot be set or removed via this endpoint.\n\
32150
- \nUse this when you have authoritative, end-state data for a zone and want to\
32151
- \ reset it to that state.\n\n### `PATCH /v1/dns/{zone_name}/rrsets` \u2014 Upsert\
32152
- \ or remove whole rrsets\n\nSubmit an `ops[]` array where each op targets an rrset\
32153
- \ by `(name, type)`:\n\n- `op: \"upsert\"` \u2014 create or **replace** the rrset\
32154
- \ at `(name, type)` with the records you provide. Any records that previously\
32155
- \ existed at that `(name, type)` are discarded.\n- `op: \"remove\"` \u2014 delete\
32156
- \ the entire rrset at `(name, type)` (pass `records: []`).\n\n```json\n{\n \"\
32157
- ops\": [\n {\n \"op\": \"upsert\",\n \"rrset\": {\n \"name\"\
32158
- : \"www\",\n \"type\": \"A\",\n \"ttl\": 300,\n \"records\"\
32159
- : [\n {\"rdata\": \"203.0.113.10\"},\n {\"rdata\": \"203.0.113.11\"\
32160
- }\n ]\n }\n },\n {\n \"op\": \"remove\",\n \"rrset\"\
32146
+ \ |\n\nAll three endpoints refuse writes targeting rrsets you cannot manage. SOA,\
32147
+ \ DNSKEY, DS, and the NS rrset at the zone apex are system-managed by OpusDNS:\
32148
+ \ a payload rrset or patch op targeting one \u2014 upsert **or** remove \u2014\
32149
+ \ 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\"\
32161
32168
  : {\"name\": \"old\", \"type\": \"CNAME\", \"ttl\": 300, \"records\": []}\n \
32162
32169
  \ }\n ]\n}\n```\n\nUse this when you want to define the complete set of records\
32163
32170
  \ for a given `(name, type)` \u2014 e.g., \"`www` should have exactly these two\