Dokploy

Bitbucket

POST
/bitbucket.create

Bitbucket create

/bitbucket.create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

bitbucketIdstring

bitbucketUsernamestring

appPasswordstring

bitbucketWorkspaceNamestring

gitProviderIdstring

authId
Required
string

Minimum length: 1

name
Required
string

Minimum length: 1
curl -X POST "http://your-dokploy-instance.com/api/bitbucket.create" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "bitbucketId": "string",
    "bitbucketUsername": "string",
    "appPassword": "string",
    "bitbucketWorkspaceName": "string",
    "gitProviderId": "string",
    "authId": "string",
    "name": "string"
  }'

Successful response

GET
/bitbucket.one

Bitbucket one

/bitbucket.one

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

bitbucketId
Required
string

Minimum length: 1
curl -X GET "http://your-dokploy-instance.com/api/bitbucket.one?bitbucketId=string" \
  -H "Authorization: Bearer <token>"

Successful response

GET
/bitbucket.bitbucketProviders

Bitbucket bitbucket Providers

/bitbucket.bitbucketProviders

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

curl -X GET "http://your-dokploy-instance.com/api/bitbucket.bitbucketProviders" \
  -H "Authorization: Bearer <token>"

Successful response

GET
/bitbucket.getBitbucketRepositories

Bitbucket get Bitbucket Repositories

/bitbucket.getBitbucketRepositories

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

bitbucketId
Required
string

Minimum length: 1
curl -X GET "http://your-dokploy-instance.com/api/bitbucket.getBitbucketRepositories?bitbucketId=string" \
  -H "Authorization: Bearer <token>"

Successful response

GET
/bitbucket.getBitbucketBranches

Bitbucket get Bitbucket Branches

/bitbucket.getBitbucketBranches

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

owner
Required
string

repo
Required
string

bitbucketIdstring

curl -X GET "http://your-dokploy-instance.com/api/bitbucket.getBitbucketBranches?owner=string&repo=string&bitbucketId=string" \
  -H "Authorization: Bearer <token>"

Successful response

POST
/bitbucket.testConnection

Bitbucket test Connection

/bitbucket.testConnection

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

bitbucketId
Required
string

Minimum length: 1

bitbucketUsernamestring

workspaceNamestring

curl -X POST "http://your-dokploy-instance.com/api/bitbucket.testConnection" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "bitbucketId": "string",
    "bitbucketUsername": "string",
    "workspaceName": "string"
  }'

Successful response

POST
/bitbucket.update

Bitbucket update

/bitbucket.update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

bitbucketId
Required
string

Minimum length: 1

bitbucketUsernamestring

appPasswordstring | null

bitbucketWorkspaceNamestring

gitProviderId
Required
string

name
Required
string

Minimum length: 1

adminIdstring

curl -X POST "http://your-dokploy-instance.com/api/bitbucket.update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "bitbucketId": "string",
    "bitbucketUsername": "string",
    "appPassword": "string",
    "bitbucketWorkspaceName": "string",
    "gitProviderId": "string",
    "name": "string",
    "adminId": "string"
  }'

Successful response