naftiko: 1.0.0-alpha2 info: label: Incident.io API — Alert Routes description: 'Incident.io API — Alert Routes. 5 operations. Lead operation: List alert routes. Self-contained Naftiko capability covering one Incident Io business surface.' tags: - Incident Io - Alert Routes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INCIDENT_IO_API_KEY: INCIDENT_IO_API_KEY capability: consumes: - type: http namespace: incident-io-alert-routes baseUri: https://api.incident.io/v2 description: Incident.io API — Alert Routes business capability. Self-contained, no shared references. resources: - name: alert-routes path: /alert-routes operations: - name: listalertroutes method: GET description: List alert routes outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createalertroute method: POST description: Create alert route outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: alert-routes-id path: /alert-routes/{id} operations: - name: getalertroute method: GET description: Show alert route outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatealertroute method: PUT description: Update alert route outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletealertroute method: DELETE description: Delete alert route outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.INCIDENT_IO_API_KEY}}' exposes: - type: rest namespace: incident-io-alert-routes-rest port: 8080 description: REST adapter for Incident.io API — Alert Routes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/alert-routes name: alert-routes description: REST surface for alert-routes. operations: - method: GET name: listalertroutes description: List alert routes call: incident-io-alert-routes.listalertroutes outputParameters: - type: object mapping: $. - method: POST name: createalertroute description: Create alert route call: incident-io-alert-routes.createalertroute with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/alert-routes/{id} name: alert-routes-id description: REST surface for alert-routes-id. operations: - method: GET name: getalertroute description: Show alert route call: incident-io-alert-routes.getalertroute outputParameters: - type: object mapping: $. - method: PUT name: updatealertroute description: Update alert route call: incident-io-alert-routes.updatealertroute with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletealertroute description: Delete alert route call: incident-io-alert-routes.deletealertroute outputParameters: - type: object mapping: $. - type: mcp namespace: incident-io-alert-routes-mcp port: 9090 transport: http description: MCP adapter for Incident.io API — Alert Routes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-alert-routes description: List alert routes hints: readOnly: true destructive: false idempotent: true call: incident-io-alert-routes.listalertroutes outputParameters: - type: object mapping: $. - name: create-alert-route description: Create alert route hints: readOnly: false destructive: false idempotent: false call: incident-io-alert-routes.createalertroute with: body: tools.body outputParameters: - type: object mapping: $. - name: show-alert-route description: Show alert route hints: readOnly: true destructive: false idempotent: true call: incident-io-alert-routes.getalertroute outputParameters: - type: object mapping: $. - name: update-alert-route description: Update alert route hints: readOnly: false destructive: false idempotent: true call: incident-io-alert-routes.updatealertroute with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-alert-route description: Delete alert route hints: readOnly: false destructive: true idempotent: true call: incident-io-alert-routes.deletealertroute outputParameters: - type: object mapping: $.