[PDB-tech] PeeringDB REST API - POC question
Hello PDB API Experts, I'm trying to retrieve poc json data using beta.peeringdb.com. I notice that with the other API calls you can query all the members without needing a specific ID. Example (all AS#): https://beta.peeringdb.com/api/asn It doesn't appear this is possible with the point of contacts call: https://beta.peeringdb.com/api/poc The response I observe is the following: { "meta": { "generated": 1456793085.174871 }, "data": [] } I notice that when you query a specific ASN, such as 13445 the POC information is empty. Example snippet: https://beta.peeringdb.com/api/asn/13445 "poc_set": [], Questions: How do you identify the POC ID for tracking down a member's noc email or phone #? https://beta.peeringdb.com/api/poc/{pk}<https://beta.peeringdb.com/api/poc/%7bpk%7d> For example, how do I determine the POC ID for Cisco WebEx AS# 13445? Thank you very much for your time! Thanks, Aaron Aaron Foss Network Architect Cloud Collaboration Technology Group aafoss@cisco.com<mailto:aafoss@cisco.com> Phone: +1 585 249 1874
* "Aaron Foss (aafoss)" <aafoss@cisco.com> [160307 06:30 +0000]:
I'm trying to retrieve poc json data using beta.peeringdb.com. I notice that with the other API calls you can query all the members without needing a specific ID.
Example (all AS#): https://beta.peeringdb.com/api/asn Off subject, but FYI, /asn is going away, see http://lists.peeringdb.com/pipermail/pdb-announce/2016-March/000036.html
Questions: How do you identify the POC ID for tracking down a member's noc email or phone #? https://beta.peeringdb.com/api/poc/{pk}<https://beta.peeringdb.com/api/poc/%7bpk%7d>
For example, how do I determine the POC ID for Cisco WebEx AS# 13445? I'm assuming you're not authenticated, in which case you cannot see POC's that aren't set to be public (none are on import). I thought there was a FAQ entry for that, but it doesn't seem like it, I'll make a note to add one.
Try authenticating first and you should see everything you expect to. Thanks
participants (2)
-
Aaron Foss (aafoss) -
Matt Griswold