Projects

Test the Git settings to make sure we can connect.

post/projects/{projectId}/git/connectivity-test

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/projects/{projectId}/git/connectivity-test
  • 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

Request body

BasePathstring required
DefaultBranchstring required
ProjectIdstring required
SpaceIdstring required
Urlstring required

Example request

{
  "ProjectId": "Projects-1",
  "SpaceId": "Spaces-1"
}

Response

The results from testing git settings.

Changes

No recorded changes to this operation across all 13 revisions of this API.