sessions
Read one file from an associated pull request base-to-head diff
get/api/v1/sessions/{sessionId}/pr/{prNumber}/file
Path parameters
sessionIdstring required
Session identifier, e.g. project-1.
Session identifier, e.g. project-1.
prNumberinteger required
Associated pull request number.
Associated pull request number.
Query parameters
pathstring required
Repository-relative file path.
Repository-relative file path.
previousPathstring
Previous repository-relative path supplied by the selected PR file summary for rename detection.
Previous repository-relative path supplied by the selected PR file summary for rename detection.
sourceUrlstring
Stable URL of the selected associated pull request.
Stable URL of the selected associated pull request.
Response
OK
Changes
Changed in 1 of the 168 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○