naftiko: 1.0.0-alpha2 info: label: Zluri API — Webhooks description: 'Zluri API — Webhooks. 5 operations. Lead operation: Zluri List Webhooks. Self-contained Naftiko capability covering one Zluri business surface.' tags: - Zluri - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZLURI_API_KEY: ZLURI_API_KEY capability: consumes: - type: http namespace: zluri-webhooks baseUri: https://api-ext.zluri.com/v2 description: Zluri API — Webhooks business capability. Self-contained, no shared references. resources: - name: webhooks path: /webhooks operations: - name: listwebhooks method: GET description: Zluri List Webhooks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwebhook method: POST description: Zluri Create Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: webhooks-webhook_id path: /webhooks/{webhook_id} operations: - name: getwebhook method: GET description: Zluri Get Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatewebhook method: PUT description: Zluri Update Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletewebhook method: DELETE description: Zluri Delete Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ZLURI_API_KEY}}' exposes: - type: rest namespace: zluri-webhooks-rest port: 8080 description: REST adapter for Zluri API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/webhooks name: webhooks description: REST surface for webhooks. operations: - method: GET name: listwebhooks description: Zluri List Webhooks call: zluri-webhooks.listwebhooks outputParameters: - type: object mapping: $. - method: POST name: createwebhook description: Zluri Create Webhook call: zluri-webhooks.createwebhook with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/webhooks/{webhook-id} name: webhooks-webhook-id description: REST surface for webhooks-webhook_id. operations: - method: GET name: getwebhook description: Zluri Get Webhook call: zluri-webhooks.getwebhook outputParameters: - type: object mapping: $. - method: PUT name: updatewebhook description: Zluri Update Webhook call: zluri-webhooks.updatewebhook with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletewebhook description: Zluri Delete Webhook call: zluri-webhooks.deletewebhook outputParameters: - type: object mapping: $. - type: mcp namespace: zluri-webhooks-mcp port: 9090 transport: http description: MCP adapter for Zluri API — Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zluri-list-webhooks description: Zluri List Webhooks hints: readOnly: true destructive: false idempotent: true call: zluri-webhooks.listwebhooks outputParameters: - type: object mapping: $. - name: zluri-create-webhook description: Zluri Create Webhook hints: readOnly: false destructive: false idempotent: false call: zluri-webhooks.createwebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: zluri-get-webhook description: Zluri Get Webhook hints: readOnly: true destructive: false idempotent: true call: zluri-webhooks.getwebhook outputParameters: - type: object mapping: $. - name: zluri-update-webhook description: Zluri Update Webhook hints: readOnly: false destructive: false idempotent: true call: zluri-webhooks.updatewebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: zluri-delete-webhook description: Zluri Delete Webhook hints: readOnly: false destructive: true idempotent: true call: zluri-webhooks.deletewebhook outputParameters: - type: object mapping: $.