Get "context" (will always return content from the "after" version of the file) for a diff in code review

Get "context" (will always return content from the "after" version of the file) for a diff in code review

Path Params
integer
required

Id of the code review problem to get additional diff context for

Query Params
integer
required

Start line of the range of lines (relative to the "old" version of the diff) to get. Inclusive bound. Defaults to "1" if not provided.

integer
required

Max number of context lines to return

integer

Optionally include the id of the project this problem is associated with. Useful for ensuring user can access this problem and therefore its diff context.

string
required
integer
required

Start line of the range of lines (relative to the "new" version of the diff) to get. Inclusive bound. Defaults to "1" if not provided.

string
required
Responses

403

User has access to the problem, but they do not have it open.

404

Problem does not exist or user does not have access to it.

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json