Closed anthonydahanne closed 11 months ago
Hello friends of OpenJDK!
Do you know if Disco 🕺 API supports returning the source URL for each package?
For example: https://api.foojay.io/disco/v3.0/packages?distro=microsoft&architecture=x64&archive_type=tar.gz&package_type=jdk&operating_system=linux&lib_c_type=glibc&javafx_bundled=false&version=21..%3C22 will return a document with a download url for the Microsoft OpenJDK.
I now need the sources associated to it (I'm working on the Java Paketo buildpacks https://github.com/paketo-buildpacks/ and we now need to provide sources to the buildpack metadata)
I have looked at your doc and swagger (https://api.foojay.io/swagger-ui#/default/getPackagesV3) but could not find it...
Some other JDK providers do this: https://api.adoptium.net/v3/assets/version/%5B17%2C18%29?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&os=linux&release_type=ga&vendor=adoptium that includes the source
Or this: https://api.bell-sw.com/v1/liberica/releases?package-type=src.tar.gz&version-feature=17&version-modifier=latest
Please let me know if you have a way to get the source package or if you plan on adding it.
Thank you!
Hi there, no we don’t have any links to sources, sorry
OK! thanks for your answer @HanSolo ! Please feel free to re open if one day you consider adding source URL to the response object of /packages !
/packages
Hello friends of OpenJDK!
Do you know if Disco 🕺 API supports returning the source URL for each package?
For example: https://api.foojay.io/disco/v3.0/packages?distro=microsoft&architecture=x64&archive_type=tar.gz&package_type=jdk&operating_system=linux&lib_c_type=glibc&javafx_bundled=false&version=21..%3C22 will return a document with a download url for the Microsoft OpenJDK.
I now need the sources associated to it (I'm working on the Java Paketo buildpacks https://github.com/paketo-buildpacks/ and we now need to provide sources to the buildpack metadata)
I have looked at your doc and swagger (https://api.foojay.io/swagger-ui#/default/getPackagesV3) but could not find it...
Some other JDK providers do this: https://api.adoptium.net/v3/assets/version/%5B17%2C18%29?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot&os=linux&release_type=ga&vendor=adoptium that includes the source
Or this: https://api.bell-sw.com/v1/liberica/releases?package-type=src.tar.gz&version-feature=17&version-modifier=latest
Please let me know if you have a way to get the source package or if you plan on adding it.
Thank you!