Skip to main content
POST
Create Gitea integration

Authorizations

Authorization
string
header
required

API key or session token (Bearer)

Path Parameters

projectId
string
required

Body

application/json
baseUrl
string
required
Minimum string length: 1
repositoryOwner
string
required
Minimum string length: 1
repositoryName
string
required
Minimum string length: 1
accessToken
string

Omit to keep the token already stored for this project.

Response

object | null

The stored integration

id
string
required
projectId
string
required
baseUrl
string
required

Root URL of the Gitea instance.

repositoryOwner
string
required
repositoryName
string
required
maskedAccessToken
string
required
isActive
boolean | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
webhookUrl
string

Where Gitea should POST events for this project.

webhookSecret
string

Only returned to callers with workspace:manage_settings, so the value can be pasted into Gitea.

branchPattern
string

When on, Kaneo comments a link back to the task on the linked Gitea issue.