repos
Restore one or more workspace files to their content at a commit (default: the session base commit).
Restore one or more workspace files to their content at a commit (default: the session base commit). 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). Restoration is all-or-nothing across the requested paths.
Org permission: package:write.
post/v1/repo-sessions/{session_id}/restore
Request
- Base URL: https://api.kody.codes
- URL: https://api.kody.codes/v1/repo-sessions/{session_id}/restore
- 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 3 revisions of this API.