naftiko: 1.0.0-alpha2 info: label: Backblaze B2 Native API — Authorization description: 'Backblaze B2 Native API — Authorization. 2 operations. Lead operation: Backblaze B2 Native API Authorize Account. Self-contained Naftiko capability covering one Backblaze business surface.' tags: - Backblaze - Authorization 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-authorization baseUri: https://api.backblazeb2.com description: Backblaze B2 Native API — Authorization business capability. Self-contained, no shared references. resources: - name: b2api-v4-b2_authorize_account path: /b2api/v4/b2_authorize_account operations: - name: authorizeaccount method: GET description: Backblaze B2 Native API Authorize Account outputRawFormat: json outputParameters: - name: result type: object value: $. - name: b2api-v4-b2_get_download_authorization path: /b2api/v4/b2_get_download_authorization operations: - name: getdownloadauthorization method: POST description: Backblaze B2 Native API Get Download Authorization 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-authorization-rest port: 8080 description: REST adapter for Backblaze B2 Native API — Authorization. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/b2api/v4/b2-authorize-account name: b2api-v4-b2-authorize-account description: REST surface for b2api-v4-b2_authorize_account. operations: - method: GET name: authorizeaccount description: Backblaze B2 Native API Authorize Account call: b2-native-authorization.authorizeaccount outputParameters: - type: object mapping: $. - path: /v1/b2api/v4/b2-get-download-authorization name: b2api-v4-b2-get-download-authorization description: REST surface for b2api-v4-b2_get_download_authorization. operations: - method: POST name: getdownloadauthorization description: Backblaze B2 Native API Get Download Authorization call: b2-native-authorization.getdownloadauthorization with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: b2-native-authorization-mcp port: 9090 transport: http description: MCP adapter for Backblaze B2 Native API — Authorization. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: backblaze-b2-native-api-authorize description: Backblaze B2 Native API Authorize Account hints: readOnly: true destructive: false idempotent: true call: b2-native-authorization.authorizeaccount outputParameters: - type: object mapping: $. - name: backblaze-b2-native-api-get description: Backblaze B2 Native API Get Download Authorization hints: readOnly: true destructive: false idempotent: false call: b2-native-authorization.getdownloadauthorization with: body: tools.body outputParameters: - type: object mapping: $.