Branches
Get a Git commit by hash
Gets a git commit for a project.
get/{spaceId}/projects/{projectId}/git/commits/{hash}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/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
spaceIdstring required
The ID of the space containing the resource(s).
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.