blackducksoftware / hub-rest-api-python

HUB REST API Python bindings
Apache License 2.0
89 stars 104 forks source link

Is there a way to print the list of newer releases available for a component? #269

Open rnjudge opened 3 months ago

rnjudge commented 3 months ago

Using this library it's possible to get the newerReleases count for a component, something like:

newer_releases = component['activityData'].get('newerReleases', None)

Is there a way to get a list of what these newer releases are for a given component? i.e. if a component was listed as having "3 newer releases" in the BD Hub UI -- is there a way I could get the list of the three newer releases: [2.1, 2.2, 2.3] assuming my component version was listed at 2.0?

Thanks in advance.