Dokploy

bitbucket

POST/bitbucket.create

bitbucket-create

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

bitbucketIdstring

bitbucketUsernamestring

appPasswordstring

bitbucketWorkspaceNamestring

gitProviderIdstring

authId
Required
string

Minimum length: 1

name
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/bitbucket.create" \
  -d '{
  "bitbucketId": "string",
  "bitbucketUsername": "string",
  "appPassword": "string",
  "bitbucketWorkspaceName": "string",
  "gitProviderId": "string",
  "authId": "string",
  "name": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/bitbucket.one

bitbucket-one

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

bitbucketId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/bitbucket.one?bitbucketId=string"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/bitbucket.bitbucketProviders

bitbucket-bitbucketProviders

Authorization

Authorization
Required
Bearer <token>

In: header

Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/bitbucket.bitbucketProviders"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/bitbucket.getBitbucketRepositories

bitbucket-getBitbucketRepositories

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

bitbucketId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/bitbucket.getBitbucketRepositories?bitbucketId=string"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/bitbucket.getBitbucketBranches

bitbucket-getBitbucketBranches

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

owner
Required
string

repo
Required
string

bitbucketIdstring

Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/bitbucket.getBitbucketBranches?owner=string&repo=string&bitbucketId=string"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/bitbucket.testConnection

bitbucket-testConnection

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

bitbucketId
Required
string

Minimum length: 1

bitbucketUsernamestring

workspaceNamestring

Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/bitbucket.testConnection" \
  -d '{
  "bitbucketId": "string",
  "bitbucketUsername": "string",
  "workspaceName": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/bitbucket.update

bitbucket-update

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

bitbucketId
Required
string

Minimum length: 1

bitbucketUsernamestring

appPasswordstring | null

bitbucketWorkspaceNamestring

gitProviderId
Required
string

name
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/bitbucket.update" \
  -d '{
  "bitbucketId": "string",
  "bitbucketUsername": "string",
  "appPassword": "string",
  "bitbucketWorkspaceName": "string",
  "gitProviderId": "string",
  "name": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

On this page