GitHub
Get GitHub Commit
Get a single GitHub commit with the files it changed.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| ownerstring · required | string | required | Follows the GitHub App installation on the selected Account — one account per installation, so this lists exactly that owner. To use a different user or organization, connect it as its own Account (install the GitHub App there). |
| repostring · required | string | required | — |
| refstring · required | string | required | The one commit to fetch. Takes a full or shortened commit SHA, a branch name, or a tag — a branch or tag returns the commit it currently points at, which is how you get the latest commit on a branch. Unlike List GitHub Commits, this returns only this commit, never its ancestors. Example: |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "API response data"
}
}
}