When using the rest APIs to get all bundles. You may come across a situation where they come back empty.
API Call '<jfrogurl>/artifactory/api/release/bundles' returns empty object '{"bundles" : { }}' API Call '<jfrogurl>/artifactory/api/release/bundles/<RB_Name>' returns empty list '{"versions" : [ ]}'
This is because these APIs query for bundles are querying for bundles with the property type=Target and if you run these APIs on the source instance the property will be type=Source. Therefore these APIs will not work on a source instance