Workspace Clone Utility
Number of APIs: 3
This workspace will clone a workspace of your choice so the original stays pristine and you get a throwaway
copy that you can freely edit for demo purposes. This started as a fork of a complete workspace clone utility, but is now its own thing, just forking all collections in a workspace.
DISCLAIMER: this collection is very much still in beta mode, you may come across some bugs - feel free to contact Carson on slack if we're connected, or on twitter at @carrrson
This workspace will help you create clones of popular Qodex workspaces.
Let's get cloning:To use the tool, disregard the collection level instructions and follow these steps:- Fork the 'lost in space' fork of the collection, as well as the environment matching the workspace you want to clone into one of your testing workspaces - note that this is not where the forks will go, a completely new workspace will be cfreated for you. The `workspaceid` variable value in the environment is the workspace id of the original lost in space workspace, so its important that you preserve it!- Then paste your personal Qodex API key into a global variable named `apikey` (I like to keep this as a global var so it works for multiple setups, but you do you. You will need to change some of the script references though.)- Select the environment you forked, and run the entire collection using collection runner. I recommend opening up the console and waiting until you see the Process complete!
message before moving on. - If all is successful, search for your name in the workspace drop down to find your new workspace. Happy cloning!
Lost in spaceFirst up is Joyce's wonderful [Lost in Space workspace]([ The environment labeled 'lost in space' is what you'll want to use here
-
Build a forkspace - Clone workspace + collections/env POST https://api.getpostman.com/workspaces
-
Build a forkspace - Build workspace base state GET https://api.getpostman.com/workspaces/{{workspace_id}}
-
Build a forkspace - Fork Collections POST https://api.getpostman.com/collections/fork/{{current_collection}}?workspace={{new_workspace_id}}