The Apps API is in beta. Its endpoints and responses may change.
What a checkpoint holds
A checkpoint records the app’s committed code, its entity schemas, and its backend functions. Restore checkpoint rolls the code back to the checkpoint’s commit, redeploys the backend functions from that code, and restores the entity schemas the checkpoint saved.Deploying a checkpoint
To publish a specific checkpoint, pass itsid as checkpoint_id to Deploy an app. If a checkpoint’s preview_status in List checkpoints is failed, use Retry checkpoint build to start its preview build again.
Endpoints
- List checkpoints: List the app’s checkpoints, newest first.
- Create checkpoint: Save the app’s current state as a new checkpoint.
- Restore checkpoint: Return the app to a saved checkpoint.
- Retry checkpoint build: Start a new preview build for a checkpoint.
- Get checkpoint files: Read the source files saved in a checkpoint.