naftiko: 1.0.0-alpha2 info: label: Load Balancer API — Alert Subscribers description: 'Load Balancer API — Alert Subscribers. 7 operations. Lead operation: Delete a subscriber. Self-contained Naftiko capability covering one Scaleway business surface.' tags: - Scaleway - Alert Subscribers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SCALEWAY_API_KEY: SCALEWAY_API_KEY capability: consumes: - type: http namespace: load-balancer-alert-subscribers baseUri: https://api.scaleway.com description: Load Balancer API — Alert Subscribers business capability. Self-contained, no shared references. resources: - name: lb-v1-zones-zone-lb-subscription-subscriber_id path: /lb/v1/zones/{zone}/lb/subscription/{subscriber_id} operations: - name: deletesubscriber method: DELETE description: Delete a subscriber outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: subscriber_id in: path type: string description: Subscriber ID. required: true - name: lb-v1-zones-zone-lb-lb_id-subscribe path: /lb/v1/zones/{zone}/lb/{lb_id}/subscribe operations: - name: subscribetolb method: POST description: Subscribe a subscriber to alerts for a given Load Balancer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: lb_id in: path type: string description: Load Balancer ID. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: lb-v1-zones-zone-lb-lb_id-unsubscribe path: /lb/v1/zones/{zone}/lb/{lb_id}/unsubscribe operations: - name: unsubscribefromlb method: DELETE description: Unsubscribe a subscriber from alerts for a given Load Balancer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: lb_id in: path type: string description: Load Balancer ID. required: true - name: lb-v1-zones-zone-subscribers path: /lb/v1/zones/{zone}/subscribers operations: - name: listsubscriber method: GET description: List all subscribers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: order_by in: query type: string description: Sort order of subscribers in the response. - name: page in: query type: integer description: The page number to return, from the paginated results. - name: page_size in: query type: integer description: The number of items to return. - name: name in: query type: string description: Subscriber name to search for. - name: organization_id in: query type: string description: Filter subscribers by Organization ID. - name: project_id in: query type: string description: Filter subscribers by Project ID. - name: createsubscriber method: POST description: Create a subscriber outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: body in: body type: object description: Request body (JSON). required: true - name: lb-v1-zones-zone-subscribers-subscriber_id path: /lb/v1/zones/{zone}/subscribers/{subscriber_id} operations: - name: getsubscriber method: GET description: Get a subscriber outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: subscriber_id in: path type: string description: Subscriber ID. required: true - name: updatesubscriber method: PUT description: Update a subscriber outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: subscriber_id in: path type: string description: Subscriber ID. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Auth-Token value: '{{env.SCALEWAY_API_KEY}}' placement: header exposes: - type: rest namespace: load-balancer-alert-subscribers-rest port: 8080 description: REST adapter for Load Balancer API — Alert Subscribers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lb/v1/zones/{zone}/lb/subscription/{subscriber-id} name: lb-v1-zones-zone-lb-subscription-subscriber-id description: REST surface for lb-v1-zones-zone-lb-subscription-subscriber_id. operations: - method: DELETE name: deletesubscriber description: Delete a subscriber call: load-balancer-alert-subscribers.deletesubscriber with: zone: rest.zone subscriber_id: rest.subscriber_id outputParameters: - type: object mapping: $. - path: /v1/lb/v1/zones/{zone}/lb/{lb-id}/subscribe name: lb-v1-zones-zone-lb-lb-id-subscribe description: REST surface for lb-v1-zones-zone-lb-lb_id-subscribe. operations: - method: POST name: subscribetolb description: Subscribe a subscriber to alerts for a given Load Balancer call: load-balancer-alert-subscribers.subscribetolb with: zone: rest.zone lb_id: rest.lb_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/lb/v1/zones/{zone}/lb/{lb-id}/unsubscribe name: lb-v1-zones-zone-lb-lb-id-unsubscribe description: REST surface for lb-v1-zones-zone-lb-lb_id-unsubscribe. operations: - method: DELETE name: unsubscribefromlb description: Unsubscribe a subscriber from alerts for a given Load Balancer call: load-balancer-alert-subscribers.unsubscribefromlb with: zone: rest.zone lb_id: rest.lb_id outputParameters: - type: object mapping: $. - path: /v1/lb/v1/zones/{zone}/subscribers name: lb-v1-zones-zone-subscribers description: REST surface for lb-v1-zones-zone-subscribers. operations: - method: GET name: listsubscriber description: List all subscribers call: load-balancer-alert-subscribers.listsubscriber with: zone: rest.zone order_by: rest.order_by page: rest.page page_size: rest.page_size name: rest.name organization_id: rest.organization_id project_id: rest.project_id outputParameters: - type: object mapping: $. - method: POST name: createsubscriber description: Create a subscriber call: load-balancer-alert-subscribers.createsubscriber with: zone: rest.zone body: rest.body outputParameters: - type: object mapping: $. - path: /v1/lb/v1/zones/{zone}/subscribers/{subscriber-id} name: lb-v1-zones-zone-subscribers-subscriber-id description: REST surface for lb-v1-zones-zone-subscribers-subscriber_id. operations: - method: GET name: getsubscriber description: Get a subscriber call: load-balancer-alert-subscribers.getsubscriber with: zone: rest.zone subscriber_id: rest.subscriber_id outputParameters: - type: object mapping: $. - method: PUT name: updatesubscriber description: Update a subscriber call: load-balancer-alert-subscribers.updatesubscriber with: zone: rest.zone subscriber_id: rest.subscriber_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: load-balancer-alert-subscribers-mcp port: 9090 transport: http description: MCP adapter for Load Balancer API — Alert Subscribers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: delete-subscriber description: Delete a subscriber hints: readOnly: false destructive: true idempotent: true call: load-balancer-alert-subscribers.deletesubscriber with: zone: tools.zone subscriber_id: tools.subscriber_id outputParameters: - type: object mapping: $. - name: subscribe-subscriber-alerts-given-load description: Subscribe a subscriber to alerts for a given Load Balancer hints: readOnly: false destructive: false idempotent: false call: load-balancer-alert-subscribers.subscribetolb with: zone: tools.zone lb_id: tools.lb_id body: tools.body outputParameters: - type: object mapping: $. - name: unsubscribe-subscriber-alerts-given-load description: Unsubscribe a subscriber from alerts for a given Load Balancer hints: readOnly: false destructive: true idempotent: true call: load-balancer-alert-subscribers.unsubscribefromlb with: zone: tools.zone lb_id: tools.lb_id outputParameters: - type: object mapping: $. - name: list-all-subscribers description: List all subscribers hints: readOnly: true destructive: false idempotent: true call: load-balancer-alert-subscribers.listsubscriber with: zone: tools.zone order_by: tools.order_by page: tools.page page_size: tools.page_size name: tools.name organization_id: tools.organization_id project_id: tools.project_id outputParameters: - type: object mapping: $. - name: create-subscriber description: Create a subscriber hints: readOnly: false destructive: false idempotent: false call: load-balancer-alert-subscribers.createsubscriber with: zone: tools.zone body: tools.body outputParameters: - type: object mapping: $. - name: get-subscriber description: Get a subscriber hints: readOnly: true destructive: false idempotent: true call: load-balancer-alert-subscribers.getsubscriber with: zone: tools.zone subscriber_id: tools.subscriber_id outputParameters: - type: object mapping: $. - name: update-subscriber description: Update a subscriber hints: readOnly: false destructive: false idempotent: true call: load-balancer-alert-subscribers.updatesubscriber with: zone: tools.zone subscriber_id: tools.subscriber_id body: tools.body outputParameters: - type: object mapping: $.