naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Workspaces API — Variables description: 'Atlassian Bit Bucket Workspaces API — Variables. 5 operations. Lead operation: Atlassian List Variables for a Workspace. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Variables 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-variables baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Workspaces API — Variables business capability. Self-contained, no shared references. resources: - name: workspaces-workspace-pipelines-config-variables path: /workspaces/{workspace}/pipelines-config/variables operations: - name: atlassiangetpipelinevariablesforworkspace method: GET description: Atlassian List Variables for a Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: atlassiancreatepipelinevariableforworkspace method: POST description: Atlassian Create a Variable for a Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: workspaces-workspace-pipelines-config-variables-variable_uuid path: /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} operations: - name: atlassiangetpipelinevariableforworkspace method: GET description: Atlassian Get Variable for a Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: variable_uuid in: path type: string description: The UUID of the variable to retrieve. required: true - name: atlassianupdatepipelinevariableforworkspace method: PUT description: Atlassian Update Variable for a Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: variable_uuid in: path type: string description: The UUID of the variable. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: atlassiandeletepipelinevariableforworkspace method: DELETE description: Atlassian Delete a Variable for a Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: variable_uuid in: path type: string description: The UUID of the variable to delete. required: true exposes: - type: rest namespace: bitbucket-workspaces-variables-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Workspaces API — Variables. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workspaces/{workspace}/pipelines-config/variables name: workspaces-workspace-pipelines-config-variables description: REST surface for workspaces-workspace-pipelines-config-variables. operations: - method: GET name: atlassiangetpipelinevariablesforworkspace description: Atlassian List Variables for a Workspace call: bitbucket-workspaces-variables.atlassiangetpipelinevariablesforworkspace with: workspace: rest.workspace outputParameters: - type: object mapping: $. - method: POST name: atlassiancreatepipelinevariableforworkspace description: Atlassian Create a Variable for a Workspace call: bitbucket-workspaces-variables.atlassiancreatepipelinevariableforworkspace with: workspace: rest.workspace body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workspaces/{workspace}/pipelines-config/variables/{variable-uuid} name: workspaces-workspace-pipelines-config-variables-variable-uuid description: REST surface for workspaces-workspace-pipelines-config-variables-variable_uuid. operations: - method: GET name: atlassiangetpipelinevariableforworkspace description: Atlassian Get Variable for a Workspace call: bitbucket-workspaces-variables.atlassiangetpipelinevariableforworkspace with: workspace: rest.workspace variable_uuid: rest.variable_uuid outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdatepipelinevariableforworkspace description: Atlassian Update Variable for a Workspace call: bitbucket-workspaces-variables.atlassianupdatepipelinevariableforworkspace with: workspace: rest.workspace variable_uuid: rest.variable_uuid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: atlassiandeletepipelinevariableforworkspace description: Atlassian Delete a Variable for a Workspace call: bitbucket-workspaces-variables.atlassiandeletepipelinevariableforworkspace with: workspace: rest.workspace variable_uuid: rest.variable_uuid outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-workspaces-variables-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Workspaces API — Variables. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-variables-workspace description: Atlassian List Variables for a Workspace hints: readOnly: true destructive: false idempotent: true call: bitbucket-workspaces-variables.atlassiangetpipelinevariablesforworkspace with: workspace: tools.workspace outputParameters: - type: object mapping: $. - name: atlassian-create-variable-workspace description: Atlassian Create a Variable for a Workspace hints: readOnly: false destructive: false idempotent: false call: bitbucket-workspaces-variables.atlassiancreatepipelinevariableforworkspace with: workspace: tools.workspace body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-variable-workspace description: Atlassian Get Variable for a Workspace hints: readOnly: true destructive: false idempotent: true call: bitbucket-workspaces-variables.atlassiangetpipelinevariableforworkspace with: workspace: tools.workspace variable_uuid: tools.variable_uuid outputParameters: - type: object mapping: $. - name: atlassian-update-variable-workspace description: Atlassian Update Variable for a Workspace hints: readOnly: false destructive: false idempotent: true call: bitbucket-workspaces-variables.atlassianupdatepipelinevariableforworkspace with: workspace: tools.workspace variable_uuid: tools.variable_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-variable-workspace description: Atlassian Delete a Variable for a Workspace hints: readOnly: false destructive: true idempotent: true call: bitbucket-workspaces-variables.atlassiandeletepipelinevariableforworkspace with: workspace: tools.workspace variable_uuid: tools.variable_uuid outputParameters: - type: object mapping: $.