Skip to content

Flex verbose option not honored by API #11

Description

@alesage

The flex API doesn't support a verbose parameter. To demonstrate, these curl commands return the same set of fields:

$ curl -s -H "X-Api-Key: $DNSDB_API_KEY" -H "Accept: application/x-ndjson" "https://api.dnsdb.info/dnsdb/v2/glob/rrnames/*.example.com.?limit=1"
{"cond":"begin"}
{"obj":{"rrname":"2.example.com.","rrtype":"HINFO"}}
{"cond":"succeeded"}
$ curl -s -H "X-Api-Key: $DNSDB_API_KEY" -H "Accept: application/x-ndjson" "https://api.dnsdb.info/dnsdb/v2/glob/rrnames/*.example.com.?limit=1&verbose=true"
{"cond":"begin"}
{"obj":{"rrname":"2.example.com.","rrtype":"HINFO"}}
{"cond":"succeeded"}

Here's the definition:

verbose (bool): Set to false to disable `count`, `time_first`, and
`time_last` fields in output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions