foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
106 stars 12 forks source link

API doesn't return valuable responses #80

Closed strizhik closed 1 year ago

strizhik commented 1 year ago

Hi, It looks like API doesn't response properly. Even examples from documentation returns empty result.

For example: https://api.foojay.io/disco/v3.0/packages?package_type=jdk&latest=available&version=11&javafx_bundled=true&operating_system=macos&architecture=x64&archive_type=dmg&archive_type=pkg

{
"result": [],
"message": "No package(s) found"
}

https://api.foojay.io/disco/v3.0/ids/2dd07b11553c798fa49274d937ba88e9

{
"result": [],
"message": "Package id not found"
}

I think this is similar to #79

solidjb commented 1 year ago

I agree. Something seems to have happened to the data

https://api.foojay.io/disco/v3.0/distributions/oracle_open_jdk - > returns no versions

https://api.foojay.io/disco/v3.0/distributions/versions/17?include_versions=false&include_synonyms=false -> only returns zulu, temurin and zulu_prime

geertjanw commented 1 year ago

No worries, I'm sure @HanSolo will investigate and respond soon.

HanSolo commented 1 year ago

Yep we encounter some strange behavior with the database and already looking into it…

HanSolo commented 1 year ago

Sorry for the inconvenience but it looks like we are back on track…

strizhik commented 1 year ago

Yeah, looks like the api feels better now :) Thanks a lot!

HanSolo commented 1 year ago

Thx for reporting the issue 👍🏻