naftiko: 1.0.0-alpha2 info: label: NetBird REST API — Event Streaming Integrations description: 'NetBird REST API — Event Streaming Integrations. 5 operations. Lead operation: Create Event Streaming Integration. Self-contained Naftiko capability covering one Netbird business surface.' tags: - Netbird - Event Streaming Integrations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NETBIRD_API_KEY: NETBIRD_API_KEY capability: consumes: - type: http namespace: netbird-event-streaming-integrations baseUri: https://api.netbird.io description: NetBird REST API — Event Streaming Integrations business capability. Self-contained, no shared references. resources: - name: api-event-streaming path: /api/event-streaming operations: - name: createintegration method: POST description: Create Event Streaming Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: getallintegrations method: GET description: List Event Streaming Integrations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-event-streaming-id path: /api/event-streaming/{id} operations: - name: getintegration method: GET description: Get Event Streaming Integration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateintegration method: PUT description: Update Event Streaming Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteintegration method: DELETE description: Delete Event Streaming Integration outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.NETBIRD_API_KEY}}' exposes: - type: rest namespace: netbird-event-streaming-integrations-rest port: 8080 description: REST adapter for NetBird REST API — Event Streaming Integrations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/event-streaming name: api-event-streaming description: REST surface for api-event-streaming. operations: - method: POST name: createintegration description: Create Event Streaming Integration call: netbird-event-streaming-integrations.createintegration with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getallintegrations description: List Event Streaming Integrations call: netbird-event-streaming-integrations.getallintegrations outputParameters: - type: object mapping: $. - path: /v1/api/event-streaming/{id} name: api-event-streaming-id description: REST surface for api-event-streaming-id. operations: - method: GET name: getintegration description: Get Event Streaming Integration call: netbird-event-streaming-integrations.getintegration outputParameters: - type: object mapping: $. - method: PUT name: updateintegration description: Update Event Streaming Integration call: netbird-event-streaming-integrations.updateintegration with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteintegration description: Delete Event Streaming Integration call: netbird-event-streaming-integrations.deleteintegration outputParameters: - type: object mapping: $. - type: mcp namespace: netbird-event-streaming-integrations-mcp port: 9090 transport: http description: MCP adapter for NetBird REST API — Event Streaming Integrations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-event-streaming-integration description: Create Event Streaming Integration hints: readOnly: false destructive: false idempotent: false call: netbird-event-streaming-integrations.createintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: list-event-streaming-integrations description: List Event Streaming Integrations hints: readOnly: true destructive: false idempotent: true call: netbird-event-streaming-integrations.getallintegrations outputParameters: - type: object mapping: $. - name: get-event-streaming-integration description: Get Event Streaming Integration hints: readOnly: true destructive: false idempotent: true call: netbird-event-streaming-integrations.getintegration outputParameters: - type: object mapping: $. - name: update-event-streaming-integration description: Update Event Streaming Integration hints: readOnly: false destructive: false idempotent: true call: netbird-event-streaming-integrations.updateintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-event-streaming-integration description: Delete Event Streaming Integration hints: readOnly: false destructive: true idempotent: true call: netbird-event-streaming-integrations.deleteintegration outputParameters: - type: object mapping: $.