v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Get commits for a pull request

get/repos/{owner}/{repo}/pulls/{index}/commits

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

indexinteger required

index of the pull request to get

Query parameters

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

verificationboolean

include verification for every commit (disable for speedup, default 'true')

filesboolean

include a list of affected files for every commit (disable for speedup, default 'true')

Response

CommitList

createdstring date-time

Created is the time when the commit was created

html_urlstring

HTMLURL is the web URL for viewing the commit

shastring

SHA is the commit SHA hash

urlstring

URL is the API URL for the commit