createRepoCommit
Commit the branch's uncommitted changes with a message, and optional co_authors by user id.
POST
/repos/{repo_id}/branches/{branch}/commitsPath parameters
Request body JSON required
Returns
201
Commit
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 | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- RepoNotFoundEncoded
409
EmptyCommit | RepoArchived
JSON
One of the following:
- EmptyCommitEncoded
- RepoArchivedEncoded
413
WriteTooLarge | RequestBodyTooLarge
JSON
One of the following:
- WriteTooLargeEncoded
- RequestBodyTooLargeEncoded
422
DuplicateAuthor | CommitRefused
JSON
One of the following:
- DuplicateAuthorEncoded
- CommitRefusedEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded