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:
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
id? Or maybe a way to expose this within the API?
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.