createRepoCheckpoint
Name a commit, or a branch's head commit without its uncommitted changes. A checkpoint never moves, and a name a live checkpoint holds is refused.
POST
/repos/{repo_id}/checkpointsPath parameters
Request body JSON required
One of the following:
- CreateCheckpointAtBranchHead
- CreateCheckpointAtCommit
Returns
201
Checkpoint
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
BranchNotFound | CommitNotFound | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- CommitNotFoundEncoded
- RepoNotFoundEncoded
409
CheckpointExists | RepoArchived
JSON
One of the following:
- CheckpointExistsEncoded
- RepoArchivedEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded