[PDB Tech] PeeringDB API Discrepency

Stefan Pratter stefan at 20c.com
Tue Sep 13 03:00:52 PDT 2016


Hi,

Thank you for bringing this to our attention, i have opened a github 
ticket for it here:

https://github.com/peeringdb/peeringdb/issues/68

Stefan

On 09/09/16 17:29, James Bensley wrote:
> Hi All,
>
> When using the API to look at a random network I see a possible
> difference in behavior between the API and the web interface.
>
> https://www.peeringdb.com/api/net/21
>
> info_prefixes4": null, "info_prefixes6": 0
>
> Here we see it says "0" for both values: https://www.peeringdb.com/net/21
>
> Has the user/network actually set "0" for v6 prefix count and given no
> value for the v4 count so the DB is returning 0 and null respectively,
> or is it a discrepancy in behavior; for v6 if there is no value is the
> DB defaulting to 0 value but for v4 defaulting to null?
>
> Sorry if this is a known issue.
>
> Cheers,
> James.
> _______________________________________________
> Pdb-tech mailing list
> Pdb-tech at lists.peeringdb.com
> http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
>


More information about the Pdb-tech mailing list