naftiko: 1.0.0-alpha2 info: label: Backblaze B2 Native API — Notifications description: 'Backblaze B2 Native API — Notifications. 2 operations. Lead operation: Backblaze B2 Native API Get Bucket Notification Rules. Self-contained Naftiko capability covering one Backblaze business surface.' tags: - Backblaze - Notifications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BACKBLAZE_API_KEY: BACKBLAZE_API_KEY capability: consumes: - type: http namespace: b2-native-notifications baseUri: https://api.backblazeb2.com description: Backblaze B2 Native API — Notifications business capability. Self-contained, no shared references. resources: - name: b2api-v4-b2_get_bucket_notification_rules path: /b2api/v4/b2_get_bucket_notification_rules operations: - name: getbucketnotificationrules method: POST description: Backblaze B2 Native API Get Bucket Notification Rules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: b2api-v4-b2_set_bucket_notification_rules path: /b2api/v4/b2_set_bucket_notification_rules operations: - name: setbucketnotificationrules method: POST description: Backblaze B2 Native API Set Bucket Notification Rules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.BACKBLAZE_API_KEY}}' exposes: - type: rest namespace: b2-native-notifications-rest port: 8080 description: REST adapter for Backblaze B2 Native API — Notifications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/b2api/v4/b2-get-bucket-notification-rules name: b2api-v4-b2-get-bucket-notification-rules description: REST surface for b2api-v4-b2_get_bucket_notification_rules. operations: - method: POST name: getbucketnotificationrules description: Backblaze B2 Native API Get Bucket Notification Rules call: b2-native-notifications.getbucketnotificationrules with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/b2api/v4/b2-set-bucket-notification-rules name: b2api-v4-b2-set-bucket-notification-rules description: REST surface for b2api-v4-b2_set_bucket_notification_rules. operations: - method: POST name: setbucketnotificationrules description: Backblaze B2 Native API Set Bucket Notification Rules call: b2-native-notifications.setbucketnotificationrules with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: b2-native-notifications-mcp port: 9090 transport: http description: MCP adapter for Backblaze B2 Native API — Notifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: backblaze-b2-native-api-get description: Backblaze B2 Native API Get Bucket Notification Rules hints: readOnly: true destructive: false idempotent: false call: b2-native-notifications.getbucketnotificationrules with: body: tools.body outputParameters: - type: object mapping: $. - name: backblaze-b2-native-api-set description: Backblaze B2 Native API Set Bucket Notification Rules hints: readOnly: false destructive: false idempotent: false call: b2-native-notifications.setbucketnotificationrules with: body: tools.body outputParameters: - type: object mapping: $.