Skip to content

Get the diff stat for a pull request

GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat

Redirects to the repository diffstat with the revspec that corresponds to the pull request.

pull_request_id
required
integer

The id of the pull request.

repo_slug
required
string

This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.

workspace
required
string

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

Redirects to the repository diffstat with the revspec that corresponds to pull request.