Branches
Get a Git commit by hash
Gets a git commit for a project.
get/projects/{projectId}/git/commits/{hash}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/projects/{projectId}/git/commits/{hash}
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
projectIdstring required
ID of the project
hashstring required
Hash of the commit
Response
The requested Commit
Example response
{
"Links": {
"Self": "/api/..."
}
}Changes
No recorded changes to this operation across all 13 revisions of this API.