Add a REST API to download the last version of a package for a given target platform.
Whereas the target platform is always known, the last matching package version is not. When not using nuxeoctl but direct HTTP download, this makes it hard for automation.
Use case: CI job deploying Nuxeo with packages installed at Docker build time, but those packages are not all available on the same Connect server (PROD vs PREPROD), then that requires to download each package with curl. This is hardly sustainable without nuxeoctl doing the version resolution.
Allow to do something like this:
but with the target platform as parameter instead of the version: