Skip to content

Docs/dns v2.3 and ip security v2.0 - #5

Merged
qasimleoo merged 4 commits into
mainfrom
docs/dns-v2.3-and-ip-security-v2.0
Nov 16, 2026
Merged

qasimleoo merged 4 commits into
mainfrom
docs/dns-v2.3-and-ip-security-v2.0

Conversation

@qasimleoo

Copy link
Copy Markdown
Collaborator

No description provided.

Five endpoints were live but missing from the spec, so the generated
reference and the SDK examples did not cover them.

- /v2.2 and /v2.3 DNS historical and reverse. From v2.2 each entry
  reports firstSeen and lastSeen in place of queryTime and accepts sort
  and sortBy. v2.3 reverse adds totalRecordsCapped, which tells a client
  whether the total is exact or stopped at the 10,000 cap, and both v2.3
  endpoints return 408 when a query runs past the server time limit
  rather than an empty 200.
- GET and POST /v2.0/security. The bulk POST is new; the same path
  previously accepted only GET. It returns the full ASN block, including
  the IPv4 and IPv6 route counts that v1.0 does not carry.

Docs and examples regenerated from the spec.
Every domainer and threat feed file that can be downloaded can also be streamed
as plain uncompressed CSV text, samples included. That is 28 paths: 14 dated
domainer files, 8 domainer samples, 3 dated threat feeds and 3 threat feed
samples.

Streaming differs from downloading in three ways worth documenting: date is
required rather than optional, the body is text/plain CSV rather than a gzip
file, and offset and limit page through the data rows without counting the
header. The sample endpoints need no API key, so they carry an empty security
list.
…API key

The generator put the new tag in the "Other" section because the Databases
section lists its tags by name, and it printed "New API key:" for every
streaming example because three of the ten language modules treated any
text/plain response as the key rotation endpoint. The other seven already keyed
off the operation id, so they were right; those three now do the same and print
the CSV instead.
Both v2.0 descriptions claimed the response carries asn_name and the IPv4 and
IPv6 route counts. It does not: those fields, along with allocation_status and
network.company, exist only in v1.0, which nests the ASN block under network.
v2.0 moves asn to the top level with seven fields and adds the announced route
prefix with the anycast and CDN flags. The schemas were already right, so only
the prose was misleading.

IpSecurityNetwork was missing is_cdn and cdn_provider_name, which v2.0 returns.
@qasimleoo
qasimleoo merged commit b1427d9 into main Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant