naftiko: 1.0.0-alpha2 info: label: Atlassian repositories/ — Repositories - Webhooks description: 'Atlassian repositories/ — Repositories - Webhooks. 5 operations. Lead operation: Atlassian List Webhooks For A Repository. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Repositories - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: repositories--repositories-webhooks baseUri: https://api.bitbucket.org/2.0 description: Atlassian repositories/ — Repositories - Webhooks business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-hooks path: /repositories/{workspace}/{repo_slug}/hooks operations: - name: atlassianlistwebhooksforarepository method: GET description: Atlassian List Webhooks For A Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassiancreateawebhookforarepository method: POST description: Atlassian Create A Webhook For A Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-hooks-uid path: /repositories/{workspace}/{repo_slug}/hooks/{uid} operations: - name: atlassiandeleteawebhookforarepository method: DELETE description: Atlassian Delete A Webhook For A Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassiangetawebhookforarepository method: GET description: Atlassian Get A Webhook For A Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianupdateawebhookforarepository method: PUT description: Atlassian Update A Webhook For A Repository outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: repositories--repositories-webhooks-rest port: 8080 description: REST adapter for Atlassian repositories/ — Repositories - Webhooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/hooks name: repositories-workspace-repo-slug-hooks description: REST surface for repositories-workspace-repo_slug-hooks. operations: - method: GET name: atlassianlistwebhooksforarepository description: Atlassian List Webhooks For A Repository call: repositories--repositories-webhooks.atlassianlistwebhooksforarepository outputParameters: - type: object mapping: $. - method: POST name: atlassiancreateawebhookforarepository description: Atlassian Create A Webhook For A Repository call: repositories--repositories-webhooks.atlassiancreateawebhookforarepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/hooks/{uid} name: repositories-workspace-repo-slug-hooks-uid description: REST surface for repositories-workspace-repo_slug-hooks-uid. operations: - method: DELETE name: atlassiandeleteawebhookforarepository description: Atlassian Delete A Webhook For A Repository call: repositories--repositories-webhooks.atlassiandeleteawebhookforarepository outputParameters: - type: object mapping: $. - method: GET name: atlassiangetawebhookforarepository description: Atlassian Get A Webhook For A Repository call: repositories--repositories-webhooks.atlassiangetawebhookforarepository outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdateawebhookforarepository description: Atlassian Update A Webhook For A Repository call: repositories--repositories-webhooks.atlassianupdateawebhookforarepository outputParameters: - type: object mapping: $. - type: mcp namespace: repositories--repositories-webhooks-mcp port: 9090 transport: http description: MCP adapter for Atlassian repositories/ — Repositories - Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-webhooks-repository description: Atlassian List Webhooks For A Repository hints: readOnly: true destructive: false idempotent: true call: repositories--repositories-webhooks.atlassianlistwebhooksforarepository outputParameters: - type: object mapping: $. - name: atlassian-create-webhook-repository description: Atlassian Create A Webhook For A Repository hints: readOnly: false destructive: false idempotent: false call: repositories--repositories-webhooks.atlassiancreateawebhookforarepository outputParameters: - type: object mapping: $. - name: atlassian-delete-webhook-repository description: Atlassian Delete A Webhook For A Repository hints: readOnly: false destructive: true idempotent: true call: repositories--repositories-webhooks.atlassiandeleteawebhookforarepository outputParameters: - type: object mapping: $. - name: atlassian-get-webhook-repository description: Atlassian Get A Webhook For A Repository hints: readOnly: true destructive: false idempotent: true call: repositories--repositories-webhooks.atlassiangetawebhookforarepository outputParameters: - type: object mapping: $. - name: atlassian-update-webhook-repository description: Atlassian Update A Webhook For A Repository hints: readOnly: false destructive: false idempotent: true call: repositories--repositories-webhooks.atlassianupdateawebhookforarepository outputParameters: - type: object mapping: $.