Dokploy

github

GET/github.one

github-one

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

githubId
Required
string

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

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

GET/github.getGithubRepositories

github-getGithubRepositories

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

githubId
Required
string

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

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

GET/github.getGithubBranches

github-getGithubBranches

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

repo
Required
string

Minimum length: 1

owner
Required
string

Minimum length: 1

githubIdstring

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

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

GET/github.githubProviders

github-githubProviders

Authorization

Authorization
Required
Bearer <token>

In: header

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

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

POST/github.testConnection

github-testConnection

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

githubId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/github.testConnection" \
  -d '{
  "githubId": "string"
}'

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

POST/github.update

github-update

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

githubId
Required
string

Minimum length: 1

githubAppNamestring | null

githubAppIdnumber | null

githubClientIdstring | null

githubClientSecretstring | null

githubInstallationIdstring | null

githubPrivateKeystring | null

githubWebhookSecretstring | null

gitProviderId
Required
string

Minimum length: 1

name
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/github.update" \
  -d '{
  "githubId": "string",
  "githubAppName": "string",
  "githubAppId": 0,
  "githubClientId": "string",
  "githubClientSecret": "string",
  "githubInstallationId": "string",
  "githubPrivateKey": "string",
  "githubWebhookSecret": "string",
  "gitProviderId": "string",
  "name": "string"
}'

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

On this page