naftiko: 1.0.0-alpha2 info: label: AppDynamics Database Agent API — Database Collectors description: 'AppDynamics Database Agent API — Database Collectors. 6 operations. Lead operation: List all database collectors. Self-contained Naftiko capability covering one Appdynamics business surface.' tags: - Appdynamics - Database Collectors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPDYNAMICS_API_KEY: APPDYNAMICS_API_KEY capability: consumes: - type: http namespace: database-agent-database-collectors baseUri: https://{controller-host}/controller description: AppDynamics Database Agent API — Database Collectors business capability. Self-contained, no shared references. resources: - name: rest-databases-collectors path: /rest/databases/collectors operations: - name: listdatabasecollectors method: GET description: List all database collectors outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-databases-collectors-batchDelete path: /rest/databases/collectors/batchDelete operations: - name: batchdeletedatabasecollectors method: POST description: Batch delete database collectors outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: rest-databases-collectors-create path: /rest/databases/collectors/create operations: - name: createdatabasecollector method: POST description: Create a database collector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: rest-databases-collectors-update path: /rest/databases/collectors/update operations: - name: updatedatabasecollector method: POST description: Update a database collector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: rest-databases-collectors-configurationId path: /rest/databases/collectors/{configurationId} operations: - name: getdatabasecollector method: GET description: Get a specific database collector outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletedatabasecollector method: DELETE description: Delete a database collector outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.APPDYNAMICS_API_KEY}}' exposes: - type: rest namespace: database-agent-database-collectors-rest port: 8080 description: REST adapter for AppDynamics Database Agent API — Database Collectors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/databases/collectors name: rest-databases-collectors description: REST surface for rest-databases-collectors. operations: - method: GET name: listdatabasecollectors description: List all database collectors call: database-agent-database-collectors.listdatabasecollectors outputParameters: - type: object mapping: $. - path: /v1/databases/collectors/batchdelete name: rest-databases-collectors-batchdelete description: REST surface for rest-databases-collectors-batchDelete. operations: - method: POST name: batchdeletedatabasecollectors description: Batch delete database collectors call: database-agent-database-collectors.batchdeletedatabasecollectors with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/databases/collectors/create name: rest-databases-collectors-create description: REST surface for rest-databases-collectors-create. operations: - method: POST name: createdatabasecollector description: Create a database collector call: database-agent-database-collectors.createdatabasecollector with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/databases/collectors/update name: rest-databases-collectors-update description: REST surface for rest-databases-collectors-update. operations: - method: POST name: updatedatabasecollector description: Update a database collector call: database-agent-database-collectors.updatedatabasecollector with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/databases/collectors/{configurationid} name: rest-databases-collectors-configurationid description: REST surface for rest-databases-collectors-configurationId. operations: - method: GET name: getdatabasecollector description: Get a specific database collector call: database-agent-database-collectors.getdatabasecollector outputParameters: - type: object mapping: $. - method: DELETE name: deletedatabasecollector description: Delete a database collector call: database-agent-database-collectors.deletedatabasecollector outputParameters: - type: object mapping: $. - type: mcp namespace: database-agent-database-collectors-mcp port: 9090 transport: http description: MCP adapter for AppDynamics Database Agent API — Database Collectors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-database-collectors description: List all database collectors hints: readOnly: true destructive: false idempotent: true call: database-agent-database-collectors.listdatabasecollectors outputParameters: - type: object mapping: $. - name: batch-delete-database-collectors description: Batch delete database collectors hints: readOnly: false destructive: false idempotent: false call: database-agent-database-collectors.batchdeletedatabasecollectors with: body: tools.body outputParameters: - type: object mapping: $. - name: create-database-collector description: Create a database collector hints: readOnly: false destructive: false idempotent: false call: database-agent-database-collectors.createdatabasecollector with: body: tools.body outputParameters: - type: object mapping: $. - name: update-database-collector description: Update a database collector hints: readOnly: false destructive: false idempotent: false call: database-agent-database-collectors.updatedatabasecollector with: body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-database-collector description: Get a specific database collector hints: readOnly: true destructive: false idempotent: true call: database-agent-database-collectors.getdatabasecollector outputParameters: - type: object mapping: $. - name: delete-database-collector description: Delete a database collector hints: readOnly: false destructive: true idempotent: true call: database-agent-database-collectors.deletedatabasecollector outputParameters: - type: object mapping: $.