naftiko: 1.0.0-alpha2 info: label: Gravitee.io - Access Management API — factor description: 'Gravitee.io - Access Management API — factor. 5 operations. Lead operation: List registered factors for a security domain. Self-contained Naftiko capability covering one Gravitee business surface.' tags: - Gravitee - factor created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAVITEE_API_KEY: GRAVITEE_API_KEY capability: consumes: - type: http namespace: am-factor-2 baseUri: '' description: Gravitee.io - Access Management API — factor business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-environments-environmentId-domains-domain-factors path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/factors operations: - name: listfactors method: GET description: List registered factors 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: createfactor method: POST description: Create a factor 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: body in: body type: object description: Request body (JSON). required: true - name: organizations-organizationId-environments-environmentId-domains-domain-factors-f path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/factors/{factor} operations: - name: getfactor method: GET description: Get a factor 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: factor in: path type: string required: true - name: updatefactor method: PUT description: Update a factor 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: factor in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletefactor method: DELETE description: Delete a factor 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: factor in: path type: string required: true authentication: type: bearer token: '{{env.GRAVITEE_API_KEY}}' exposes: - type: rest namespace: am-factor-2-rest port: 8080 description: REST adapter for Gravitee.io - Access Management API — factor. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/factors name: organizations-organizationid-environments-environmentid-domains-domain-factors description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-factors. operations: - method: GET name: listfactors description: List registered factors for a security domain call: am-factor-2.listfactors with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain outputParameters: - type: object mapping: $. - method: POST name: createfactor description: Create a factor call: am-factor-2.createfactor with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/factors/{factor} name: organizations-organizationid-environments-environmentid-domains-domain-factors-f description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-factors-f. operations: - method: GET name: getfactor description: Get a factor call: am-factor-2.getfactor with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain factor: rest.factor outputParameters: - type: object mapping: $. - method: PUT name: updatefactor description: Update a factor call: am-factor-2.updatefactor with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain factor: rest.factor body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletefactor description: Delete a factor call: am-factor-2.deletefactor with: organizationId: rest.organizationId environmentId: rest.environmentId domain: rest.domain factor: rest.factor outputParameters: - type: object mapping: $. - type: mcp namespace: am-factor-2-mcp port: 9090 transport: http description: MCP adapter for Gravitee.io - Access Management API — factor. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-registered-factors-security-domain description: List registered factors for a security domain hints: readOnly: true destructive: false idempotent: true call: am-factor-2.listfactors with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain outputParameters: - type: object mapping: $. - name: create-factor description: Create a factor hints: readOnly: false destructive: false idempotent: false call: am-factor-2.createfactor with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain body: tools.body outputParameters: - type: object mapping: $. - name: get-factor description: Get a factor hints: readOnly: true destructive: false idempotent: true call: am-factor-2.getfactor with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain factor: tools.factor outputParameters: - type: object mapping: $. - name: update-factor description: Update a factor hints: readOnly: false destructive: false idempotent: true call: am-factor-2.updatefactor with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain factor: tools.factor body: tools.body outputParameters: - type: object mapping: $. - name: delete-factor description: Delete a factor hints: readOnly: false destructive: true idempotent: true call: am-factor-2.deletefactor with: organizationId: tools.organizationId environmentId: tools.environmentId domain: tools.domain factor: tools.factor outputParameters: - type: object mapping: $.