Report this

What is the reason for this report?

Strapi Media URL

Posted on May 20, 2020

After I used the One-Click-Install, the Strapi API responds the media URLs as something like “url:‘/uploads/thumbnail.png’”. I would like to get the complete URL that links to my file as value for “url”. For example: “url:‘https://example.org/uploads/thumbnail.png’”

The official strapi documentation (https://strapi.io/documentation/3.0.0-beta.x/content-api/api-endpoints.html#get-entries) shows the full URL as response as default. How can I achieve this with the one-click installation?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
0

Hey there! I pinged the Strapi team about this and they said:

*"Thank you for notifying us John, if possible can you direct these users to open up discussions on the Strapi Github Discussions: https://github.com/strapi/strapi/discussions

Just so we can promptly track and answer these questions."*

Hope that helps! Let me know if we can help with anything else.

John (Product Manager @ DigitalOcean Marketplace)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.