Git Provider Connections
Commit files to a repository through one of your git connections
Changed onAdds a commit on top of the branch with the files given, using the token of a connection you own, so the push has exactly the access that token has. History is never rewritten. Another user's connection answers 404.
post/git-connections/{connection_id}/repositories/{owner}/{repo}/commits
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/git-connections/{connection_id}/repositories/{owner}/{repo}/commits
- Auth: HTTP bearer
Path parameters
connection_idinteger required
Connection ID
ownerstring required
Repository owner
repostring required
Repository name
Request body
Response
Files committed
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info