naftiko: 1.0.0-alpha2 info: label: Oracle REST Data Services (ORDS) REST API — Handlers description: 'Oracle REST Data Services (ORDS) REST API — Handlers. 6 operations. Lead operation: Get all REST template handlers. Self-contained Naftiko capability covering one Oracle Apex business surface.' tags: - Oracle Apex - Handlers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORACLE_APEX_API_KEY: ORACLE_APEX_API_KEY capability: consumes: - type: http namespace: ords-rest-handlers baseUri: https://{host}:{port}/ords/_/db-api/stable description: Oracle REST Data Services (ORDS) REST API — Handlers business capability. Self-contained, no shared references. resources: - name: ords-rest-handlers path: /ords/rest/handlers/ operations: - name: listhandlers method: GET description: Get all REST template handlers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createhandler method: POST description: Create a REST template handler outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ords-rest-handlers-id path: /ords/rest/handlers/{id} operations: - name: gethandler method: GET description: Get a REST template handler outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatehandler method: PUT description: Update a REST template handler outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletehandler method: DELETE description: Delete a REST template handler outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ords-rest-handlers-id-source path: /ords/rest/handlers/{id}/source operations: - name: gethandlersource method: GET description: Get a REST handler source outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ORACLE_APEX_API_KEY}}' exposes: - type: rest namespace: ords-rest-handlers-rest port: 8080 description: REST adapter for Oracle REST Data Services (ORDS) REST API — Handlers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ords/rest/handlers name: ords-rest-handlers description: REST surface for ords-rest-handlers. operations: - method: GET name: listhandlers description: Get all REST template handlers call: ords-rest-handlers.listhandlers outputParameters: - type: object mapping: $. - method: POST name: createhandler description: Create a REST template handler call: ords-rest-handlers.createhandler with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/ords/rest/handlers/{id} name: ords-rest-handlers-id description: REST surface for ords-rest-handlers-id. operations: - method: GET name: gethandler description: Get a REST template handler call: ords-rest-handlers.gethandler outputParameters: - type: object mapping: $. - method: PUT name: updatehandler description: Update a REST template handler call: ords-rest-handlers.updatehandler with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletehandler description: Delete a REST template handler call: ords-rest-handlers.deletehandler outputParameters: - type: object mapping: $. - path: /v1/ords/rest/handlers/{id}/source name: ords-rest-handlers-id-source description: REST surface for ords-rest-handlers-id-source. operations: - method: GET name: gethandlersource description: Get a REST handler source call: ords-rest-handlers.gethandlersource outputParameters: - type: object mapping: $. - type: mcp namespace: ords-rest-handlers-mcp port: 9090 transport: http description: MCP adapter for Oracle REST Data Services (ORDS) REST API — Handlers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-rest-template-handlers description: Get all REST template handlers hints: readOnly: true destructive: false idempotent: true call: ords-rest-handlers.listhandlers outputParameters: - type: object mapping: $. - name: create-rest-template-handler description: Create a REST template handler hints: readOnly: false destructive: false idempotent: false call: ords-rest-handlers.createhandler with: body: tools.body outputParameters: - type: object mapping: $. - name: get-rest-template-handler description: Get a REST template handler hints: readOnly: true destructive: false idempotent: true call: ords-rest-handlers.gethandler outputParameters: - type: object mapping: $. - name: update-rest-template-handler description: Update a REST template handler hints: readOnly: false destructive: false idempotent: true call: ords-rest-handlers.updatehandler with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-rest-template-handler description: Delete a REST template handler hints: readOnly: false destructive: true idempotent: true call: ords-rest-handlers.deletehandler outputParameters: - type: object mapping: $. - name: get-rest-handler-source description: Get a REST handler source hints: readOnly: true destructive: false idempotent: true call: ords-rest-handlers.gethandlersource outputParameters: - type: object mapping: $.