Atlassian · Capability

Atlassian Bit Bucket Workspaces API — Webhooks

Atlassian Bit Bucket Workspaces API — Webhooks. 5 operations. Lead operation: Atlassian List Webhooks for a Workspace. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianWebhooks

What You Can Do

GET
Atlassianlistwebhooksforaworkspace — Atlassian List Webhooks for a Workspace
/v1/workspaces/{workspace}/hooks
POST
Atlassiancreateawebhookforaworkspace — Atlassian Create a Webhook for a Workspace
/v1/workspaces/{workspace}/hooks
DELETE
Atlassiandeleteawebhookforaworkspace — Atlassian Delete a Webhook for a Workspace
/v1/workspaces/{workspace}/hooks/{uid}
GET
Atlassiangetawebhookforaworkspace — Atlassian Get a Webhook for a Workspace
/v1/workspaces/{workspace}/hooks/{uid}
PUT
Atlassianupdateawebhookforaworkspace — Atlassian Update a Webhook for a Workspace
/v1/workspaces/{workspace}/hooks/{uid}

MCP Tools

atlassian-list-webhooks-workspace

Atlassian List Webhooks for a Workspace

read-only idempotent
atlassian-create-webhook-workspace

Atlassian Create a Webhook for a Workspace

atlassian-delete-webhook-workspace

Atlassian Delete a Webhook for a Workspace

idempotent
atlassian-get-webhook-workspace

Atlassian Get a Webhook for a Workspace

read-only idempotent
atlassian-update-webhook-workspace

Atlassian Update a Webhook for a Workspace

idempotent

Capability Spec

bitbucket-workspaces-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Workspaces API — Webhooks
  description: 'Atlassian Bit Bucket Workspaces API — Webhooks. 5 operations. Lead operation: Atlassian List Webhooks for
    a Workspace. 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-workspaces-webhooks
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Workspaces API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: workspaces-workspace-hooks
      path: /workspaces/{workspace}/hooks
      operations:
      - name: atlassianlistwebhooksforaworkspace
        method: GET
        description: Atlassian List Webhooks for a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassiancreateawebhookforaworkspace
        method: POST
        description: Atlassian Create a Webhook for a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-hooks-uid
      path: /workspaces/{workspace}/hooks/{uid}
      operations:
      - name: atlassiandeleteawebhookforaworkspace
        method: DELETE
        description: Atlassian Delete a Webhook for a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassiangetawebhookforaworkspace
        method: GET
        description: Atlassian Get a Webhook for a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassianupdateawebhookforaworkspace
        method: PUT
        description: Atlassian Update a Webhook for a Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: bitbucket-workspaces-webhooks-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Workspaces API — Webhooks. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/workspaces/{workspace}/hooks
      name: workspaces-workspace-hooks
      description: REST surface for workspaces-workspace-hooks.
      operations:
      - method: GET
        name: atlassianlistwebhooksforaworkspace
        description: Atlassian List Webhooks for a Workspace
        call: bitbucket-workspaces-webhooks.atlassianlistwebhooksforaworkspace
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: atlassiancreateawebhookforaworkspace
        description: Atlassian Create a Webhook for a Workspace
        call: bitbucket-workspaces-webhooks.atlassiancreateawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/hooks/{uid}
      name: workspaces-workspace-hooks-uid
      description: REST surface for workspaces-workspace-hooks-uid.
      operations:
      - method: DELETE
        name: atlassiandeleteawebhookforaworkspace
        description: Atlassian Delete a Webhook for a Workspace
        call: bitbucket-workspaces-webhooks.atlassiandeleteawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: atlassiangetawebhookforaworkspace
        description: Atlassian Get a Webhook for a Workspace
        call: bitbucket-workspaces-webhooks.atlassiangetawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassianupdateawebhookforaworkspace
        description: Atlassian Update a Webhook for a Workspace
        call: bitbucket-workspaces-webhooks.atlassianupdateawebhookforaworkspace
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-workspaces-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Workspaces API — Webhooks. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-list-webhooks-workspace
      description: Atlassian List Webhooks for a Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-webhooks.atlassianlistwebhooksforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-create-webhook-workspace
      description: Atlassian Create a Webhook for a Workspace
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-workspaces-webhooks.atlassiancreateawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-webhook-workspace
      description: Atlassian Delete a Webhook for a Workspace
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-workspaces-webhooks.atlassiandeleteawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-webhook-workspace
      description: Atlassian Get a Webhook for a Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-webhooks.atlassiangetawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-webhook-workspace
      description: Atlassian Update a Webhook for a Workspace
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-webhooks.atlassianupdateawebhookforaworkspace
      outputParameters:
      - type: object
        mapping: $.