naftiko: 1.0.0-alpha2 info: label: Kion Cloud Operations API — Users description: 'Kion Cloud Operations API — Users. 5 operations. Lead operation: Kion List users. Self-contained Naftiko capability covering one Kion business surface.' tags: - Kion - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KION_API_KEY: KION_API_KEY capability: consumes: - type: http namespace: cloud-operations-users baseUri: https://{kion-instance}/api/v3 description: Kion Cloud Operations API — Users business capability. Self-contained, no shared references. resources: - name: user path: /user operations: - name: listusers method: GET description: Kion List users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createuser method: POST description: Kion Create a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: user-id path: /user/{id} operations: - name: getuser method: GET description: Kion Get a user outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PATCH description: Kion Update a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Kion Delete a user outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KION_API_KEY}}' exposes: - type: rest namespace: cloud-operations-users-rest port: 8080 description: REST adapter for Kion Cloud Operations API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/user name: user description: REST surface for user. operations: - method: GET name: listusers description: Kion List users call: cloud-operations-users.listusers outputParameters: - type: object mapping: $. - method: POST name: createuser description: Kion Create a user call: cloud-operations-users.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/user/{id} name: user-id description: REST surface for user-id. operations: - method: GET name: getuser description: Kion Get a user call: cloud-operations-users.getuser outputParameters: - type: object mapping: $. - method: PATCH name: updateuser description: Kion Update a user call: cloud-operations-users.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Kion Delete a user call: cloud-operations-users.deleteuser outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-operations-users-mcp port: 9090 transport: http description: MCP adapter for Kion Cloud Operations API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: kion-list-users description: Kion List users hints: readOnly: true destructive: false idempotent: true call: cloud-operations-users.listusers outputParameters: - type: object mapping: $. - name: kion-create-user description: Kion Create a user hints: readOnly: false destructive: false idempotent: false call: cloud-operations-users.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: kion-get-user description: Kion Get a user hints: readOnly: true destructive: false idempotent: true call: cloud-operations-users.getuser outputParameters: - type: object mapping: $. - name: kion-update-user description: Kion Update a user hints: readOnly: false destructive: false idempotent: true call: cloud-operations-users.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: kion-delete-user description: Kion Delete a user hints: readOnly: false destructive: true idempotent: true call: cloud-operations-users.deleteuser outputParameters: - type: object mapping: $.