The above is the result that I got when I call the registrations route, I have uploaded the photos and integrate with S3. In the response, I got the media showing the id only. How can I try to achieve showing the url of related images.
Below is my media components,
I’m really appreciate for your comment. I’ve tried api/upload/files/:id before and I have only the file by the id which are not related to the resources here, GET api/registrations. This is my concern to know how I can retrieve the media by id from GET api/registrations. The id here 1 doesn’t represent the file in the api/upload/files route.
Hi there i am also intrested about this
Here is a nice guide to population by strapi
I made some helper functions for the process itself but I am with the same tools qs query ect.
I ran into this @William_Kyaw when I escalated a media (image) as a resusable component
even populate: “*” gave back only id: number inside the media {}. There is no data {} to crawl further.
If i throw the image to the root (or anywhere) as a new element it be seen nicely.
I tried nested population ect.
If this is solved somehow would be great to know how.