Dokploy
Generated

Gitlab

POST
/gitlab.create

Gitlab create

/gitlab.create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

gitlabIdstring

applicationIdstring

redirectUristring

secretstring

accessTokenstring | null

refreshTokenstring | null

groupNamestring

expiresAtnumber | null

gitProviderIdstring

authId
Required
string

Minimum length: 1

name
Required
string

Minimum length: 1
curl -X POST "http://your-dokploy-instance.com/api/gitlab.create" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "gitlabId": "string",
    "applicationId": "string",
    "redirectUri": "string",
    "secret": "string",
    "accessToken": "string",
    "refreshToken": "string",
    "groupName": "string",
    "expiresAt": 0,
    "gitProviderId": "string",
    "authId": "string",
    "name": "string"
  }'

Successful response

GET
/gitlab.one

Gitlab one

/gitlab.one

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

gitlabId
Required
string

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

Successful response

GET
/gitlab.gitlabProviders

Gitlab gitlab Providers

/gitlab.gitlabProviders

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

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

Successful response

GET
/gitlab.getGitlabRepositories

Gitlab get Gitlab Repositories

/gitlab.getGitlabRepositories

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

gitlabId
Required
string

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

Successful response

GET
/gitlab.getGitlabBranches

Gitlab get Gitlab Branches

/gitlab.getGitlabBranches

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

idnumber

owner
Required
string

repo
Required
string

gitlabIdstring

curl -X GET "http://your-dokploy-instance.com/api/gitlab.getGitlabBranches?id=0&owner=string&repo=string&gitlabId=string" \
  -H "Authorization: Bearer <token>"

Successful response

POST
/gitlab.testConnection

Gitlab test Connection

/gitlab.testConnection

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

gitlabIdstring

groupNamestring

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

Successful response

POST
/gitlab.update

Gitlab update

/gitlab.update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

gitlabId
Required
string

Minimum length: 1

applicationIdstring

redirectUristring

secretstring

accessTokenstring | null

refreshTokenstring | null

groupNamestring

expiresAtnumber | null

gitProviderId
Required
string

name
Required
string

Minimum length: 1
curl -X POST "http://your-dokploy-instance.com/api/gitlab.update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "gitlabId": "string",
    "applicationId": "string",
    "redirectUri": "string",
    "secret": "string",
    "accessToken": "string",
    "refreshToken": "string",
    "groupName": "string",
    "expiresAt": 0,
    "gitProviderId": "string",
    "name": "string"
  }'

Successful response