Create checkpoint
Saves the app’s current state as a new checkpoint, so you can return to it later with Restore checkpoint.
A checkpoint records the app’s committed code, its entity schemas and its backend functions. Nothing is saved when the app has not changed since its most recent checkpoint: you get a 200 with created set to false and reason set to no_changes, and the checkpoint you already have stands.
Saving a checkpoint starts its preview build in the background. Poll List checkpoints and watch the new checkpoint’s preview_status to see when the preview is ready.
Authorizations
Personal API key.
Path Parameters
ID of the app.
Body
Name for the checkpoint, shown in the app's version history. Send a non-empty value: an empty string is not stored, and the checkpoint is named after the app's most recent chat message instead.
"Before pricing rework"
Response
Whether a checkpoint was saved, and its ID if one was.
Whether a checkpoint was saved. false means the app has not changed since its most recent checkpoint, so there was nothing to save.
true
ID of the checkpoint that was saved, or null when created is false. Pass it as checkpoint_id to Deploy an app to publish this version, or as checkpoint_id to Restore checkpoint to return to it.
"6886b8d390dc7e2f4a2c91b3"
Why nothing was saved. no_changes is the only value, and it is null when created is true.
"no_changes"