Projects
Validate the provided git ref
post/{spaceId}/projects/{projectId}/git/validate
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/projects/{projectId}/git/validate
- 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
projectIdstring required
ID of the Project
Request body
Example request
{
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Response
Validated Git ref or error message
Example response
{
"ValidatedGitRef": {
"Links": {
"Self": "/api/..."
}
}
}Changes
No recorded changes to this operation across all 13 revisions of this API.