sessions
Read one file from an associated pull request base-to-head diff
Changed onget/api/v1/sessions/{sessionId}/pr/{prNumber}/file
Request
- Base URLhttp://127.0.0.1:3001
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
Session identifier, e.g. project-1.
prNumberinteger required
Associated pull request number.
Query parameters
pathstring required
Repository-relative file path.
previousPathstring
Previous repository-relative path supplied by the selected PR file summary for rename detection.
sourceUrlstring
Stable URL of the selected associated pull request.
commitShastring
Exact SHA of one of the pull request's commits; reads that commit's change instead of the whole pull request.
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
- info
added the optional property
to the response with the status
- info