naftiko: 1.0.0-alpha2 info: label: Azure API Management REST API — Diagnostic description: 'Azure API Management REST API — Diagnostic. 6 operations. Lead operation: Microsoft Azure API Management Diagnostic_ListByService. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.' tags: - Microsoft Azure Api Management - Diagnostic created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY capability: consumes: - type: http namespace: rest-diagnostic baseUri: https://management.azure.com description: Azure API Management REST API — Diagnostic business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics operations: - name: diagnosticlistbyservice method: GET description: Microsoft Azure API Management Diagnostic_ListByService outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId} operations: - name: diagnosticgetentitytag method: HEAD description: Microsoft Azure API Management Diagnostic_GetEntityTag outputRawFormat: json outputParameters: - name: result type: object value: $. - name: diagnosticget method: GET description: Microsoft Azure API Management Diagnostic_Get outputRawFormat: json outputParameters: - name: result type: object value: $. - name: diagnosticcreateorupdate method: PUT description: Microsoft Azure API Management Diagnostic_CreateOrUpdate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: diagnosticupdate method: PATCH description: Microsoft Azure API Management Diagnostic_Update outputRawFormat: json outputParameters: - name: result type: object value: $. - name: diagnosticdelete method: DELETE description: Microsoft Azure API Management Diagnostic_Delete outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_API_MANAGEMENT_API_KEY}}' exposes: - type: rest namespace: rest-diagnostic-rest port: 8080 description: REST adapter for Azure API Management REST API — Diagnostic. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/diagnostics name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: diagnosticlistbyservice description: Microsoft Azure API Management Diagnostic_ListByService call: rest-diagnostic.diagnosticlistbyservice outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/diagnostics/{diagnosticid} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: HEAD name: diagnosticgetentitytag description: Microsoft Azure API Management Diagnostic_GetEntityTag call: rest-diagnostic.diagnosticgetentitytag outputParameters: - type: object mapping: $. - method: GET name: diagnosticget description: Microsoft Azure API Management Diagnostic_Get call: rest-diagnostic.diagnosticget outputParameters: - type: object mapping: $. - method: PUT name: diagnosticcreateorupdate description: Microsoft Azure API Management Diagnostic_CreateOrUpdate call: rest-diagnostic.diagnosticcreateorupdate outputParameters: - type: object mapping: $. - method: PATCH name: diagnosticupdate description: Microsoft Azure API Management Diagnostic_Update call: rest-diagnostic.diagnosticupdate outputParameters: - type: object mapping: $. - method: DELETE name: diagnosticdelete description: Microsoft Azure API Management Diagnostic_Delete call: rest-diagnostic.diagnosticdelete outputParameters: - type: object mapping: $. - type: mcp namespace: rest-diagnostic-mcp port: 9090 transport: http description: MCP adapter for Azure API Management REST API — Diagnostic. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-api-management-diagnostic description: Microsoft Azure API Management Diagnostic_ListByService hints: readOnly: true destructive: false idempotent: true call: rest-diagnostic.diagnosticlistbyservice outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-diagnostic-2 description: Microsoft Azure API Management Diagnostic_GetEntityTag hints: readOnly: false destructive: false idempotent: false call: rest-diagnostic.diagnosticgetentitytag outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-diagnostic-3 description: Microsoft Azure API Management Diagnostic_Get hints: readOnly: true destructive: false idempotent: true call: rest-diagnostic.diagnosticget outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-diagnostic-4 description: Microsoft Azure API Management Diagnostic_CreateOrUpdate hints: readOnly: false destructive: false idempotent: true call: rest-diagnostic.diagnosticcreateorupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-diagnostic-5 description: Microsoft Azure API Management Diagnostic_Update hints: readOnly: false destructive: false idempotent: true call: rest-diagnostic.diagnosticupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-diagnostic-6 description: Microsoft Azure API Management Diagnostic_Delete hints: readOnly: false destructive: true idempotent: true call: rest-diagnostic.diagnosticdelete outputParameters: - type: object mapping: $.