naftiko: 1.0.0-alpha2 info: label: Tetrate Service Bridge REST API — Organizations description: 'Tetrate Service Bridge REST API — Organizations. 5 operations. Lead operation: List Organizations. Self-contained Naftiko capability covering one Tetrate business surface.' tags: - Tetrate - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TETRATE_API_KEY: TETRATE_API_KEY capability: consumes: - type: http namespace: service-bridge-organizations baseUri: https://{tsb-host}:8443/v2 description: Tetrate Service Bridge REST API — Organizations business capability. Self-contained, no shared references. resources: - name: organizations path: /organizations operations: - name: listorganizations method: GET description: List Organizations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorganization method: POST description: Create Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-organization path: /organizations/{organization} operations: - name: getorganization method: GET description: Get Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateorganization method: PUT description: Update Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteorganization method: DELETE description: Delete Organization outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-tetrate-token value: '{{env.TETRATE_API_KEY}}' placement: header exposes: - type: rest namespace: service-bridge-organizations-rest port: 8080 description: REST adapter for Tetrate Service Bridge REST API — Organizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations name: organizations description: REST surface for organizations. operations: - method: GET name: listorganizations description: List Organizations call: service-bridge-organizations.listorganizations outputParameters: - type: object mapping: $. - method: POST name: createorganization description: Create Organization call: service-bridge-organizations.createorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization} name: organizations-organization description: REST surface for organizations-organization. operations: - method: GET name: getorganization description: Get Organization call: service-bridge-organizations.getorganization outputParameters: - type: object mapping: $. - method: PUT name: updateorganization description: Update Organization call: service-bridge-organizations.updateorganization with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteorganization description: Delete Organization call: service-bridge-organizations.deleteorganization outputParameters: - type: object mapping: $. - type: mcp namespace: service-bridge-organizations-mcp port: 9090 transport: http description: MCP adapter for Tetrate Service Bridge REST API — Organizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-organizations description: List Organizations hints: readOnly: true destructive: false idempotent: true call: service-bridge-organizations.listorganizations outputParameters: - type: object mapping: $. - name: create-organization description: Create Organization hints: readOnly: false destructive: false idempotent: false call: service-bridge-organizations.createorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: get-organization description: Get Organization hints: readOnly: true destructive: false idempotent: true call: service-bridge-organizations.getorganization outputParameters: - type: object mapping: $. - name: update-organization description: Update Organization hints: readOnly: false destructive: false idempotent: true call: service-bridge-organizations.updateorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-organization description: Delete Organization hints: readOnly: false destructive: true idempotent: true call: service-bridge-organizations.deleteorganization outputParameters: - type: object mapping: $.