Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:08:55 +0000.
Date:Thursday, 2 April 2015 15:53:25 UTC+1.
I am trying to create a versionless API by importing Blueprint. Problem is that I don’t seem to have that option on the import page, and if I import versioned, but then switch to versionles, all my endpoint configuration is lost.
Am I missing something here?
Imported Google Group message.
Date:Thursday, 2 April 2015 16:05:43 UTC+1.
You may have found an oversight on our part :-/
I beleive the importer will by default try to create a versioned API, but in the latest version of the dashboard switching to a non-versioned API will wipe your version data (this will be in the new designer, which needs to do this in order to keep all the views in sync).
The only way to switch the configuration would be to manipulate the mongoDB record directly. what you would need to do is:
- Change both the key name and the name field of the first version in version_data.versions to “Default”
- Set the not_versioned flag to True
If you open the api in your dashboard all the path data should now still be present.
Let me know how that goes.