I have a Global Single Type object which has two media fields: Logo and FooterLogo. I set the media fields via the Strapi Admin panel and now I am accessing this object via REST API and populating the media fields like this: /api/global?populate=FooterLogo,Logo
For some reason, the Logo field (but not the FooterLogo) field contains the huge buffer objects for the Small, Medium, and Large image formats. Thumbnail does not contain the buffer object. Any idea why this happens? Is there any documentation on how to not include the buffer object on media populatation? It is making my requests unnecessarily large.
This truly is such a pain. I’m getting product responses that are over 300K because of this. I’ve tried making the the field a privateAttribute… that doesn’t work. Can’t figure out a good qs (querystring) format, since the levels to turn this off are way too deep. Ugh. Strapi really does some weird things.
Hi, I wanted to clarify that the Strapi AWS S3 provider is compatible with other S3 providers such as DigitalOcean and is the only one maintained by the core team. It is great if using the Strapi AWS S3 provider solves this issue, but if not, I will try to find a solution we can add to the documentation.