No media id in API responses

Hi,

We are building a content portal for our content team. It looks like a table with each article in a row. In this row, we want to add main article image and especially - and hopefully - a link to the edition page of the image on Prismic, to add alt text or any missing information.

But in the API response on all documents query, we can't find the id of the media when it's imported in an article, to build the url with it. We only have the url of the image and no other information. Is there a way to get the media id or something to build the right page edit url? Or do you have this kind of features in your feature requests already?

Thanks

You can use content relationship fields to link to the edition page of an image. Using content relationship fields provides a flexible and dynamic way to connect your documents