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