naftiko: 1.0.0-alpha2 info: label: API Reference — subpackage_notifications description: 'API Reference — subpackage_notifications. 2 operations. Lead operation: Get Global Error Subscribers. Self-contained Naftiko capability covering one Polytomic business surface.' tags: - Polytomic - subpackage_notifications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POLYTOMIC_API_KEY: POLYTOMIC_API_KEY capability: consumes: - type: http namespace: polytomic-subpackage-notifications baseUri: https://app.polytomic.com description: API Reference — subpackage_notifications business capability. Self-contained, no shared references. resources: - name: api-notifications-global-error-subscribers path: /api/notifications/global-error-subscribers operations: - name: getglobalerrorsubscribers method: GET description: Get Global Error Subscribers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: Bearer user API key required: true - name: X-Polytomic-Version in: header type: string - name: setglobalerrorsubscribers method: PUT description: Update Global Error Subscribers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: Bearer user API key required: true - name: X-Polytomic-Version in: header type: string - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.POLYTOMIC_API_KEY}}' exposes: - type: rest namespace: polytomic-subpackage-notifications-rest port: 8080 description: REST adapter for API Reference — subpackage_notifications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/notifications/global-error-subscribers name: api-notifications-global-error-subscribers description: REST surface for api-notifications-global-error-subscribers. operations: - method: GET name: getglobalerrorsubscribers description: Get Global Error Subscribers call: polytomic-subpackage-notifications.getglobalerrorsubscribers with: Authorization: rest.Authorization X-Polytomic-Version: rest.X-Polytomic-Version outputParameters: - type: object mapping: $. - method: PUT name: setglobalerrorsubscribers description: Update Global Error Subscribers call: polytomic-subpackage-notifications.setglobalerrorsubscribers with: Authorization: rest.Authorization X-Polytomic-Version: rest.X-Polytomic-Version body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: polytomic-subpackage-notifications-mcp port: 9090 transport: http description: MCP adapter for API Reference — subpackage_notifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-global-error-subscribers description: Get Global Error Subscribers hints: readOnly: true destructive: false idempotent: true call: polytomic-subpackage-notifications.getglobalerrorsubscribers with: Authorization: tools.Authorization X-Polytomic-Version: tools.X-Polytomic-Version outputParameters: - type: object mapping: $. - name: update-global-error-subscribers description: Update Global Error Subscribers hints: readOnly: false destructive: false idempotent: true call: polytomic-subpackage-notifications.setglobalerrorsubscribers with: Authorization: tools.Authorization X-Polytomic-Version: tools.X-Polytomic-Version body: tools.body outputParameters: - type: object mapping: $.