Closed marcwrobel closed 1 year ago
Currently the Disco API does not expose any release date for particular packages.
For example a request to https://api.foojay.io/disco/v3.0/packages/f804cc655ab9ffb9ad2836ba64588003 returns :
{ "result": [ { "id": "f804cc655ab9ffb9ad2836ba64588003", "archive_type": "tar.gz", "distribution": "bisheng", "major_version": 17, "java_version": "17.0.5", "distribution_version": "17.0.5", "jdk_version": 17, "latest_build_available": true, "release_status": "ga", "term_of_support": "lts", "operating_system": "linux", "lib_c_type": "glibc", "architecture": "aarch64", "fpu": "unknown", "package_type": "jdk", "javafx_bundled": false, "directly_downloadable": true, "filename": "bisheng-jdk-17.0.5-linux-aarch64_debuginfo.tar.gz", "links": { "pkg_info_uri": "https://api.foojay.io/disco/v3.0/ids/f804cc655ab9ffb9ad2836ba64588003", "pkg_download_redirect": "https://api.foojay.io/disco/v3.0/ids/f804cc655ab9ffb9ad2836ba64588003/redirect" }, "free_use_in_production": true, "tck_tested": "unknown", "tck_cert_uri": "", "aqavit_certified": "unknown", "aqavit_cert_uri": "", "size": 145771612, "feature": [] } ], "message": "" }
It would be great to have a new field, such as release_date, formatted as an ISO 8601 date (i.e. yyyy-mm-dd), that indicates when the package was build or available for download (whatever is the most convenient).
release_date
yyyy-mm-dd
Would it be possible to expose such new field ?
We don‘t have the release dates of all packages from every distribution, so we won’t add the date to the api.
Currently the Disco API does not expose any release date for particular packages.
For example a request to https://api.foojay.io/disco/v3.0/packages/f804cc655ab9ffb9ad2836ba64588003 returns :
It would be great to have a new field, such as
release_date
, formatted as an ISO 8601 date (i.e.yyyy-mm-dd
), that indicates when the package was build or available for download (whatever is the most convenient).Would it be possible to expose such new field ?