naftiko: 1.0.0-alpha2 info: label: Red Hat 3scale Account Management API — Applications description: 'Red Hat 3scale Account Management API — Applications. 4 operations. Lead operation: List Applications for Account. Self-contained Naftiko capability covering one Red Hat 3scale business surface.' tags: - Red Hat 3scale - Applications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RED_HAT_3SCALE_API_KEY: RED_HAT_3SCALE_API_KEY capability: consumes: - type: http namespace: account-management-applications baseUri: https://{domain}-admin.3scale.net/admin/api description: Red Hat 3scale Account Management API — Applications business capability. Self-contained, no shared references. resources: - name: accounts-account_id-applications.json path: /accounts/{account_id}/applications.json operations: - name: listapplications method: GET description: List Applications for Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: account_id in: path type: integer description: The ID of the developer account required: true - name: createapplication method: POST description: Create Application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: account_id in: path type: integer description: The ID of the developer account required: true - name: body in: body type: object description: Request body (JSON). required: true - name: accounts-account_id-applications-id}.json path: /accounts/{account_id}/applications/{id}.json operations: - name: getapplication method: GET description: Get Application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: account_id in: path type: integer required: true - name: id in: path type: integer description: The application ID required: true - name: updateapplication method: PUT description: Update Application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: account_id in: path type: integer required: true - name: id in: path type: integer required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: access_token value: '{{env.RED_HAT_3SCALE_API_KEY}}' placement: query exposes: - type: rest namespace: account-management-applications-rest port: 8080 description: REST adapter for Red Hat 3scale Account Management API — Applications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{account-id}/applications-json name: accounts-account-id-applications-json description: REST surface for accounts-account_id-applications.json. operations: - method: GET name: listapplications description: List Applications for Account call: account-management-applications.listapplications with: account_id: rest.account_id outputParameters: - type: object mapping: $. - method: POST name: createapplication description: Create Application call: account-management-applications.createapplication with: account_id: rest.account_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/applications/id-json name: accounts-account-id-applications-id-json description: REST surface for accounts-account_id-applications-id}.json. operations: - method: GET name: getapplication description: Get Application call: account-management-applications.getapplication with: account_id: rest.account_id id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateapplication description: Update Application call: account-management-applications.updateapplication with: account_id: rest.account_id id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: account-management-applications-mcp port: 9090 transport: http description: MCP adapter for Red Hat 3scale Account Management API — Applications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-applications-account description: List Applications for Account hints: readOnly: true destructive: false idempotent: true call: account-management-applications.listapplications with: account_id: tools.account_id outputParameters: - type: object mapping: $. - name: create-application description: Create Application hints: readOnly: false destructive: false idempotent: false call: account-management-applications.createapplication with: account_id: tools.account_id body: tools.body outputParameters: - type: object mapping: $. - name: get-application description: Get Application hints: readOnly: true destructive: false idempotent: true call: account-management-applications.getapplication with: account_id: tools.account_id id: tools.id outputParameters: - type: object mapping: $. - name: update-application description: Update Application hints: readOnly: false destructive: false idempotent: true call: account-management-applications.updateapplication with: account_id: tools.account_id id: tools.id body: tools.body outputParameters: - type: object mapping: $.