naftiko: 1.0.0-alpha2 info: label: Telefónica Quality on Demand API — QoD Sessions description: 'Telefónica Quality on Demand API — QoD Sessions. 4 operations. Lead operation: Create QoD Session. Self-contained Naftiko capability covering one Telefonica business surface.' tags: - Telefonica - QoD Sessions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELEFONICA_API_KEY: TELEFONICA_API_KEY capability: consumes: - type: http namespace: quality-on-demand-qod-sessions baseUri: https://opengateway.telefonica.com/v1 description: Telefónica Quality on Demand API — QoD Sessions business capability. Self-contained, no shared references. resources: - name: qod-sessions path: /qod/sessions operations: - name: createqodsession method: POST description: Create QoD Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listqodsessions method: GET description: List QoD Sessions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: qod-sessions-sessionId path: /qod/sessions/{sessionId} operations: - name: getqodsession method: GET description: Get QoD Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sessionId in: path type: string required: true - name: deleteqodsession method: DELETE description: Delete QoD Session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sessionId in: path type: string required: true exposes: - type: rest namespace: quality-on-demand-qod-sessions-rest port: 8080 description: REST adapter for Telefónica Quality on Demand API — QoD Sessions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/qod/sessions name: qod-sessions description: REST surface for qod-sessions. operations: - method: POST name: createqodsession description: Create QoD Session call: quality-on-demand-qod-sessions.createqodsession with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listqodsessions description: List QoD Sessions call: quality-on-demand-qod-sessions.listqodsessions outputParameters: - type: object mapping: $. - path: /v1/qod/sessions/{sessionid} name: qod-sessions-sessionid description: REST surface for qod-sessions-sessionId. operations: - method: GET name: getqodsession description: Get QoD Session call: quality-on-demand-qod-sessions.getqodsession with: sessionId: rest.sessionId outputParameters: - type: object mapping: $. - method: DELETE name: deleteqodsession description: Delete QoD Session call: quality-on-demand-qod-sessions.deleteqodsession with: sessionId: rest.sessionId outputParameters: - type: object mapping: $. - type: mcp namespace: quality-on-demand-qod-sessions-mcp port: 9090 transport: http description: MCP adapter for Telefónica Quality on Demand API — QoD Sessions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-qod-session description: Create QoD Session hints: readOnly: false destructive: false idempotent: false call: quality-on-demand-qod-sessions.createqodsession with: body: tools.body outputParameters: - type: object mapping: $. - name: list-qod-sessions description: List QoD Sessions hints: readOnly: true destructive: false idempotent: true call: quality-on-demand-qod-sessions.listqodsessions outputParameters: - type: object mapping: $. - name: get-qod-session description: Get QoD Session hints: readOnly: true destructive: false idempotent: true call: quality-on-demand-qod-sessions.getqodsession with: sessionId: tools.sessionId outputParameters: - type: object mapping: $. - name: delete-qod-session description: Delete QoD Session hints: readOnly: false destructive: true idempotent: true call: quality-on-demand-qod-sessions.deleteqodsession with: sessionId: tools.sessionId outputParameters: - type: object mapping: $.