naftiko: 1.0.0-alpha2 info: label: AppDynamics Analytics Events API — Schemas description: 'AppDynamics Analytics Events API — Schemas. 4 operations. Lead operation: Create a custom event schema. Self-contained Naftiko capability covering one Appdynamics business surface.' tags: - Appdynamics - Schemas created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPDYNAMICS_API_KEY: APPDYNAMICS_API_KEY capability: consumes: - type: http namespace: analytics-events-schemas baseUri: https://{events-service-host}:9080 description: AppDynamics Analytics Events API — Schemas business capability. Self-contained, no shared references. resources: - name: events-schema-schemaName path: /events/schema/{schemaName} operations: - name: createeventschema method: POST description: Create a custom event schema outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: geteventschema method: GET description: Get a custom event schema outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateeventschema method: PATCH description: Update a custom event schema outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteeventschema method: DELETE description: Delete a custom event schema outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-Events-API-Key value: '{{env.APPDYNAMICS_API_KEY}}' placement: header exposes: - type: rest namespace: analytics-events-schemas-rest port: 8080 description: REST adapter for AppDynamics Analytics Events API — Schemas. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/events/schema/{schemaname} name: events-schema-schemaname description: REST surface for events-schema-schemaName. operations: - method: POST name: createeventschema description: Create a custom event schema call: analytics-events-schemas.createeventschema with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: geteventschema description: Get a custom event schema call: analytics-events-schemas.geteventschema outputParameters: - type: object mapping: $. - method: PATCH name: updateeventschema description: Update a custom event schema call: analytics-events-schemas.updateeventschema with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteeventschema description: Delete a custom event schema call: analytics-events-schemas.deleteeventschema outputParameters: - type: object mapping: $. - type: mcp namespace: analytics-events-schemas-mcp port: 9090 transport: http description: MCP adapter for AppDynamics Analytics Events API — Schemas. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-custom-event-schema description: Create a custom event schema hints: readOnly: false destructive: false idempotent: false call: analytics-events-schemas.createeventschema with: body: tools.body outputParameters: - type: object mapping: $. - name: get-custom-event-schema description: Get a custom event schema hints: readOnly: true destructive: false idempotent: true call: analytics-events-schemas.geteventschema outputParameters: - type: object mapping: $. - name: update-custom-event-schema description: Update a custom event schema hints: readOnly: false destructive: false idempotent: true call: analytics-events-schemas.updateeventschema with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-custom-event-schema description: Delete a custom event schema hints: readOnly: false destructive: true idempotent: true call: analytics-events-schemas.deleteeventschema outputParameters: - type: object mapping: $.