repos

Stage all session workspace changes and create a git commit with the given message.

Stage all session workspace changes and create a git commit with the given message. This is the file-level repo session API: use repoRebaseSession to merge from the published default branch. There is no git-command channel; branch, checkout, and remote operations are not available in sessions (use the git lane via packageGetGitRemote for full git). Whitespace-only commit messages are rejected.

Org permission: package:write.

post/v1/repo-sessions/{session_id}/commits

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/repo-sessions/{session_id}/commits
  • Auth: HTTP bearer

Path parameters

session_idstring required

Active repo session id from repoOpenSession or repoListSessions.

Request body

messagestring required

Commit message. Whitespace-only messages are rejected.

Response

Success.

oidstring required
messagestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.