Getting image url, based on their slug

I have a schema with images, and currently i’m getting the image id’s through the data model in the API.

But i’m wondering if there is a way to make the api return more information about the image, such as the slug since i would like to access the image by slug and not by the id for SEO purpose.

You can just use the endpoint directly: https://cloud.squidex.io/api/docs#operation/AssetContent_GetAssetContentBySlug

Yes, but the “problem” is when i fetch the object through the API i only have the Id, so i would have to do an additional request to get the slug.

Alternative i would have to GraphQL i guess.