naftiko: 1.0.0-alpha2 info: label: Clockodo API — Users description: 'Clockodo API — Users. 5 operations. Lead operation: List users. Self-contained Naftiko capability covering one Clockodo business surface.' tags: - Clockodo - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOCKODO_API_KEY: CLOCKODO_API_KEY capability: consumes: - type: http namespace: clockodo-users baseUri: https://my.clockodo.com/api description: Clockodo API — Users business capability. Self-contained, no shared references. resources: - name: v2-users path: /v2/users operations: - name: listusers method: GET description: List users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createuser method: POST description: 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: v2-users-id path: /v2/users/{id} operations: - name: getuser method: GET description: Get a user outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PUT description: 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: Delete a user outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-ClockodoApiKey value: '{{env.CLOCKODO_API_KEY}}' placement: header exposes: - type: rest namespace: clockodo-users-rest port: 8080 description: REST adapter for Clockodo API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/users name: v2-users description: REST surface for v2-users. operations: - method: GET name: listusers description: List users call: clockodo-users.listusers outputParameters: - type: object mapping: $. - method: POST name: createuser description: Create a user call: clockodo-users.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/users/{id} name: v2-users-id description: REST surface for v2-users-id. operations: - method: GET name: getuser description: Get a user call: clockodo-users.getuser outputParameters: - type: object mapping: $. - method: PUT name: updateuser description: Update a user call: clockodo-users.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Delete a user call: clockodo-users.deleteuser outputParameters: - type: object mapping: $. - type: mcp namespace: clockodo-users-mcp port: 9090 transport: http description: MCP adapter for Clockodo 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: clockodo-users.listusers outputParameters: - type: object mapping: $. - name: create-user description: Create a user hints: readOnly: false destructive: false idempotent: false call: clockodo-users.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: get-user description: Get a user hints: readOnly: true destructive: false idempotent: true call: clockodo-users.getuser outputParameters: - type: object mapping: $. - name: update-user description: Update a user hints: readOnly: false destructive: false idempotent: true call: clockodo-users.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-user description: Delete a user hints: readOnly: false destructive: true idempotent: true call: clockodo-users.deleteuser outputParameters: - type: object mapping: $.