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

# Projekte mit Teamzugriff auflisten

> Löst die Projekte auf, auf die das Team über explizite Zuweisung, Projekt-Tags oder Repository-URL-Fragmente Zugriff hat. Über `sources` sehen Sie alle zutreffenden Zugriffswege.



## OpenAPI

````yaml /de/api-reference/openapi.json get /teams/{team_id}/projects
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: >-
    API für die Interaktion mit den Scan- und
    Schwachstellenmanagement-Funktionen von Corgea
servers:
  - url: https://www.corgea.app/api/v1
    description: Produktionsserver
  - url: https://eu.corgea.app/api/v1
    description: EU-Produktionsserver
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /teams/{team_id}/projects:
    parameters:
      - name: team_id
        in: path
        required: true
        description: Team-ID
        schema:
          type: integer
    get:
      tags:
        - Teams
      summary: Projekte mit Teamzugriff auflisten
      description: >-
        Löst die Projekte auf, auf die das Team über explizite Zuweisung,
        Projekt-Tags oder Repository-URL-Fragmente Zugriff hat. Über `sources`
        sehen Sie alle zutreffenden Zugriffswege.
      operationId: listTeamProjects
      responses:
        '200':
          description: Aufgelöste Teamprojekte erfolgreich abgerufen
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamProjectsResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Team nicht gefunden
components:
  schemas:
    TeamProjectsResponse:
      type: object
      required:
        - team_id
        - project_count
        - projects
      properties:
        team_id:
          type: integer
        project_count:
          type: integer
        projects:
          type: array
          items:
            $ref: '#/components/schemas/TeamProject'
    TeamProject:
      type: object
      required:
        - id
        - name
        - repo_url
        - tags
        - source
        - sources
      properties:
        id:
          type: integer
        name:
          type: string
        repo_url:
          type: string
          format: uri
          nullable: true
        tags:
          type: array
          items:
            type: string
        source:
          type: string
          description: Primäre Quelle der Übereinstimmung.
          enum:
            - explicit
            - tag
            - repo_url
        sources:
          type: array
          description: Alle Zugriffswege, über die dieses Projekt zutrifft.
          items:
            type: string
            enum:
              - explicit
              - tag
              - repo_url
  responses:
    Unauthorized:
      description: Ungültiges oder fehlendes Token
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Missing or invalid authorization header
    Forbidden:
      description: Zugriff verweigert oder Feature nicht verfügbar
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Permission denied
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: >-
        API-Key für die Authentifizierung API-Tokens inaktiver Benutzer werden
        abgelehnt.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2-Access-Token (JWT) im Authorization-Header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.