naftiko: 1.0.0-alpha2 info: label: Qovery API — Organization Account Git Repositories description: 'Qovery API — Organization Account Git Repositories. 7 operations. Lead operation: Get bitbucket repositories of the connected user. Self-contained Naftiko capability covering one Qovery business surface.' tags: - Qovery - Organization Account Git Repositories created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QOVERY_API_KEY: QOVERY_API_KEY capability: consumes: - type: http namespace: qovery-organization-account-git-repositories baseUri: https://api.qovery.com description: Qovery API — Organization Account Git Repositories business capability. Self-contained, no shared references. resources: - name: organization-organizationId-account-bitbucket-repository path: /organization/{organizationId}/account/bitbucket/repository operations: - name: getorganizationbitbucketrepositories method: GET description: Get bitbucket repositories of the connected user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gitTokenId in: query type: string description: The git token id that must be used for the application - name: organization-organizationId-account-bitbucket-repository-branch path: /organization/{organizationId}/account/bitbucket/repository/branch operations: - name: getorganizationbitbucketrepositorybranches method: GET description: Get bitbucket branches of the specified repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: The name of the repository where to retrieve the branches - name: gitTokenId in: query type: string description: The git token id that must be used for the application - name: organization-organizationId-account-gitAuthProvider path: /organization/{organizationId}/account/gitAuthProvider operations: - name: getorganizationgitprovideraccount method: GET description: Get git provider accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organization-organizationId-account-github-repository path: /organization/{organizationId}/account/github/repository operations: - name: getorganizationgithubrepositories method: GET description: Get github repositories of the connected user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gitTokenId in: query type: string description: The git token id that must be used for the application - name: organization-organizationId-account-github-repository-branch path: /organization/{organizationId}/account/github/repository/branch operations: - name: getorganizationgithubrepositorybranches method: GET description: Get github branches of the specified repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: The name of the repository where to retrieve the branches - name: gitTokenId in: query type: string description: The git token id that must be used for the application - name: organization-organizationId-account-gitlab-repository path: /organization/{organizationId}/account/gitlab/repository operations: - name: getorganizationgitlabrepositories method: GET description: Get gitlab repositories of the connected user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: gitTokenId in: query type: string description: The git token id that must be used for the application - name: organization-organizationId-account-gitlab-repository-branch path: /organization/{organizationId}/account/gitlab/repository/branch operations: - name: getorganizationgitlabrepositorybranches method: GET description: Get gitlab branches of the specified repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: The name of the repository to retrieve the branches - name: gitTokenId in: query type: string description: The git token id that must be used for the application authentication: type: bearer token: '{{env.QOVERY_API_KEY}}' exposes: - type: rest namespace: qovery-organization-account-git-repositories-rest port: 8080 description: REST adapter for Qovery API — Organization Account Git Repositories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organization/{organizationid}/account/bitbucket/repository name: organization-organizationid-account-bitbucket-repository description: REST surface for organization-organizationId-account-bitbucket-repository. operations: - method: GET name: getorganizationbitbucketrepositories description: Get bitbucket repositories of the connected user call: qovery-organization-account-git-repositories.getorganizationbitbucketrepositories with: gitTokenId: rest.gitTokenId outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/account/bitbucket/repository/branch name: organization-organizationid-account-bitbucket-repository-branch description: REST surface for organization-organizationId-account-bitbucket-repository-branch. operations: - method: GET name: getorganizationbitbucketrepositorybranches description: Get bitbucket branches of the specified repository call: qovery-organization-account-git-repositories.getorganizationbitbucketrepositorybranches with: name: rest.name gitTokenId: rest.gitTokenId outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/account/gitauthprovider name: organization-organizationid-account-gitauthprovider description: REST surface for organization-organizationId-account-gitAuthProvider. operations: - method: GET name: getorganizationgitprovideraccount description: Get git provider accounts call: qovery-organization-account-git-repositories.getorganizationgitprovideraccount outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/account/github/repository name: organization-organizationid-account-github-repository description: REST surface for organization-organizationId-account-github-repository. operations: - method: GET name: getorganizationgithubrepositories description: Get github repositories of the connected user call: qovery-organization-account-git-repositories.getorganizationgithubrepositories with: gitTokenId: rest.gitTokenId outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/account/github/repository/branch name: organization-organizationid-account-github-repository-branch description: REST surface for organization-organizationId-account-github-repository-branch. operations: - method: GET name: getorganizationgithubrepositorybranches description: Get github branches of the specified repository call: qovery-organization-account-git-repositories.getorganizationgithubrepositorybranches with: name: rest.name gitTokenId: rest.gitTokenId outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/account/gitlab/repository name: organization-organizationid-account-gitlab-repository description: REST surface for organization-organizationId-account-gitlab-repository. operations: - method: GET name: getorganizationgitlabrepositories description: Get gitlab repositories of the connected user call: qovery-organization-account-git-repositories.getorganizationgitlabrepositories with: gitTokenId: rest.gitTokenId outputParameters: - type: object mapping: $. - path: /v1/organization/{organizationid}/account/gitlab/repository/branch name: organization-organizationid-account-gitlab-repository-branch description: REST surface for organization-organizationId-account-gitlab-repository-branch. operations: - method: GET name: getorganizationgitlabrepositorybranches description: Get gitlab branches of the specified repository call: qovery-organization-account-git-repositories.getorganizationgitlabrepositorybranches with: name: rest.name gitTokenId: rest.gitTokenId outputParameters: - type: object mapping: $. - type: mcp namespace: qovery-organization-account-git-repositories-mcp port: 9090 transport: http description: MCP adapter for Qovery API — Organization Account Git Repositories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-bitbucket-repositories-connected-user description: Get bitbucket repositories of the connected user hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationbitbucketrepositories with: gitTokenId: tools.gitTokenId outputParameters: - type: object mapping: $. - name: get-bitbucket-branches-specified-repository description: Get bitbucket branches of the specified repository hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationbitbucketrepositorybranches with: name: tools.name gitTokenId: tools.gitTokenId outputParameters: - type: object mapping: $. - name: get-git-provider-accounts description: Get git provider accounts hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationgitprovideraccount outputParameters: - type: object mapping: $. - name: get-github-repositories-connected-user description: Get github repositories of the connected user hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationgithubrepositories with: gitTokenId: tools.gitTokenId outputParameters: - type: object mapping: $. - name: get-github-branches-specified-repository description: Get github branches of the specified repository hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationgithubrepositorybranches with: name: tools.name gitTokenId: tools.gitTokenId outputParameters: - type: object mapping: $. - name: get-gitlab-repositories-connected-user description: Get gitlab repositories of the connected user hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationgitlabrepositories with: gitTokenId: tools.gitTokenId outputParameters: - type: object mapping: $. - name: get-gitlab-branches-specified-repository description: Get gitlab branches of the specified repository hints: readOnly: true destructive: false idempotent: true call: qovery-organization-account-git-repositories.getorganizationgitlabrepositorybranches with: name: tools.name gitTokenId: tools.gitTokenId outputParameters: - type: object mapping: $.