Read one session workspace file and its git diff
Changed onRequest
- Base URLhttp://127.0.0.1:3001
- URLhttp://127.0.0.1:3001/api/v1/sessions/{sessionId}/workspace/file
- Authnone declared
Path parameters
Session identifier, e.g. project-1.
Query parameters
Read the immutable review snapshot instead of the live worktree.
Local or remote-tracking branch to read without checkout.
Associated pull request number.
Associated pull request URL.
Pinned source tip for snapshot reads. Must remain reachable from the selected source.
Pinned comparison base for snapshot reads.
Comma-separated selected commit SHAs.
Session-worktree-relative file path.
Git-state section the file was opened from (see WorkspaceFileSections). uncommitted diffs the worktree against HEAD; staged diffs the index against HEAD; unstaged diffs the worktree against the index; omitted/committed/untracked diff the worktree against the compare base.
Exact commit SHA to read as an immutable committed-scope snapshot.
Response
OK
Changes
- info
removed the
agent_switch_sagaenum value from theresponse property for the response status - info
removed the
agent_switch_sagaenum value from theresponse property for the response status - info
removed the
agent_switch_sagaenum value from theresponse property for the response status - info
removed the
agent_switch_sagaenum value from theresponse property for the response status - info
removed the
agent_switch_sagaenum value from theresponse property for the response status
- info
- info
added the new optional
queryrequest parameterbranch - info
added the new optional
queryrequest parametercommitShas - info
added the new optional
queryrequest parameterexpectedBaseSha - info
added the new optional
queryrequest parameterexpectedTipSha - info
added the new optional
queryrequest parameterprNumber - info
added the new optional
queryrequest parametersnapshot - info
added the new optional
queryrequest parametersourceUrl - info
added the new enum value
uncommittedto thequeryrequest parametersection - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info