API Versioning
> Save versions of your routes and functions so you can track changes and roll back if needed.
Brickr automatically tracks versions every time you deploy a route or publish a function.
Route versions
Each time you save and deploy a route, Brickr creates a new version of its flow configuration. You can view and restore previous versions from the Builder.
Viewing version history
1. Open a route in the Builder. 2. Open the version selector in the toolbar. 3. Browse the list of deployed versions.
Each version entry shows when it was deployed.
Restoring a previous version
Select a version from the history to load it into the Builder. Save and deploy to make it the active version.
Before making a big change to a route, note the current version number. If something goes wrong after deploying, you can quickly restore the previous version.
Function versions
Functions use explicit version numbers (v1, v2, v3) that you control by clicking Publish. See Functions Deep-Dive for details on function versioning.
What's next?
| Topic | Description | |-------|-------------| | Creating Routes | Route setup | | Functions Deep-Dive | Function versioning and publishing | | Routes | Route configuration |