Projects

Convert an existing project to store its configuration in version control.

post/{spaceId}/projects/{projectId}/git/convert

Request

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

Request body

ChangeDescriptionstring required
CommitMessagestring
InitialCommitBranchNamestring
ProjectIdstring required
SpaceIdstring required

The ID of the space containing the resource(s).

Example request

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

Response

Empty response indicating the Project was converted

ConvertProjectToVersionControlledResponse required

Changes

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