The only way to get RPMs in the image is to call imageinfo - we might want to introduce new API call
/v1/image/$IMAGEID/content
which would provide json object
{
rpm: [ $rpmlist ]
}
this would provide us generic way to report content when we add more non-rpm content types