Get related entity of media files if associated with repeatable component

I need to retrieve a list of all media files which are connected to any entity. It works fine for files connected to collections or single types as there is a list of related entities under the attribute “related” when adding “populate=*” to the REST api query (/api/upload/files).

However, if a media file is only connected to a repeatable component and not directly to the highest level of a collection or single type, the “related” attribute does not appear. Is there any way to get information about those associations via REST api?