naftiko: 1.0.0-alpha2 info: label: WebSphere Automation REST API — Notifications description: 'WebSphere Automation REST API — Notifications. 2 operations. Lead operation: List Notifications. Self-contained Naftiko capability covering one Websphere business surface.' tags: - Websphere - Notifications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEBSPHERE_API_KEY: WEBSPHERE_API_KEY capability: consumes: - type: http namespace: automation-rest-notifications baseUri: https://automation-api.example.com/v1 description: WebSphere Automation REST API — Notifications business capability. Self-contained, no shared references. resources: - name: notifications path: /notifications operations: - name: listnotifications method: GET description: List Notifications outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: type in: query type: string description: Filter by notification type - name: read in: query type: boolean description: Filter by read status - name: notifications-notificationId-read path: /notifications/{notificationId}/read operations: - name: marknotificationread method: POST description: Mark Notification as Read outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: notificationId in: path type: string required: true authentication: type: bearer token: '{{env.WEBSPHERE_API_KEY}}' exposes: - type: rest namespace: automation-rest-notifications-rest port: 8080 description: REST adapter for WebSphere Automation REST API — Notifications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/notifications name: notifications description: REST surface for notifications. operations: - method: GET name: listnotifications description: List Notifications call: automation-rest-notifications.listnotifications with: type: rest.type read: rest.read outputParameters: - type: object mapping: $. - path: /v1/notifications/{notificationid}/read name: notifications-notificationid-read description: REST surface for notifications-notificationId-read. operations: - method: POST name: marknotificationread description: Mark Notification as Read call: automation-rest-notifications.marknotificationread with: notificationId: rest.notificationId outputParameters: - type: object mapping: $. - type: mcp namespace: automation-rest-notifications-mcp port: 9090 transport: http description: MCP adapter for WebSphere Automation REST API — Notifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-notifications description: List Notifications hints: readOnly: true destructive: false idempotent: true call: automation-rest-notifications.listnotifications with: type: tools.type read: tools.read outputParameters: - type: object mapping: $. - name: mark-notification-read description: Mark Notification as Read hints: readOnly: false destructive: false idempotent: false call: automation-rest-notifications.marknotificationread with: notificationId: tools.notificationId outputParameters: - type: object mapping: $.