naftiko: 1.0.0-alpha2 info: label: Upbound API — Organizations description: 'Upbound API — Organizations. 5 operations. Lead operation: List Organizations. Self-contained Naftiko capability covering one Upbound business surface.' tags: - Upbound - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UPBOUND_API_KEY: UPBOUND_API_KEY capability: consumes: - type: http namespace: upbound-organizations baseUri: https://api.upbound.io/v1 description: Upbound 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: $. inputParameters: - name: page in: query type: integer - name: size in: query type: integer - 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-orgName path: /organizations/{orgName} operations: - name: getorganization method: GET description: Get Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string description: Organization name required: true - name: updateorganization method: PUT description: Update Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgName in: path type: string required: true - 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: $. inputParameters: - name: orgName in: path type: string required: true authentication: type: bearer token: '{{env.UPBOUND_API_KEY}}' exposes: - type: rest namespace: upbound-organizations-rest port: 8080 description: REST adapter for Upbound 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: upbound-organizations.listorganizations with: page: rest.page size: rest.size outputParameters: - type: object mapping: $. - method: POST name: createorganization description: Create Organization call: upbound-organizations.createorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgname} name: organizations-orgname description: REST surface for organizations-orgName. operations: - method: GET name: getorganization description: Get Organization call: upbound-organizations.getorganization with: orgName: rest.orgName outputParameters: - type: object mapping: $. - method: PUT name: updateorganization description: Update Organization call: upbound-organizations.updateorganization with: orgName: rest.orgName body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteorganization description: Delete Organization call: upbound-organizations.deleteorganization with: orgName: rest.orgName outputParameters: - type: object mapping: $. - type: mcp namespace: upbound-organizations-mcp port: 9090 transport: http description: MCP adapter for Upbound 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: upbound-organizations.listorganizations with: page: tools.page size: tools.size outputParameters: - type: object mapping: $. - name: create-organization description: Create Organization hints: readOnly: false destructive: false idempotent: false call: upbound-organizations.createorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: get-organization description: Get Organization hints: readOnly: true destructive: false idempotent: true call: upbound-organizations.getorganization with: orgName: tools.orgName outputParameters: - type: object mapping: $. - name: update-organization description: Update Organization hints: readOnly: false destructive: false idempotent: true call: upbound-organizations.updateorganization with: orgName: tools.orgName body: tools.body outputParameters: - type: object mapping: $. - name: delete-organization description: Delete Organization hints: readOnly: false destructive: true idempotent: true call: upbound-organizations.deleteorganization with: orgName: tools.orgName outputParameters: - type: object mapping: $.