naftiko: 1.0.0-alpha2 info: label: Cisco Cloud Observability API — Health Rules description: 'Cisco Cloud Observability API — Health Rules. 5 operations. Lead operation: List health rules. Self-contained Naftiko capability covering one Appdynamics business surface.' tags: - Appdynamics - Health Rules created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPDYNAMICS_API_KEY: APPDYNAMICS_API_KEY capability: consumes: - type: http namespace: cloud-observability-health-rules baseUri: https://{tenant}.observe.appdynamics.com/cloud description: Cisco Cloud Observability API — Health Rules business capability. Self-contained, no shared references. resources: - name: v1-health-rules path: /v1/health-rules operations: - name: listcloudhealthrules method: GET description: List health rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcloudhealthrule method: POST description: Create a health rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-health-rules-healthRuleId path: /v1/health-rules/{healthRuleId} operations: - name: getcloudhealthrule method: GET description: Get a specific health rule outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecloudhealthrule method: PUT description: Update a health rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletecloudhealthrule method: DELETE description: Delete a health rule outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.APPDYNAMICS_API_KEY}}' exposes: - type: rest namespace: cloud-observability-health-rules-rest port: 8080 description: REST adapter for Cisco Cloud Observability API — Health Rules. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/health-rules name: v1-health-rules description: REST surface for v1-health-rules. operations: - method: GET name: listcloudhealthrules description: List health rules call: cloud-observability-health-rules.listcloudhealthrules outputParameters: - type: object mapping: $. - method: POST name: createcloudhealthrule description: Create a health rule call: cloud-observability-health-rules.createcloudhealthrule with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/health-rules/{healthruleid} name: v1-health-rules-healthruleid description: REST surface for v1-health-rules-healthRuleId. operations: - method: GET name: getcloudhealthrule description: Get a specific health rule call: cloud-observability-health-rules.getcloudhealthrule outputParameters: - type: object mapping: $. - method: PUT name: updatecloudhealthrule description: Update a health rule call: cloud-observability-health-rules.updatecloudhealthrule with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecloudhealthrule description: Delete a health rule call: cloud-observability-health-rules.deletecloudhealthrule outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-observability-health-rules-mcp port: 9090 transport: http description: MCP adapter for Cisco Cloud Observability API — Health Rules. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-health-rules description: List health rules hints: readOnly: true destructive: false idempotent: true call: cloud-observability-health-rules.listcloudhealthrules outputParameters: - type: object mapping: $. - name: create-health-rule description: Create a health rule hints: readOnly: false destructive: false idempotent: false call: cloud-observability-health-rules.createcloudhealthrule with: body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-health-rule description: Get a specific health rule hints: readOnly: true destructive: false idempotent: true call: cloud-observability-health-rules.getcloudhealthrule outputParameters: - type: object mapping: $. - name: update-health-rule description: Update a health rule hints: readOnly: false destructive: false idempotent: true call: cloud-observability-health-rules.updatecloudhealthrule with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-health-rule description: Delete a health rule hints: readOnly: false destructive: true idempotent: true call: cloud-observability-health-rules.deletecloudhealthrule outputParameters: - type: object mapping: $.