api: merged GetPackages with GetPackageWithAttributes.