naftiko: 1.0.0-alpha2 info: label: Oracle Enterprise Manager Cloud Control REST API — Targets description: 'Oracle Enterprise Manager Cloud Control REST API — Targets. 7 operations. Lead operation: Oracle Enterprise Manager List Targets. Self-contained Naftiko capability covering one Oracle Enterprise Manager business surface.' tags: - Oracle Enterprise Manager - Targets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORACLE_ENTERPRISE_MANAGER_API_KEY: ORACLE_ENTERPRISE_MANAGER_API_KEY capability: consumes: - type: http namespace: cloud-control-targets baseUri: https://{emHost}:{emPort}/em/api description: Oracle Enterprise Manager Cloud Control REST API — Targets business capability. Self-contained, no shared references. resources: - name: targets path: /targets operations: - name: listtargets method: GET description: Oracle Enterprise Manager List Targets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createtarget method: POST description: Oracle Enterprise Manager Create a Target outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: targets-targetId path: /targets/{targetId} operations: - name: gettarget method: GET description: Oracle Enterprise Manager Get Target Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatetarget method: PATCH description: Oracle Enterprise Manager Update a Target outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletetarget method: DELETE description: Oracle Enterprise Manager Delete a Target outputRawFormat: json outputParameters: - name: result type: object value: $. - name: targets-targetId-actions-bulkUpdateProperties path: /targets/{targetId}/actions/bulkUpdateProperties operations: - name: bulkupdatetargetproperties method: POST description: Oracle Enterprise Manager Bulk Update Target Properties outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: targets-targetId-properties path: /targets/{targetId}/properties operations: - name: gettargetproperties method: GET description: Oracle Enterprise Manager Get Target Properties outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.ORACLE_ENTERPRISE_MANAGER_USER}}' password: '{{env.ORACLE_ENTERPRISE_MANAGER_PASS}}' exposes: - type: rest namespace: cloud-control-targets-rest port: 8080 description: REST adapter for Oracle Enterprise Manager Cloud Control REST API — Targets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/targets name: targets description: REST surface for targets. operations: - method: GET name: listtargets description: Oracle Enterprise Manager List Targets call: cloud-control-targets.listtargets outputParameters: - type: object mapping: $. - method: POST name: createtarget description: Oracle Enterprise Manager Create a Target call: cloud-control-targets.createtarget with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/targets/{targetid} name: targets-targetid description: REST surface for targets-targetId. operations: - method: GET name: gettarget description: Oracle Enterprise Manager Get Target Details call: cloud-control-targets.gettarget outputParameters: - type: object mapping: $. - method: PATCH name: updatetarget description: Oracle Enterprise Manager Update a Target call: cloud-control-targets.updatetarget with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetarget description: Oracle Enterprise Manager Delete a Target call: cloud-control-targets.deletetarget outputParameters: - type: object mapping: $. - path: /v1/targets/{targetid}/actions/bulkupdateproperties name: targets-targetid-actions-bulkupdateproperties description: REST surface for targets-targetId-actions-bulkUpdateProperties. operations: - method: POST name: bulkupdatetargetproperties description: Oracle Enterprise Manager Bulk Update Target Properties call: cloud-control-targets.bulkupdatetargetproperties with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/targets/{targetid}/properties name: targets-targetid-properties description: REST surface for targets-targetId-properties. operations: - method: GET name: gettargetproperties description: Oracle Enterprise Manager Get Target Properties call: cloud-control-targets.gettargetproperties outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-control-targets-mcp port: 9090 transport: http description: MCP adapter for Oracle Enterprise Manager Cloud Control REST API — Targets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: oracle-enterprise-manager-list-targets description: Oracle Enterprise Manager List Targets hints: readOnly: true destructive: false idempotent: true call: cloud-control-targets.listtargets outputParameters: - type: object mapping: $. - name: oracle-enterprise-manager-create-target description: Oracle Enterprise Manager Create a Target hints: readOnly: false destructive: false idempotent: false call: cloud-control-targets.createtarget with: body: tools.body outputParameters: - type: object mapping: $. - name: oracle-enterprise-manager-get-target description: Oracle Enterprise Manager Get Target Details hints: readOnly: true destructive: false idempotent: true call: cloud-control-targets.gettarget outputParameters: - type: object mapping: $. - name: oracle-enterprise-manager-update-target description: Oracle Enterprise Manager Update a Target hints: readOnly: false destructive: false idempotent: true call: cloud-control-targets.updatetarget with: body: tools.body outputParameters: - type: object mapping: $. - name: oracle-enterprise-manager-delete-target description: Oracle Enterprise Manager Delete a Target hints: readOnly: false destructive: true idempotent: true call: cloud-control-targets.deletetarget outputParameters: - type: object mapping: $. - name: oracle-enterprise-manager-bulk-update description: Oracle Enterprise Manager Bulk Update Target Properties hints: readOnly: true destructive: false idempotent: false call: cloud-control-targets.bulkupdatetargetproperties with: body: tools.body outputParameters: - type: object mapping: $. - name: oracle-enterprise-manager-get-target-2 description: Oracle Enterprise Manager Get Target Properties hints: readOnly: true destructive: false idempotent: true call: cloud-control-targets.gettargetproperties outputParameters: - type: object mapping: $.