naftiko: 1.0.0-alpha2 info: label: AppDynamics OAuth Authentication API — OAuth Tokens description: 'AppDynamics OAuth Authentication API — OAuth Tokens. 2 operations. Lead operation: Generate an OAuth access token. Self-contained Naftiko capability covering one Appdynamics business surface.' tags: - Appdynamics - OAuth Tokens created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPDYNAMICS_API_KEY: APPDYNAMICS_API_KEY capability: consumes: - type: http namespace: authentication-oauth-tokens baseUri: https://{controller-host}/controller description: AppDynamics OAuth Authentication API — OAuth Tokens business capability. Self-contained, no shared references. resources: - name: api-oauth-access_token path: /api/oauth/access_token operations: - name: generateaccesstoken method: POST description: Generate an OAuth access token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: auth-tenantId-default-oauth2-token path: /auth/{tenantId}/default/oauth2/token operations: - name: generateplatformaccesstoken method: POST description: Generate a Cisco Observability Platform access token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tenantId in: path type: string description: The tenant identifier for your Cisco Observability Platform account. required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: authentication-oauth-tokens-rest port: 8080 description: REST adapter for AppDynamics OAuth Authentication API — OAuth Tokens. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/oauth/access-token name: api-oauth-access-token description: REST surface for api-oauth-access_token. operations: - method: POST name: generateaccesstoken description: Generate an OAuth access token call: authentication-oauth-tokens.generateaccesstoken with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/auth/{tenantid}/default/oauth2/token name: auth-tenantid-default-oauth2-token description: REST surface for auth-tenantId-default-oauth2-token. operations: - method: POST name: generateplatformaccesstoken description: Generate a Cisco Observability Platform access token call: authentication-oauth-tokens.generateplatformaccesstoken with: tenantId: rest.tenantId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: authentication-oauth-tokens-mcp port: 9090 transport: http description: MCP adapter for AppDynamics OAuth Authentication API — OAuth Tokens. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: generate-oauth-access-token description: Generate an OAuth access token hints: readOnly: false destructive: false idempotent: false call: authentication-oauth-tokens.generateaccesstoken with: body: tools.body outputParameters: - type: object mapping: $. - name: generate-cisco-observability-platform-access description: Generate a Cisco Observability Platform access token hints: readOnly: false destructive: false idempotent: false call: authentication-oauth-tokens.generateplatformaccesstoken with: tenantId: tools.tenantId body: tools.body outputParameters: - type: object mapping: $.