How to access an edited version of a story from a release?
Appending the query parameter
from_release=YOUR_RELEASE_ID will allow you to access the content of one or multiple stories depending on your API request.
Your release id can be found in the URL if you’re in a specific release at app.storyblok.com.
Getting the release id programmatically
To decide if you should append the from_release query parameter you can look for the parameter
_storyblok_release=YOUR_RELEASE_ID which we add to the URL in the side by side editor / live preview. You can use the value of this parameter instead of hardcoding the release id.