How do I query by ASN?
You may type in the ASN in the search box, or for web:
Using /asn used to work, what happened?
Please see http://lists.peeringdb.com/pipermail/pdb-announce/2016-March/000036.html for details.
How do the new permissions work?
Now there is an
org entity which owns the records. A record can be a facility, an exchange point, or a network. Users are added to the org entity and can then be given access to any facility, any network, any exchange point, or anything the org itself owns.
Authenticating via embedded user/pass in the URL
Support for this depends on the client and some browsers have stopped supporting embedded
authentication in the URL
So for example
may work or it may not depending on the browser you are using.
Why are dates represented as strings in the API?
Date strings are ISO 8601 to keep a standard format. Comparison operations such as
__lt, etc all still work as expected. For fetching records against updated timestamp, you may also use
?since=<seconds since epoch>
How do I sync the whole database to my local machine?
Initially it will perform full sync, then it will only do an incremental sync (only updates records that have changed), so you're free to run it as often as you want.
When syncing to MySQL I get 'Illegal mix of collations'
django.db.utils.OperationalError: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='")
We will fix that when time allows, for the time being, just run:
alter database peeringdb default character set utf8 default collate utf8_unicode_ci;