Skip to content

Storyblok space duplicating/cloning #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vietnguyengit opened this issue May 5, 2025 · 0 comments
Open

Storyblok space duplicating/cloning #182

vietnguyengit opened this issue May 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@vietnguyengit
Copy link

vietnguyengit commented May 5, 2025

Current behavior:

  • Can only clone duplicate spaces to "private" spaces.
  • No options to clone "installed apps", in particular, "Shared components" app. (parent_id)

Expected behavior:
be able to clone new space to "organization" spaces as well.

Steps to reproduce:
https://www.storyblok.com/docs/api/management/spaces/duplicate-a-space

Can you please confirm that cloning new spaces into "personal" spaces via the Management API is the only option for now? If so, how do I "move" newly cloned spaces to the organization's spaces via the Management API?

I tried to update the newly cloned space's org with the Update Space API, but it doesn't seem to work.

With the dashboard UI, I can manually clone new spaces into "Organization" spaces easily. But I can't do the same via the Management API, and I need to do that via the API.

Also, in the original space, I have installed the app "Shared Components" and defined the "parent" space with it. In the space object response (from the Retrieve Space API), I can see that the setting is in the parent_id field. But it looks like via the Management API, there are no options to clone the installed app. Simply force-updating the newly cloned spaces with the parent_id value isn't enough, I believe.

Can you please help if I missed something that's not in the Docs or if something is not yet implemented in the Management API?

Thank you.

@vietnguyengit vietnguyengit added the bug Something isn't working label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant