naftiko: 1.0.0-alpha2 info: label: Gravitee.io - Access Management API — devices description: 'Gravitee.io - Access Management API — devices. 2 operations. Lead operation: List users for a security domain. Self-contained Naftiko capability covering one Gravitee business surface.' tags: - Gravitee - devices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAVITEE_API_KEY: GRAVITEE_API_KEY capability: consumes: - type: http namespace: am-devices baseUri: '' description: Gravitee.io - Access Management API — devices business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-environments-environmentId-domains-domain-users-use path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/users/{user}/devices operations: - name: listuserdevices method: GET description: List users for a security domain outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string required: true - name: environmentId in: path type: string required: true - name: domain in: path type: string required: true - name: user in: path type: string required: true - name: organizations-organizationId-environments-environmentId-domains-domain-users-use path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/users/{user}/devices/{device} operations: - name: deleteuserdevice method: DELETE description: Delete a device outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string required: true - name: environmentId in: path type: string required: true - name: domain in: path type: string required: true - name: user in: path type: string required: true - name: device in: path type: string required: true authentication: type: bearer token: '{{env.GRAVITEE_API_KEY}}' exposes: - type: rest namespace: am-devices-rest port: 8080 description: REST adapter for Gravitee.io - Access Management API — devices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/users/{user}/devices name: organizations-organizationid-environments-environmentid-domains-domain-users-use description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-users-use. operations: - method: GET name: listuserdevices description: List users for a security domain call: am-devices.listuserdevices with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain user: rest.user outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/users/{user}/devices/{device} name: organizations-organizationid-environments-environmentid-domains-domain-users-use description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-users-use. operations: - method: DELETE name: deleteuserdevice description: Delete a device call: am-devices.deleteuserdevice with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain user: rest.user device: rest.device outputParameters: - type: object mapping: $. - type: mcp namespace: am-devices-mcp port: 9090 transport: http description: MCP adapter for Gravitee.io - Access Management API — devices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-users-security-domain description: List users for a security domain hints: readOnly: true destructive: false idempotent: true call: am-devices.listuserdevices with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain user: tools.user outputParameters: - type: object mapping: $. - name: delete-device description: Delete a device hints: readOnly: false destructive: true idempotent: true call: am-devices.deleteuserdevice with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain user: tools.user device: tools.device outputParameters: - type: object mapping: $.