naftiko: 1.0.0-alpha2 info: label: Complete InfluxDB Cloud API — Users description: 'Complete InfluxDB Cloud API — Users. 9 operations. Lead operation: Retrieve the currently authenticated user. Self-contained Naftiko capability covering one Influxdb business surface.' tags: - Influxdb - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INFLUXDB_API_KEY: INFLUXDB_API_KEY capability: consumes: - type: http namespace: influxdb-users baseUri: '' description: Complete InfluxDB Cloud API — Users business capability. Self-contained, no shared references. resources: - name: api-v2-me path: /api/v2/me operations: - name: getme method: GET description: Retrieve the currently authenticated user outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-me-password path: /api/v2/me/password operations: - name: putmepassword method: PUT description: Update a password outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: influxdb-oss-session in: cookie type: string description: The user session cookie for the required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-users path: /api/v2/users operations: - name: getusers method: GET description: List users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: A user name. - name: id in: query type: string description: A user id. - name: postusers 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: api-v2-users-userID path: /api/v2/users/{userID} operations: - name: deleteusersid method: DELETE description: Delete a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: string description: A user ID. required: true - name: getusersid method: GET description: Retrieve a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: string description: A user ID. required: true - name: patchusersid method: PATCH description: Update a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: string description: A user ID. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-users-userID-password path: /api/v2/users/{userID}/password operations: - name: postusersidpassword method: POST description: Update a password outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: string description: The ID of the user to set the password for. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: putusersidpassword method: PUT description: Update a password outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userID in: path type: string description: The ID of the user to set the password for. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.INFLUXDB_API_KEY}}' placement: header exposes: - type: rest namespace: influxdb-users-rest port: 8080 description: REST adapter for Complete InfluxDB Cloud API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/me name: api-v2-me description: REST surface for api-v2-me. operations: - method: GET name: getme description: Retrieve the currently authenticated user call: influxdb-users.getme outputParameters: - type: object mapping: $. - path: /v1/api/v2/me/password name: api-v2-me-password description: REST surface for api-v2-me-password. operations: - method: PUT name: putmepassword description: Update a password call: influxdb-users.putmepassword with: influxdb-oss-session: rest.influxdb-oss-session body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/users name: api-v2-users description: REST surface for api-v2-users. operations: - method: GET name: getusers description: List users call: influxdb-users.getusers with: name: rest.name id: rest.id outputParameters: - type: object mapping: $. - method: POST name: postusers description: Create a user call: influxdb-users.postusers with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/users/{userid} name: api-v2-users-userid description: REST surface for api-v2-users-userID. operations: - method: DELETE name: deleteusersid description: Delete a user call: influxdb-users.deleteusersid with: userID: rest.userID outputParameters: - type: object mapping: $. - method: GET name: getusersid description: Retrieve a user call: influxdb-users.getusersid with: userID: rest.userID outputParameters: - type: object mapping: $. - method: PATCH name: patchusersid description: Update a user call: influxdb-users.patchusersid with: userID: rest.userID body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/users/{userid}/password name: api-v2-users-userid-password description: REST surface for api-v2-users-userID-password. operations: - method: POST name: postusersidpassword description: Update a password call: influxdb-users.postusersidpassword with: userID: rest.userID body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: putusersidpassword description: Update a password call: influxdb-users.putusersidpassword with: userID: rest.userID body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: influxdb-users-mcp port: 9090 transport: http description: MCP adapter for Complete InfluxDB Cloud API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-currently-authenticated-user description: Retrieve the currently authenticated user hints: readOnly: true destructive: false idempotent: true call: influxdb-users.getme outputParameters: - type: object mapping: $. - name: update-password description: Update a password hints: readOnly: false destructive: false idempotent: true call: influxdb-users.putmepassword with: influxdb-oss-session: tools.influxdb-oss-session body: tools.body outputParameters: - type: object mapping: $. - name: list-users description: List users hints: readOnly: true destructive: false idempotent: true call: influxdb-users.getusers with: name: tools.name id: tools.id outputParameters: - type: object mapping: $. - name: create-user description: Create a user hints: readOnly: false destructive: false idempotent: false call: influxdb-users.postusers with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-user description: Delete a user hints: readOnly: false destructive: true idempotent: true call: influxdb-users.deleteusersid with: userID: tools.userID outputParameters: - type: object mapping: $. - name: retrieve-user description: Retrieve a user hints: readOnly: true destructive: false idempotent: true call: influxdb-users.getusersid with: userID: tools.userID outputParameters: - type: object mapping: $. - name: update-user description: Update a user hints: readOnly: false destructive: false idempotent: true call: influxdb-users.patchusersid with: userID: tools.userID body: tools.body outputParameters: - type: object mapping: $. - name: update-password-2 description: Update a password hints: readOnly: false destructive: false idempotent: false call: influxdb-users.postusersidpassword with: userID: tools.userID body: tools.body outputParameters: - type: object mapping: $. - name: update-password-3 description: Update a password hints: readOnly: false destructive: false idempotent: true call: influxdb-users.putusersidpassword with: userID: tools.userID body: tools.body outputParameters: - type: object mapping: $.