Atlassian · Capability

Atlassian Bit Bucket Snippets API — Patch

Atlassian Bit Bucket Snippets API — Patch. 1 operations. Lead operation: Atlassian Get Snippet Patch Between Versions. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianPatch

What You Can Do

GET
Getsnippetpatchbetweenversions — Atlassian Get Snippet Patch Between Versions
/v1/snippets/{workspace}/{encoded-id}/{revision}/patch

MCP Tools

atlassian-get-snippet-patch-between

Atlassian Get Snippet Patch Between Versions

read-only idempotent

Capability Spec

bitbucket-snippets-patch.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Snippets API — Patch
  description: 'Atlassian Bit Bucket Snippets API — Patch. 1 operations. Lead operation: Atlassian Get Snippet Patch Between
    Versions. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Patch
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-snippets-patch
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Snippets API — Patch business capability. Self-contained, no shared references.
    resources:
    - name: snippets-workspace-encoded_id-revision-patch
      path: /snippets/{workspace}/{encoded_id}/{revision}/patch
      operations:
      - name: getsnippetpatchbetweenversions
        method: GET
        description: Atlassian Get Snippet Patch Between Versions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: bitbucket-snippets-patch-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Snippets API — Patch. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/snippets/{workspace}/{encoded-id}/{revision}/patch
      name: snippets-workspace-encoded-id-revision-patch
      description: REST surface for snippets-workspace-encoded_id-revision-patch.
      operations:
      - method: GET
        name: getsnippetpatchbetweenversions
        description: Atlassian Get Snippet Patch Between Versions
        call: bitbucket-snippets-patch.getsnippetpatchbetweenversions
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-snippets-patch-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Snippets API — Patch. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-snippet-patch-between
      description: Atlassian Get Snippet Patch Between Versions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-patch.getsnippetpatchbetweenversions
      outputParameters:
      - type: object
        mapping: $.