Share a collection
Export Collection… saves the collection you have open as one file. Give it to someone else who uses korAPI; they bring it in with Import…. To work on the same collection together over time, put its folder in Git instead (see Collections are folders).
Export
Section titled “Export”Choose Export Collection… in the File menu, the collection’s menu or Search or Run… (⌘K (Ctrl+K)).
- Version (optional, up to 50 characters), for example
1.2. - Remark (optional, up to 2,000 characters): what changed, or what the collection is for.
- Lock with a password (ZIP): the file becomes a ZIP locked with AES-256. The password needs at least 8 characters, typed twice. Send it some other way than the file.
The suggested name is the collection’s name and the version, such as Shop 1.2.json or Shop 1.2.zip. The file holds
every request, folder, environment, load test and flow in the collection folder, up to 100 MB.
Import
Section titled “Import”Choose Import… (⇧⌘I (Ctrl+Shift+I)) and pick the .json or .zip file.
- A locked file asks for its password.
- korAPI shows the collection’s name, version, when it was exported, the app version that made it and the remark.
- Choose where to keep the collection: a new folder, or an empty one.
The collection then opens, with the import report.
Secrets stay behind
Section titled “Secrets stay behind”Secret values never go into the file, locked or not. They stay in the system keychain of the person who exported. After an import, secret variables and auth fields are empty, and the report says how many to fill in.
Opening the ZIP without korAPI
Section titled “Opening the ZIP without korAPI”7-Zip, Keka and WinRAR open the ZIP with its password. The macOS Finder cannot open a ZIP locked with AES-256.