naftiko: 1.0.0-alpha2 info: label: Unified.to API — environment description: 'Unified.to API — environment. 3 operations. Lead operation: Returns All Environments. Self-contained Naftiko capability covering one Unified To business surface.' tags: - Unified To - environment created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY capability: consumes: - type: http namespace: full-environment baseUri: https://api.unified.to description: Unified.to API — environment business capability. Self-contained, no shared references. resources: - name: unified-environment path: /unified/environment operations: - name: listunifiedenvironments method: GET description: Returns All Environments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createunifiedenvironment method: POST description: Create New Environments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: unified-environment-env path: /unified/environment/{env} operations: - name: removeunifiedenvironment method: DELETE description: Remove an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: env in: path type: string required: true authentication: type: apikey key: authorization value: '{{env.UNIFIED_TO_API_KEY}}' placement: header exposes: - type: rest namespace: full-environment-rest port: 8080 description: REST adapter for Unified.to API — environment. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/unified/environment name: unified-environment description: REST surface for unified-environment. operations: - method: GET name: listunifiedenvironments description: Returns All Environments call: full-environment.listunifiedenvironments outputParameters: - type: object mapping: $. - method: POST name: createunifiedenvironment description: Create New Environments call: full-environment.createunifiedenvironment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/unified/environment/{env} name: unified-environment-env description: REST surface for unified-environment-env. operations: - method: DELETE name: removeunifiedenvironment description: Remove an Environment call: full-environment.removeunifiedenvironment with: env: rest.env outputParameters: - type: object mapping: $. - type: mcp namespace: full-environment-mcp port: 9090 transport: http description: MCP adapter for Unified.to API — environment. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: returns-all-environments description: Returns All Environments hints: readOnly: true destructive: false idempotent: true call: full-environment.listunifiedenvironments outputParameters: - type: object mapping: $. - name: create-new-environments description: Create New Environments hints: readOnly: false destructive: false idempotent: false call: full-environment.createunifiedenvironment with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-environment description: Remove an Environment hints: readOnly: false destructive: true idempotent: true call: full-environment.removeunifiedenvironment with: env: tools.env outputParameters: - type: object mapping: $.