Atlassian · Capability

Atlassian Bitbucket API — Webhooks

Atlassian Bitbucket API — Webhooks. 2 operations. Lead operation: Atlassian Get A Webhook Resource. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianWebhooks

What You Can Do

GET
Atlassiangetawebhookresource — Atlassian Get A Webhook Resource
/v1/hook-events
GET
Atlassianlistsubscribablewebhooktypes — Atlassian List Subscribable Webhook Types
/v1/hook-events/{subject-type}

MCP Tools

atlassian-get-webhook-resource

Atlassian Get A Webhook Resource

read-only idempotent
atlassian-list-subscribable-webhook-types

Atlassian List Subscribable Webhook Types

read-only idempotent

Capability Spec

bitbucket-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bitbucket API — Webhooks
  description: 'Atlassian Bitbucket API — Webhooks. 2 operations. Lead operation: Atlassian Get A Webhook Resource. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-webhooks
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bitbucket API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: hook_events
      path: /hook_events
      operations:
      - name: atlassiangetawebhookresource
        method: GET
        description: Atlassian Get A Webhook Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: hook_events-subject_type
      path: /hook_events/{subject_type}
      operations:
      - name: atlassianlistsubscribablewebhooktypes
        method: GET
        description: Atlassian List Subscribable Webhook Types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-webhooks-rest
    port: 8080
    description: REST adapter for Atlassian Bitbucket API — Webhooks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/hook-events
      name: hook-events
      description: REST surface for hook_events.
      operations:
      - method: GET
        name: atlassiangetawebhookresource
        description: Atlassian Get A Webhook Resource
        call: bitbucket-webhooks.atlassiangetawebhookresource
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hook-events/{subject-type}
      name: hook-events-subject-type
      description: REST surface for hook_events-subject_type.
      operations:
      - method: GET
        name: atlassianlistsubscribablewebhooktypes
        description: Atlassian List Subscribable Webhook Types
        call: bitbucket-webhooks.atlassianlistsubscribablewebhooktypes
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bitbucket API — Webhooks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-get-webhook-resource
      description: Atlassian Get A Webhook Resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-webhooks.atlassiangetawebhookresource
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-subscribable-webhook-types
      description: Atlassian List Subscribable Webhook Types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-webhooks.atlassianlistsubscribablewebhooktypes
      outputParameters:
      - type: object
        mapping: $.