naftiko: 1.0.0-alpha2 info: label: Fastly Products API — DDoS Protection description: 'Fastly Products API — DDoS Protection. 4 operations. Lead operation: Get DDoS Protection status. Self-contained Naftiko capability covering one Fastly business surface.' tags: - Fastly - DDoS Protection created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FASTLY_API_KEY: FASTLY_API_KEY capability: consumes: - type: http namespace: products-ddos-protection baseUri: https://api.fastly.com description: Fastly Products API — DDoS Protection business capability. Self-contained, no shared references. resources: - name: enabled-products-v1-ddos_protection-services-service_id path: /enabled-products/v1/ddos_protection/services/{service_id} operations: - name: getddosprotectionstatus method: GET description: Get DDoS Protection status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: enableddosprotection method: PUT description: Enable DDoS Protection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: disableddosprotection method: DELETE description: Disable DDoS Protection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: enabled-products-v1-ddos_protection-services-service_id-configuration path: /enabled-products/v1/ddos_protection/services/{service_id}/configuration operations: - name: getddosprotectionconfiguration method: GET description: Get DDoS Protection configuration outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Fastly-Key value: '{{env.FASTLY_API_KEY}}' placement: header exposes: - type: rest namespace: products-ddos-protection-rest port: 8080 description: REST adapter for Fastly Products API — DDoS Protection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/enabled-products/v1/ddos-protection/services/{service-id} name: enabled-products-v1-ddos-protection-services-service-id description: REST surface for enabled-products-v1-ddos_protection-services-service_id. operations: - method: GET name: getddosprotectionstatus description: Get DDoS Protection status call: products-ddos-protection.getddosprotectionstatus outputParameters: - type: object mapping: $. - method: PUT name: enableddosprotection description: Enable DDoS Protection call: products-ddos-protection.enableddosprotection outputParameters: - type: object mapping: $. - method: DELETE name: disableddosprotection description: Disable DDoS Protection call: products-ddos-protection.disableddosprotection outputParameters: - type: object mapping: $. - path: /v1/enabled-products/v1/ddos-protection/services/{service-id}/configuration name: enabled-products-v1-ddos-protection-services-service-id-configuration description: REST surface for enabled-products-v1-ddos_protection-services-service_id-configuration. operations: - method: GET name: getddosprotectionconfiguration description: Get DDoS Protection configuration call: products-ddos-protection.getddosprotectionconfiguration outputParameters: - type: object mapping: $. - type: mcp namespace: products-ddos-protection-mcp port: 9090 transport: http description: MCP adapter for Fastly Products API — DDoS Protection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-ddos-protection-status description: Get DDoS Protection status hints: readOnly: true destructive: false idempotent: true call: products-ddos-protection.getddosprotectionstatus outputParameters: - type: object mapping: $. - name: enable-ddos-protection description: Enable DDoS Protection hints: readOnly: false destructive: false idempotent: true call: products-ddos-protection.enableddosprotection outputParameters: - type: object mapping: $. - name: disable-ddos-protection description: Disable DDoS Protection hints: readOnly: false destructive: true idempotent: true call: products-ddos-protection.disableddosprotection outputParameters: - type: object mapping: $. - name: get-ddos-protection-configuration description: Get DDoS Protection configuration hints: readOnly: true destructive: false idempotent: true call: products-ddos-protection.getddosprotectionconfiguration outputParameters: - type: object mapping: $.