Describe the bug
I noticed that it is not possible to use our read-only API key to access the IX-F import preview for our exchange objects. Instead, we have to use basic HTTP authorisation. For example:
I guess, it is because this endpoint is beyond the “/api/" hierarchy. Therefore, I checked if there is another suitable endpoint documented in the PeeringDB API Documentation, but I could not find anything related to IX-F preview.
Describe the bug I noticed that it is not possible to use our read-only API key to access the IX-F import preview for our exchange objects. Instead, we have to use basic HTTP authorisation. For example:
I can successfully use the same key to access other endpoints:
I can also successfully access
/import/ixlan/3800/ixf/preview
using the basic authorisation:I guess, it is because this endpoint is beyond the “/api/" hierarchy. Therefore, I checked if there is another suitable endpoint documented in the PeeringDB API Documentation, but I could not find anything related to IX-F preview.
To Reproduce Steps to reproduce the behavior:
Expected behavior A JSON output with the preview data should be returned.
Who is affected by the problem? Exchange operators
What is the impact?
Are there security concerns? Yes, please see the section above.
Are there privacy concerns? No
What are the proposed actions? Consider making https://www.peeringdb.com/import/ixlan/{ID}/ixf/preview part of usual set of API endpoints accessible with API keys.
What is the proposed priority? Low
Provide a rationale for any/all of the above Please see the points in the impact section.
Additional context [PEERINGDB-202408SO6OC1]