naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Schedules description: 'Atlassian Bit Bucket Repositories API — Schedules. 5 operations. Lead operation: Atlassian List Schedules. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Schedules created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: bitbucket-repositories-schedules baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Schedules business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-pipelines_config-schedules path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules operations: - name: listschedules method: GET description: Atlassian List Schedules 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: repo_slug in: path type: string description: The repository. required: true - name: repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} operations: - name: getschedule method: GET description: Atlassian Get Schedule 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: repo_slug in: path type: string description: The repository. required: true - name: schedule_uuid in: path type: string description: The uuid of the schedule. required: true - name: updateschedule method: PUT description: Atlassian Update Schedule 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: repo_slug in: path type: string description: The repository. required: true - name: schedule_uuid in: path type: string description: The uuid of the schedule. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteschedule method: DELETE description: Atlassian Delete Schedule 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: repo_slug in: path type: string description: The repository. required: true - name: schedule_uuid in: path type: string description: The uuid of the schedule. required: true - name: repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid-execut path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions operations: - name: listexecutionsofschedule method: GET description: Atlassian List Executions of Schedule 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: repo_slug in: path type: string description: The repository. required: true - name: schedule_uuid in: path type: string description: The uuid of the schedule. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-schedules-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Schedules. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules name: repositories-workspace-repo-slug-pipelines-config-schedules description: REST surface for repositories-workspace-repo_slug-pipelines_config-schedules. operations: - method: GET name: listschedules description: Atlassian List Schedules call: bitbucket-repositories-schedules.listschedules with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid} name: repositories-workspace-repo-slug-pipelines-config-schedules-schedule-uuid description: REST surface for repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid. operations: - method: GET name: getschedule description: Atlassian Get Schedule call: bitbucket-repositories-schedules.getschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid outputParameters: - type: object mapping: $. - method: PUT name: updateschedule description: Atlassian Update Schedule call: bitbucket-repositories-schedules.updateschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteschedule description: Atlassian Delete Schedule call: bitbucket-repositories-schedules.deleteschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid}/executions name: repositories-workspace-repo-slug-pipelines-config-schedules-schedule-uuid-execut description: REST surface for repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid-execut. operations: - method: GET name: listexecutionsofschedule description: Atlassian List Executions of Schedule call: bitbucket-repositories-schedules.listexecutionsofschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-schedules-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Schedules. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-schedules description: Atlassian List Schedules hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-schedules.listschedules with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-get-schedule description: Atlassian Get Schedule hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-schedules.getschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid outputParameters: - type: object mapping: $. - name: atlassian-update-schedule description: Atlassian Update Schedule hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-schedules.updateschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-schedule description: Atlassian Delete Schedule hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-schedules.deleteschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid outputParameters: - type: object mapping: $. - name: atlassian-list-executions-schedule description: Atlassian List Executions of Schedule hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-schedules.listexecutionsofschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid outputParameters: - type: object mapping: $.