Since v1.16.0, Mockoon is storing each mock API's data in a separate file.
You can locate the folder in which the API data are stored by right-clicking on each environment and selecting "Show data file in explorer/finder":
You can move the data files to another folder by right-clicking on an environment and selecting "Move data file to folder":
Please note that the environment file will be copied to the new folder, and the original file will not be deleted. If you want to delete the original file, you will have to do it manually.
Mockoon can monitor data files' external changes and automatically reload the interface with the new information. This is particularly useful when you are editing the data files with an external editor or pulling changes from a git repository. You can activate this option in the settings:
Before version 1.16.0, all of your environments were stored in the same
environments.json file in the application data folder. The file was located in your operating system's user folder:
When updating to version 1.16.0, Mockoon automatically migrated the old
environments.json file (see below) and split it into as many files as you had environments. These files were created in the same
storage folder with incremental names:
⚠️ The automatic migration was dropped in version 5.0.0. If you are updating from v1.15.0, please first update to any version between v1.16.0 and v4.1.0, then to v5.0.0.