> ## Documentation Index
> Fetch the complete documentation index at: https://kaneo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Gitea integration

> Get the Gitea integration for a project, or null when none is configured. The webhook secret is included only for callers with workspace:manage_settings.



## OpenAPI

````yaml /openapi.json get /gitea-integration/project/{projectId}
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /gitea-integration/project/{projectId}:
    get:
      tags:
        - Gitea
      summary: Get Gitea integration
      description: >-
        Get the Gitea integration for a project, or null when none is
        configured. The webhook secret is included only for callers with
        workspace:manage_settings.
      operationId: getGiteaIntegration
      parameters:
        - schema:
            type: string
          required: true
          name: projectId
          in: path
      responses:
        '200':
          description: Gitea integration details, or null
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GiteaIntegration'
        '400':
          description: Unknown project, or its workspace could not be determined
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials
        '403':
          description: No access to the project's workspace
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    GiteaIntegration:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        projectId:
          type: string
        baseUrl:
          type: string
          description: Root URL of the Gitea instance.
        repositoryOwner:
          type: string
        repositoryName:
          type: string
        maskedAccessToken:
          type: string
        webhookUrl:
          type: string
          description: Where Gitea should POST events for this project.
        webhookSecret:
          type: string
          description: >-
            Only returned to callers with workspace:manage_settings, so the
            value can be pasted into Gitea.
        branchPattern:
          type: string
        commentTaskLinkOnGiteaIssue:
          type: boolean
          description: >-
            When on, Kaneo comments a link back to the task on the linked Gitea
            issue.
        isActive:
          type:
            - boolean
            - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - projectId
        - baseUrl
        - repositoryOwner
        - repositoryName
        - maskedAccessToken
        - isActive
        - createdAt
        - updatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````