younifyd
Menu

Restore Story Version

Restore a story version

GET/v1/spaces/{space_id}/stories/{story_id}/restore_with

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Restore Story Version action (under Stories).
  3. Fill in the fields below, then reference the result from later steps as {{restoreStoryVersion.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

story_idintegerrequired

Numeric ID of the story.

Query parameters

versionstringrequired

ID of the story version (required).

versions_v2booleanrequired

true if the version is a new-style version, false for legacy (required).

Response

Returns 200 with an object. Read it in later steps with {{restoreStoryVersion.response.data.<field>}}.

storyobject
json
{
  "story": {}
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.

Was this page helpful?