naftiko: 1.0.0-alpha2 info: label: Trello REST API — Notifications description: 'Trello REST API — Notifications. 4 operations. Lead operation: Get Notifications for a Member. Self-contained Naftiko capability covering one Trello business surface.' tags: - Trello - Notifications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TRELLO_API_KEY: TRELLO_API_KEY capability: consumes: - type: http namespace: rest-notifications baseUri: https://api.trello.com/1 description: Trello REST API — Notifications business capability. Self-contained, no shared references. resources: - name: members-id-notifications path: /members/{id}/notifications operations: - name: getmembernotifications method: GET description: Get Notifications for a Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: entities in: query type: boolean description: Whether to include entities. - name: display in: query type: boolean description: Whether to include display information. - name: filter in: query type: string description: A comma-separated list of notification types to filter by. - name: read_filter in: query type: string description: Filter by read status. - name: limit in: query type: integer description: Maximum number of notifications to return. - name: before in: query type: string description: Return notifications created before this notification ID. - name: since in: query type: string description: Return notifications created after this notification ID. - name: notifications-all-read path: /notifications/all/read operations: - name: markallnotificationsread method: POST description: Mark All Notifications as Read outputRawFormat: json outputParameters: - name: result type: object value: $. - name: notifications-id path: /notifications/{id} operations: - name: getnotification method: GET description: Get a Notification outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatenotification method: PUT description: Update a Notification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: unread in: query type: boolean description: Whether the notification is unread. authentication: type: apikey key: key value: '{{env.TRELLO_API_KEY}}' placement: query exposes: - type: rest namespace: rest-notifications-rest port: 8080 description: REST adapter for Trello REST API — Notifications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/members/{id}/notifications name: members-id-notifications description: REST surface for members-id-notifications. operations: - method: GET name: getmembernotifications description: Get Notifications for a Member call: rest-notifications.getmembernotifications with: entities: rest.entities display: rest.display filter: rest.filter read_filter: rest.read_filter limit: rest.limit before: rest.before since: rest.since outputParameters: - type: object mapping: $. - path: /v1/notifications/all/read name: notifications-all-read description: REST surface for notifications-all-read. operations: - method: POST name: markallnotificationsread description: Mark All Notifications as Read call: rest-notifications.markallnotificationsread outputParameters: - type: object mapping: $. - path: /v1/notifications/{id} name: notifications-id description: REST surface for notifications-id. operations: - method: GET name: getnotification description: Get a Notification call: rest-notifications.getnotification outputParameters: - type: object mapping: $. - method: PUT name: updatenotification description: Update a Notification call: rest-notifications.updatenotification with: unread: rest.unread outputParameters: - type: object mapping: $. - type: mcp namespace: rest-notifications-mcp port: 9090 transport: http description: MCP adapter for Trello REST API — Notifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-notifications-member description: Get Notifications for a Member hints: readOnly: true destructive: false idempotent: true call: rest-notifications.getmembernotifications with: entities: tools.entities display: tools.display filter: tools.filter read_filter: tools.read_filter limit: tools.limit before: tools.before since: tools.since outputParameters: - type: object mapping: $. - name: mark-all-notifications-read description: Mark All Notifications as Read hints: readOnly: false destructive: false idempotent: false call: rest-notifications.markallnotificationsread outputParameters: - type: object mapping: $. - name: get-notification description: Get a Notification hints: readOnly: true destructive: false idempotent: true call: rest-notifications.getnotification outputParameters: - type: object mapping: $. - name: update-notification description: Update a Notification hints: readOnly: false destructive: false idempotent: true call: rest-notifications.updatenotification with: unread: tools.unread outputParameters: - type: object mapping: $.