Closed adpi2 closed 4 weeks ago
Introduces 3 endpoints:
GET /api/projects
GET /api/projects/<org>/<repo>/artifacts
GET /api/artifacts/<groupid>/<artifactid>/<version>
The old GET /api/artifacts endpoint is removed because it was unsafe (OOM).
GET /api/artifacts
The language and platform filters are not yet implemented.
language
platform
There is no pagination and I don't plan to add it in the near future. All responses of the new API should be reasonably small.
This PR is deployed on https://index-dev.scala-lang.org/ for testing. Some example requests are:
The API is documented here.
Introduces 3 endpoints:
GET /api/projects
to get the lists of all projects, except the ones that are moved or deleted on Github.GET /api/projects/<org>/<repo>/artifacts
to get the lists of artifacts of a given project.GET /api/artifacts/<groupid>/<artifactid>/<version>
to get some info about an artifact (language, platform, licenses, release date etc).The old
GET /api/artifacts
endpoint is removed because it was unsafe (OOM).The
language
andplatform
filters are not yet implemented.There is no pagination and I don't plan to add it in the near future. All responses of the new API should be reasonably small.
This PR is deployed on https://index-dev.scala-lang.org/ for testing. Some example requests are:
The API is documented here.