workzone-cloud-server (0.0.1)

Download OpenAPI specification:Download

License: ISC

Workzone for Bitbucket cloud - server side

ListProjectSettings

path Parameters
workspace
required
string
projectId
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

ResetSettingsProject

path Parameters
workspace
required
string
projectId
required
string

Responses

CreateOrUpdateProjectSettings

path Parameters
workspace
required
string
projectId
required
string
id
required
string
Request Body schema: application/json
required
id
required
string
destination
string <= 128 characters
source
string <= 128 characters
deleteSourceBranch
required
boolean
autoMerge
required
boolean
object (ReviewSpec)
required
object

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "destination": "string",
  • "source": "string",
  • "deleteSourceBranch": true,
  • "autoMerge": true,
  • "reviewSpec": {
    },
  • "standard": {
    }
}

RemoveProjectSettings

path Parameters
workspace
required
string
projectId
required
string
id
required
string

Responses

CopySettingsFromWorkspace

path Parameters
workspace
required
string
projectId
required
string
Request Body schema: application/json
required
shouldCopy
required
boolean

Responses

Request samples

Content type
application/json
{
  • "shouldCopy": true
}

Response samples

Content type
application/json
[
  • {
    }
]

ListRepositorySettings

path Parameters
workspace
required
string
repository
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

SaveRepoSettings

path Parameters
workspace
required
string
repository
required
string
Request Body schema: application/json
required
Array
id
required
string
destination
string <= 128 characters
source
string <= 128 characters
deleteSourceBranch
required
boolean
autoMerge
required
boolean
object (ReviewSpec)
required
object

Responses

Request samples

Content type
application/json
[
  • {
    }
]

ResetSettingsRepository

path Parameters
workspace
required
string
repository
required
string

Responses

CreateOrUpdateRepoSettings

path Parameters
workspace
required
string
repository
required
string
id
required
string
Request Body schema: application/json
required
id
required
string
destination
string <= 128 characters
source
string <= 128 characters
deleteSourceBranch
required
boolean
autoMerge
required
boolean
object (ReviewSpec)
required
object

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "destination": "string",
  • "source": "string",
  • "deleteSourceBranch": true,
  • "autoMerge": true,
  • "reviewSpec": {
    },
  • "standard": {
    }
}

RemoveRepoSettings

path Parameters
workspace
required
string
repository
required
string
id
required
string

Responses

CopySettingsFromWorkspaceOrProject

path Parameters
workspace
required
string
projectId
required
string
repository
required
string
Request Body schema: application/json
required
shouldCopy
required
boolean

Responses

Request samples

Content type
application/json
{
  • "shouldCopy": true
}

Response samples

Content type
application/json
[
  • {
    }
]

ListWorkspaceSettings

path Parameters
workspace
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Save

path Parameters
workspace
required
string
Request Body schema: application/json
required
Array
id
required
string
destination
string <= 128 characters
source
string <= 128 characters
deleteSourceBranch
required
boolean
autoMerge
required
boolean
object (ReviewSpec)
required
object

Responses

Request samples

Content type
application/json
[
  • {
    }
]

CreateOrUpdate

path Parameters
workspace
required
string
id
required
string
Request Body schema: application/json
required
id
required
string
destination
string <= 128 characters
source
string <= 128 characters
deleteSourceBranch
required
boolean
autoMerge
required
boolean
object (ReviewSpec)
required
object

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "destination": "string",
  • "source": "string",
  • "deleteSourceBranch": true,
  • "autoMerge": true,
  • "reviewSpec": {
    },
  • "standard": {
    }
}

Remove

path Parameters
workspace
required
string
id
required
string

Responses