OptionalcontextNumber of context lines to include around each change (default: 10)
OptionalpathLimit the diff to a specific file. When provided it is appended to the URL
as a path segment: .../diff/{path}. Omit to diff all files.
OptionalsinceOnly include changes introduced after this commit SHA
OptionalsrcThe previous path of the file, if the file has been copied, moved or renamed. Sent as a query parameter.
OptionalwhitespaceWhitespace handling: 'ignore-all'
Query parameters accepted by
GET /rest/api/latest/projects/{key}/repos/{slug}/commits/{id}/diff/{path}andGET /rest/api/latest/projects/{key}/repos/{slug}/pull-requests/{id}/diff/{path}.See
https://developer.atlassian.com/server/bitbucket/rest/v1003/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-commits-commitid-diff-path-get