Atlassian · Capability

Atlassian Bit Bucket Snippets API — Snippets

Atlassian Bit Bucket Snippets API — Snippets. 22 operations. Lead operation: Atlassian List Snippets in Workspace. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianSnippets

What You Can Do

GET
Listsnippetsinworkspace — Atlassian List Snippets in Workspace
/v1/snippets/{workspace}
POST
Createsnippetforworkspace — Atlassian Create Snippet for Workspace
/v1/snippets/{workspace}
GET
Getsnippet — Atlassian Get Snippet
/v1/snippets/{workspace}/{encoded-id}
PUT
Updatesnippet — Atlassian Update Snippet
/v1/snippets/{workspace}/{encoded-id}
GET
Listcommentsonsnippet — Atlassian List Comments on Snippet
/v1/snippets/{workspace}/{encoded-id}/comments
POST
Createcommentonsnippet — Atlassian Create Comment on Snippet
/v1/snippets/{workspace}/{encoded-id}/comments
DELETE
Deletecommentonsnippet — Atlassian Delete Comment on Snippet
/v1/snippets/{workspace}/{encoded-id}/comments/{comment-id}
GET
Getcommentonsnippet — Atlassian Get Comment on Snippet
/v1/snippets/{workspace}/{encoded-id}/comments/{comment-id}
PUT
Updatecommentonsnippet — Atlassian Update Comment on Snippet
/v1/snippets/{workspace}/{encoded-id}/comments/{comment-id}
GET
Listsnippetchanges — Atlassian List Snippet Changes
/v1/snippets/{workspace}/{encoded-id}/commits
GET
Getprevioussnippetchange — Atlassian Get Previous Snippet Change
/v1/snippets/{workspace}/{encoded-id}/commits/{revision}
GET
Getsnippetsrawfileathead — Atlassian Get Snippets Raw File at Head
/v1/snippets/{workspace}/{encoded-id}/files/{path}
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
PUT
Watchsnippet — Atlassian Watch Snippet
/v1/snippets/{workspace}/{encoded-id}/watch
GET
Listuserswatchingsnippet — Atlassian List Users Watching Snippet
/v1/snippets/{workspace}/{encoded-id}/watchers
DELETE
Deletepreviousrevisionofsnippet — Atlassian Delete Previous Revision of Snippet
/v1/snippets/{workspace}/{encoded-id}/{node-id}
GET
Getpreviousrevisionofsnippet — Atlassian Get Previous Revision of Snippet
/v1/snippets/{workspace}/{encoded-id}/{node-id}
PUT
Updatepreviousrevisionofsnippet — Atlassian Update Previous Revision of Snippet
/v1/snippets/{workspace}/{encoded-id}/{node-id}
GET
Getsnippetsrawfile — Atlassian Get Snippets Raw File
/v1/snippets/{workspace}/{encoded-id}/{node-id}/files/{path}
GET
Getsnippetchangesbetweenversions — Atlassian Get Snippet Changes Between Versions
/v1/snippets/{workspace}/{encoded-id}/{revision}/diff
GET
Getsnippetpatchbetweenversions — Atlassian Get Snippet Patch Between Versions
/v1/snippets/{workspace}/{encoded-id}/{revision}/patch

MCP Tools

atlassian-list-snippets-workspace

Atlassian List Snippets in Workspace

read-only idempotent
atlassian-create-snippet-workspace

Atlassian Create Snippet for Workspace

atlassian-get-snippet

Atlassian Get Snippet

read-only idempotent
atlassian-update-snippet

Atlassian Update Snippet

idempotent
atlassian-list-comments-snippet

Atlassian List Comments on Snippet

read-only idempotent
atlassian-create-comment-snippet

Atlassian Create Comment on Snippet

atlassian-delete-comment-snippet

Atlassian Delete Comment on Snippet

idempotent
atlassian-get-comment-snippet

Atlassian Get Comment on Snippet

read-only idempotent
atlassian-update-comment-snippet

Atlassian Update Comment on Snippet

idempotent
atlassian-list-snippet-changes

Atlassian List Snippet Changes

read-only idempotent
atlassian-get-previous-snippet-change

Atlassian Get Previous Snippet Change

read-only idempotent
atlassian-get-snippets-raw-file

Atlassian Get Snippets Raw File at Head

read-only idempotent
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-watch-snippet

Atlassian Watch Snippet

idempotent
atlassian-list-users-watching-snippet

Atlassian List Users Watching Snippet

read-only idempotent
atlassian-delete-previous-revision-snippet

Atlassian Delete Previous Revision of Snippet

idempotent
atlassian-get-previous-revision-snippet

Atlassian Get Previous Revision of Snippet

read-only idempotent
atlassian-update-previous-revision-snippet

Atlassian Update Previous Revision of Snippet

idempotent
atlassian-get-snippets-raw-file-2

Atlassian Get Snippets Raw File

read-only idempotent
atlassian-get-snippet-changes-between

Atlassian Get Snippet Changes Between Versions

read-only idempotent
atlassian-get-snippet-patch-between

Atlassian Get Snippet Patch Between Versions

read-only idempotent

Capability Spec

bitbucket-snippets-snippets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Snippets API — Snippets
  description: 'Atlassian Bit Bucket Snippets API — Snippets. 22 operations. Lead operation: Atlassian List Snippets in Workspace.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Snippets
  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-snippets
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Snippets API — Snippets business capability. Self-contained, no shared references.
    resources:
    - name: snippets-workspace
      path: /snippets/{workspace}
      operations:
      - name: listsnippetsinworkspace
        method: GET
        description: Atlassian List Snippets in Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: role
          in: query
          type: string
          description: Filter down the result based on the authenticated user's role (`owner`, `contributor`, or `member`).
      - name: createsnippetforworkspace
        method: POST
        description: Atlassian Create Snippet for Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: snippets-workspace-encoded_id
      path: /snippets/{workspace}/{encoded_id}
      operations:
      - name: getsnippet
        method: GET
        description: Atlassian Get Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatesnippet
        method: PUT
        description: Atlassian Update Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: snippets-workspace-encoded_id-comments
      path: /snippets/{workspace}/{encoded_id}/comments
      operations:
      - name: listcommentsonsnippet
        method: GET
        description: Atlassian List Comments on Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcommentonsnippet
        method: POST
        description: Atlassian Create Comment on Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: snippets-workspace-encoded_id-comments-comment_id
      path: /snippets/{workspace}/{encoded_id}/comments/{comment_id}
      operations:
      - name: deletecommentonsnippet
        method: DELETE
        description: Atlassian Delete Comment on Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getcommentonsnippet
        method: GET
        description: Atlassian Get Comment on Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecommentonsnippet
        method: PUT
        description: Atlassian Update Comment on Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: snippets-workspace-encoded_id-commits
      path: /snippets/{workspace}/{encoded_id}/commits
      operations:
      - name: listsnippetchanges
        method: GET
        description: Atlassian List Snippet Changes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: snippets-workspace-encoded_id-commits-revision
      path: /snippets/{workspace}/{encoded_id}/commits/{revision}
      operations:
      - name: getprevioussnippetchange
        method: GET
        description: Atlassian Get Previous Snippet Change
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: snippets-workspace-encoded_id-files-path
      path: /snippets/{workspace}/{encoded_id}/files/{path}
      operations:
      - name: getsnippetsrawfileathead
        method: GET
        description: Atlassian Get Snippets Raw File at Head
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - 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: watchsnippet
        method: PUT
        description: Atlassian Watch 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: $.
    - name: snippets-workspace-encoded_id-node_id
      path: /snippets/{workspace}/{encoded_id}/{node_id}
      operations:
      - name: deletepreviousrevisionofsnippet
        method: DELETE
        description: Atlassian Delete Previous Revision of Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getpreviousrevisionofsnippet
        method: GET
        description: Atlassian Get Previous Revision of Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatepreviousrevisionofsnippet
        method: PUT
        description: Atlassian Update Previous Revision of Snippet
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: snippets-workspace-encoded_id-node_id-files-path
      path: /snippets/{workspace}/{encoded_id}/{node_id}/files/{path}
      operations:
      - name: getsnippetsrawfile
        method: GET
        description: Atlassian Get Snippets Raw File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: snippets-workspace-encoded_id-revision-diff
      path: /snippets/{workspace}/{encoded_id}/{revision}/diff
      operations:
      - name: getsnippetchangesbetweenversions
        method: GET
        description: Atlassian Get Snippet Changes Between Versions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: path
          in: query
          type: string
          description: When used, only one the diff of the specified file will be returned.
    - 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-snippets-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Snippets API — Snippets. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/snippets/{workspace}
      name: snippets-workspace
      description: REST surface for snippets-workspace.
      operations:
      - method: GET
        name: listsnippetsinworkspace
        description: Atlassian List Snippets in Workspace
        call: bitbucket-snippets-snippets.listsnippetsinworkspace
        with:
          role: rest.role
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsnippetforworkspace
        description: Atlassian Create Snippet for Workspace
        call: bitbucket-snippets-snippets.createsnippetforworkspace
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}
      name: snippets-workspace-encoded-id
      description: REST surface for snippets-workspace-encoded_id.
      operations:
      - method: GET
        name: getsnippet
        description: Atlassian Get Snippet
        call: bitbucket-snippets-snippets.getsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesnippet
        description: Atlassian Update Snippet
        call: bitbucket-snippets-snippets.updatesnippet
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/comments
      name: snippets-workspace-encoded-id-comments
      description: REST surface for snippets-workspace-encoded_id-comments.
      operations:
      - method: GET
        name: listcommentsonsnippet
        description: Atlassian List Comments on Snippet
        call: bitbucket-snippets-snippets.listcommentsonsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcommentonsnippet
        description: Atlassian Create Comment on Snippet
        call: bitbucket-snippets-snippets.createcommentonsnippet
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/comments/{comment-id}
      name: snippets-workspace-encoded-id-comments-comment-id
      description: REST surface for snippets-workspace-encoded_id-comments-comment_id.
      operations:
      - method: DELETE
        name: deletecommentonsnippet
        description: Atlassian Delete Comment on Snippet
        call: bitbucket-snippets-snippets.deletecommentonsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getcommentonsnippet
        description: Atlassian Get Comment on Snippet
        call: bitbucket-snippets-snippets.getcommentonsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecommentonsnippet
        description: Atlassian Update Comment on Snippet
        call: bitbucket-snippets-snippets.updatecommentonsnippet
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/commits
      name: snippets-workspace-encoded-id-commits
      description: REST surface for snippets-workspace-encoded_id-commits.
      operations:
      - method: GET
        name: listsnippetchanges
        description: Atlassian List Snippet Changes
        call: bitbucket-snippets-snippets.listsnippetchanges
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/commits/{revision}
      name: snippets-workspace-encoded-id-commits-revision
      description: REST surface for snippets-workspace-encoded_id-commits-revision.
      operations:
      - method: GET
        name: getprevioussnippetchange
        description: Atlassian Get Previous Snippet Change
        call: bitbucket-snippets-snippets.getprevioussnippetchange
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/files/{path}
      name: snippets-workspace-encoded-id-files-path
      description: REST surface for snippets-workspace-encoded_id-files-path.
      operations:
      - method: GET
        name: getsnippetsrawfileathead
        description: Atlassian Get Snippets Raw File at Head
        call: bitbucket-snippets-snippets.getsnippetsrawfileathead
        outputParameters:
        - type: object
          mapping: $.
    - 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-snippets.stopwatchingsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: checkifthecurrentuseriswatchingsnippet
        description: Atlassian Check if the Current User Is Watching Snippet
        call: bitbucket-snippets-snippets.checkifthecurrentuseriswatchingsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: watchsnippet
        description: Atlassian Watch Snippet
        call: bitbucket-snippets-snippets.watchsnippet
        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-snippets.listuserswatchingsnippet
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/{node-id}
      name: snippets-workspace-encoded-id-node-id
      description: REST surface for snippets-workspace-encoded_id-node_id.
      operations:
      - method: DELETE
        name: deletepreviousrevisionofsnippet
        description: Atlassian Delete Previous Revision of Snippet
        call: bitbucket-snippets-snippets.deletepreviousrevisionofsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getpreviousrevisionofsnippet
        description: Atlassian Get Previous Revision of Snippet
        call: bitbucket-snippets-snippets.getpreviousrevisionofsnippet
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatepreviousrevisionofsnippet
        description: Atlassian Update Previous Revision of Snippet
        call: bitbucket-snippets-snippets.updatepreviousrevisionofsnippet
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/{node-id}/files/{path}
      name: snippets-workspace-encoded-id-node-id-files-path
      description: REST surface for snippets-workspace-encoded_id-node_id-files-path.
      operations:
      - method: GET
        name: getsnippetsrawfile
        description: Atlassian Get Snippets Raw File
        call: bitbucket-snippets-snippets.getsnippetsrawfile
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snippets/{workspace}/{encoded-id}/{revision}/diff
      name: snippets-workspace-encoded-id-revision-diff
      description: REST surface for snippets-workspace-encoded_id-revision-diff.
      operations:
      - method: GET
        name: getsnippetchangesbetweenversions
        description: Atlassian Get Snippet Changes Between Versions
        call: bitbucket-snippets-snippets.getsnippetchangesbetweenversions
        with:
          path: rest.path
        outputParameters:
        - type: object
          mapping: $.
    - 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-snippets.getsnippetpatchbetweenversions
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-snippets-snippets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Snippets API — Snippets. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-list-snippets-workspace
      description: Atlassian List Snippets in Workspace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.listsnippetsinworkspace
      with:
        role: tools.role
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-create-snippet-workspace
      description: Atlassian Create Snippet for Workspace
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-snippets-snippets.createsnippetforworkspace
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-snippet
      description: Atlassian Get Snippet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-snippet
      description: Atlassian Update Snippet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.updatesnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-comments-snippet
      description: Atlassian List Comments on Snippet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.listcommentsonsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-create-comment-snippet
      description: Atlassian Create Comment on Snippet
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-snippets-snippets.createcommentonsnippet
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-comment-snippet
      description: Atlassian Delete Comment on Snippet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-snippets-snippets.deletecommentonsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-comment-snippet
      description: Atlassian Get Comment on Snippet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getcommentonsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-comment-snippet
      description: Atlassian Update Comment on Snippet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.updatecommentonsnippet
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-snippet-changes
      description: Atlassian List Snippet Changes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.listsnippetchanges
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-previous-snippet-change
      description: Atlassian Get Previous Snippet Change
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getprevioussnippetchange
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-snippets-raw-file
      description: Atlassian Get Snippets Raw File at Head
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getsnippetsrawfileathead
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-stop-watching-snippet
      description: Atlassian Stop Watching Snippet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-snippets-snippets.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-snippets.checkifthecurrentuseriswatchingsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-watch-snippet
      description: Atlassian Watch Snippet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.watchsnippet
      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-snippets.listuserswatchingsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-previous-revision-snippet
      description: Atlassian Delete Previous Revision of Snippet
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-snippets-snippets.deletepreviousrevisionofsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-previous-revision-snippet
      description: Atlassian Get Previous Revision of Snippet
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getpreviousrevisionofsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-previous-revision-snippet
      description: Atlassian Update Previous Revision of Snippet
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.updatepreviousrevisionofsnippet
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-snippets-raw-file-2
      description: Atlassian Get Snippets Raw File
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getsnippetsrawfile
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-snippet-changes-between
      description: Atlassian Get Snippet Changes Between Versions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getsnippetchangesbetweenversions
      with:
        path: tools.path
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-snippet-patch-between
      description: Atlassian Get Snippet Patch Between Versions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-snippets-snippets.getsnippetpatchbetweenversions
      outputParameters:
      - type: object
        mapping: $.