Import a Story (XML)
https://mapi.storyblok.com/v1/spaces/:space_id/stories/:story_id/import.xmlImports content onto an existing story from an XML payload that has been exported from the Export a Story (XML) endpoint.
Path parameters
Section titled “Path parameters”:space_idrequired numberNumeric ID of a space
:story_idrequired numberThe numeric ID of the story
Query parameters
Section titled “Query parameters”versionstringDefault:
2. Possible values:1,2.lang_codestringA language code (required for translation imports)
import_langbooleanWhether to import content for the specified
lang_code. Iffalseor omitted, it will fall back to default language values.
Request body properties
Section titled “Request body properties”datarequired stringAn XML string with the same structure as the one exported from Export a Story (XML).
Response properties
Section titled “Response properties”storyThe Story ObjectA single story object
Examples
Section titled “Examples”Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community