Projects

Convert all Runbooks to be stored in Git rather than the database.

post/spaces/{spaceIdentifier}/projects/{projectId}/git/migrate-runbooks

Request

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

spaceIdentifierstring required

Identifier (ID or slug) of the space

projectIdstring required

Request body

Branchstring

Branch to commit the migrated Runbooks to. Required if there are Runbooks to migrate.

CommitMessagestring

Commit message to use when committing the migrated Runbooks to Git. Required if there are Runbooks to migrate

CreateBranchboolean
ProjectIdstring required
SpaceIdstring required

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

Example request

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

Response

Indicates that the project runbooks were converted to Git

ServerTaskIdstring

Example response

{
  "ServerTaskId": "ServerTasks-1"
}

Changes

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