Branches
Get a Git named reference by name
Gets a named version control reference for a project.
get/{spaceId}/projects/{projectId}/git/refs/{refName}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/projects/{projectId}/git/refs/{refName}
- 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
refNamestring required
Name of the git reference
Response
The requested Named Git Reference
Example response
{
"Links": {
"Self": "/api/..."
}
}Changes
No recorded changes to this operation across all 13 revisions of this API.