repos
Apply a unified-diff patch to the active repo session workspace.
Apply a unified-diff patch to the active repo session workspace. 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). Patch application is all-or-nothing across files in the patch set and subject to the 10 MiB per-file limit on patched results.
Org permission: package:write.
post/v1/repo-sessions/{session_id}/patch
Request
- Base URL: https://api.kody.codes
- URL: https://api.kody.codes/v1/repo-sessions/{session_id}/patch
- Auth: HTTP bearer
Path parameters
session_idstring required
Active repo session id from repoOpenSession or repoListSessions.
Request body
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.