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