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