Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API should add "provides" for /release #216

Closed
SineSwiper opened this issue Jul 19, 2012 · 2 comments
Closed

API should add "provides" for /release #216

SineSwiper opened this issue Jul 19, 2012 · 2 comments

Comments

@SineSwiper
Copy link

I've noticed that it's actually not so easy to get a full list of modules from a release. For example:

http://api.metacpan.org/release/DBIx-Class

This seems to provide some of the META data, but not critical sections like provides. Yes, you could query /file for the release as a search, but that's a lot of increased JSON bulk (one module per hit).

@monken
Copy link
Contributor

monken commented Mar 7, 2013

👍
That will simplify a lot of queries!

@monken monken closed this as completed in 5e07edc Mar 16, 2013
@monken
Copy link
Contributor

monken commented Mar 16, 2013

There you go: http://api.metacpan.org/release/DBIx-Class?fields=provides
it requires a reindex of all releases though. New uploads will get a provides property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants