Correlate the id of an image within the writing room and that of an URL?

Is there a way to correlate a photo's internal id used by Prismic and the info we get via the API?

For example, this image has the following URL on Prismic:

https://thirdfort.prismic.io/medias/?open=Y2JlpxAAACAAHUxI

but we can this URL from the API:


How do both correlate and is there a way to reverse engineer the URL to get the Y2JlpxAAACAAHUxI id? Or maybe a way to expose this within the API?

Hey @Kris,

This is an interesting question!

We don't have any API for the media library, and I don't know what the ID in the Media Library URL references. So, I doubt that there's any way to generate the Media Library URL.

I'll mark this as a feature request for when we revisit the Media Library.

Sam