Draft OpenAPI specs v3.0.0 for MetaCPAN API - #1109
Conversation
… more endpoints found
… for MetaCPAN API
|
I haven't had a chance to look at this yet. We did get the beginnings of swagger docs in https://github.com/metacpan/metacpan-api/pull/862/files It looks like, for example, there's something here: https://fastapi.metacpan.org/v1/static/v1.yml Maybe @jberger remembers more about it? |
|
Thanks, @jackdeguest. I apologize for how long this has languished here. How did you aggregate this data? |
Very patiently by reading your documentation, reading the code and using your API playground. It took me quite a bit of time. |
|
I just saw https://blogs.perl.org/users/karjala/2026/01/perlmodulesnet-is-down-for-1-2-weeks.html , which says:
Is this pull request what that post is referring to? Is there a roadmap somewhere for the transition? |
|
No, the backend just got a major bump. This spec was helpfully put together by @jackdeguest but I think nobody has had the bandwidth to establish how correct it is. Ideally we would have had two backends running in parallel or even given more notice about the shift but we are pretty constrained people-wise and have literally been working towards this for years. @haarg did a bunch of work to make our endpoints continue to work, but people who have crafted custom queries will need to make some changes. The title on #metacpan right now is:
So, it's not ideal, but this was a way forward that was doable on our end, with some unfortunate 3rd party disruptions. With more resources we could have done something much more defensive, but this was the best way to move things forward without abusing the free hosting on two different versions of Elasticsearch that Elastic is giving us. |
I have produced for your review this draft MetaCPAN specifications based on the information I could collect from the documentations and the code.
I think this is helpful in providing further clarity on the MetaCPAN API.