On 8/15/20 10:54 AM, Lucas Nussbaum wrote: > On 01/08/20 at 14:07 +0200, Baptiste BEAUPLAT wrote: >> On 8/1/20 9:01 AM, Lucas Nussbaum wrote: >>> Hi Baptiste, >>> >>> I think that it would be better if mentors.d.n would provide a JSON >>> export of its data that it useful for UDD. >> >> Would a JSON rest api work? > > Sure, provided it doesn't require looping over packages or uploads.
Yeah. In this proposal [1], I've added a standalone /api/uploads/ route, listing all uploads with some additional hints (package name instead of just the id), in order for scripts not to have to fetch resources everywhere. [1]: https://salsa.debian.org/mentors.debian.net-team/debexpo/-/merge_requests/146 -- Baptiste BEAUPLAT - lyknode
signature.asc
Description: OpenPGP digital signature