Atlassian · Capability

Atlassian Bit Bucket Repositories API — Models

Atlassian Bit Bucket Repositories API — Models. 1 operations. Lead operation: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianModels

What You Can Do

GET
Gettheeffectiveorcurrentlyappliedbranchingmodelforrepository — Atlassian Get the Effective, or Currently Applied, Branching Model for Repository
/v1/repositories/{workspace}/{repo-slug}/effective-branching-model

MCP Tools

atlassian-get-effective-currently-applied

Atlassian Get the Effective, or Currently Applied, Branching Model for Repository

read-only idempotent

Capability Spec

bitbucket-repositories-models.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Models
  description: 'Atlassian Bit Bucket Repositories API — Models. 1 operations. Lead operation: Atlassian Get the Effective,
    or Currently Applied, Branching Model for Repository. Self-contained Naftiko capability covering one Atlassian business
    surface.'
  tags:
  - Atlassian
  - Models
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-repositories-models
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Models business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-effective-branching-model
      path: /repositories/{workspace}/{repo_slug}/effective-branching-model
      operations:
      - name: gettheeffectiveorcurrentlyappliedbranchingmodelforrepository
        method: GET
        description: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-models-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Models. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/effective-branching-model
      name: repositories-workspace-repo-slug-effective-branching-model
      description: REST surface for repositories-workspace-repo_slug-effective-branching-model.
      operations:
      - method: GET
        name: gettheeffectiveorcurrentlyappliedbranchingmodelforrepository
        description: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository
        call: bitbucket-repositories-models.gettheeffectiveorcurrentlyappliedbranchingmodelforrepository
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-models-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Models. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-effective-currently-applied
      description: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-models.gettheeffectiveorcurrentlyappliedbranchingmodelforrepository
      outputParameters:
      - type: object
        mapping: $.