Skip to content

Flex verbose option not honored by API #11

@alesage

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions