Repository navigation
Docs/dns v2.3 and ip security v2.0 - #5
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.