Atlassian · Capability

Atlassian Bit Bucket Snippets API — Watching

Atlassian Bit Bucket Snippets API — Watching. 3 operations. Lead operation: Atlassian Stop Watching Snippet. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianWatching

What You Can Do

DELETE
Stopwatchingsnippet — Atlassian Stop Watching Snippet
/v1/snippets/{workspace}/{encoded-id}/watch
GET
Checkifthecurrentuseriswatchingsnippet — Atlassian Check if the Current User Is Watching Snippet
/v1/snippets/{workspace}/{encoded-id}/watch
GET
Listuserswatchingsnippet — Atlassian List Users Watching Snippet
/v1/snippets/{workspace}/{encoded-id}/watchers

MCP Tools

atlassian-stop-watching-snippet

Atlassian Stop Watching Snippet

idempotent
atlassian-check-if-current-user

Atlassian Check if the Current User Is Watching Snippet

read-only idempotent
atlassian-list-users-watching-snippet

Atlassian List Users Watching Snippet

read-only idempotent

Capability Spec

bitbucket-snippets-watching.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Snippets API — Watching
  description: 'Atlassian Bit Bucket Snippets API — Watching. 3 operations. Lead operation: Atlassian Stop Watching Snippet.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Watching
  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-watching
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Snippets API — Watching business capability. Self-contained, no shared references.
    resources:
    - name: snippets-workspace-encoded_id-watch
      path: /snippets/{workspace}/{encoded_id}/watch
      operations:
      - name: stopwatchingsnippet
        method: DELETE
        description: Atlassian Stop Watching Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: checkifthecurrentuseriswatchingsnippet
        method: GET
        description: Atlassian Check if the Current User Is Watching Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: snippets-workspace-encoded_id-watchers
      path: /snippets/{workspace}/{encoded_id}/watchers
      operations:
      - name: listuserswatchingsnippet
        method: GET
        description: Atlassian List Users Watching Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: bitbucket-snippets-watching-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Snippets API — Watching. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/snippets/{workspace}/{encoded-id}/watch
      name: snippets-workspace-encoded-id-watch
      description: REST surface for snippets-workspace-encoded_id-watch.
      operations:
      - method: DELETE
        name: stopwatchingsnippet
        description: Atlassian Stop Watching Snippet
        call: bitbucket-snippets-watching.stopwatchingsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: checkifthecurrentuseriswatchingsnippet
        description: Atlassian Check if the Current User Is Watching Snippet
        call: bitbucket-snippets-watching.checkifthecurrentuseriswatchingsnippet
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/watchers
      name: snippets-workspace-encoded-id-watchers
      description: REST surface for snippets-workspace-encoded_id-watchers.
      operations:
      - method: GET
        name: listuserswatchingsnippet
        description: Atlassian List Users Watching Snippet
        call: bitbucket-snippets-watching.listuserswatchingsnippet
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-snippets-watching-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Snippets API — Watching. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-stop-watching-snippet
      description: Atlassian Stop Watching Snippet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-snippets-watching.stopwatchingsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-check-if-current-user
      description: Atlassian Check if the Current User Is Watching Snippet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-watching.checkifthecurrentuseriswatchingsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-users-watching-snippet
      description: Atlassian List Users Watching Snippet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-watching.listuserswatchingsnippet
      outputParameters:
      - type: object
        mapping: $.