naftiko: 1.0.0-alpha2 info: label: Zuplo Developer API — API Keys - Buckets description: 'Zuplo Developer API — API Keys - Buckets. 5 operations. Lead operation: Lists Buckets. Self-contained Naftiko capability covering one Zuplo business surface.' tags: - Zuplo - API Keys - Buckets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZUPLO_API_KEY: ZUPLO_API_KEY capability: consumes: - type: http namespace: zuplo-api-keys-buckets baseUri: https://dev.zuplo.com description: Zuplo Developer API — API Keys - Buckets business capability. Self-contained, no shared references. resources: - name: v1-accounts-accountName-key-buckets path: /v1/accounts/{accountName}/key-buckets operations: - name: apikeybucketsservicelist method: GET description: Lists Buckets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apikeybucketsservicecreate method: POST description: Creates a Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-accounts-accountName-key-buckets-bucketName path: /v1/accounts/{accountName}/key-buckets/{bucketName} operations: - name: apikeybucketsserviceread method: GET description: Gets a Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apikeybucketsserviceupdate method: PATCH description: Updates a Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: apikeybucketsservicedelete method: DELETE description: Deletes a Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.ZUPLO_API_KEY}}' placement: header exposes: - type: rest namespace: zuplo-api-keys-buckets-rest port: 8080 description: REST adapter for Zuplo Developer API — API Keys - Buckets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/accounts/{accountname}/key-buckets name: v1-accounts-accountname-key-buckets description: REST surface for v1-accounts-accountName-key-buckets. operations: - method: GET name: apikeybucketsservicelist description: Lists Buckets call: zuplo-api-keys-buckets.apikeybucketsservicelist outputParameters: - type: object mapping: $. - method: POST name: apikeybucketsservicecreate description: Creates a Bucket call: zuplo-api-keys-buckets.apikeybucketsservicecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/accounts/{accountname}/key-buckets/{bucketname} name: v1-accounts-accountname-key-buckets-bucketname description: REST surface for v1-accounts-accountName-key-buckets-bucketName. operations: - method: GET name: apikeybucketsserviceread description: Gets a Bucket call: zuplo-api-keys-buckets.apikeybucketsserviceread outputParameters: - type: object mapping: $. - method: PATCH name: apikeybucketsserviceupdate description: Updates a Bucket call: zuplo-api-keys-buckets.apikeybucketsserviceupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: apikeybucketsservicedelete description: Deletes a Bucket call: zuplo-api-keys-buckets.apikeybucketsservicedelete outputParameters: - type: object mapping: $. - type: mcp namespace: zuplo-api-keys-buckets-mcp port: 9090 transport: http description: MCP adapter for Zuplo Developer API — API Keys - Buckets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lists-buckets description: Lists Buckets hints: readOnly: true destructive: false idempotent: true call: zuplo-api-keys-buckets.apikeybucketsservicelist outputParameters: - type: object mapping: $. - name: creates-bucket description: Creates a Bucket hints: readOnly: false destructive: false idempotent: false call: zuplo-api-keys-buckets.apikeybucketsservicecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: gets-bucket description: Gets a Bucket hints: readOnly: true destructive: false idempotent: true call: zuplo-api-keys-buckets.apikeybucketsserviceread outputParameters: - type: object mapping: $. - name: updates-bucket description: Updates a Bucket hints: readOnly: false destructive: false idempotent: true call: zuplo-api-keys-buckets.apikeybucketsserviceupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: deletes-bucket description: Deletes a Bucket hints: readOnly: false destructive: true idempotent: true call: zuplo-api-keys-buckets.apikeybucketsservicedelete outputParameters: - type: object mapping: $.