Git Versions

GET /api/v1/git-versions/{user}/{repo}/branches/{branch}

Request

Path parameters

userstring required

The owner of the repository

repostring required

The repository

branchstring required

The target branch

Response

The newest commit on the branch

shastring required

The commit hash

shortShastring required

The shortened commit hash

timestampstring date-time required

The time the commit was created

Example response

{
  "sha": "5160ea16c15868251f97ba4489304f328caafa8c",
  "shortSha": "5160ea1"
}

Changes

No recorded changes to this operation across all 1 revision of this API.