Live article: https://www.storyblok.com/faq/how-to-access-an-edited-version-of-a-story-from-a-release
- FAQ
- 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.
/me/spaces/SPACE_ID/stories/BRANCH_ID/RELEASE_ID/index/STORY_ID
/me/spaces/1234/stories/0/138/index/41232
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.