naftiko: 1.0.0-alpha2 info: label: Azure API Management REST API — Policy description: 'Azure API Management REST API — Policy. 5 operations. Lead operation: Microsoft Azure API Management Policy_ListByService. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.' tags: - Microsoft Azure Api Management - Policy 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-policy baseUri: https://management.azure.com description: Azure API Management REST API — Policy 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}/policies operations: - name: policylistbyservice method: GET description: Microsoft Azure API Management Policy_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}/policies/{policyId} operations: - name: policygetentitytag method: HEAD description: Microsoft Azure API Management Policy_GetEntityTag outputRawFormat: json outputParameters: - name: result type: object value: $. - name: policyget method: GET description: Microsoft Azure API Management Policy_Get outputRawFormat: json outputParameters: - name: result type: object value: $. - name: policycreateorupdate method: PUT description: Microsoft Azure API Management Policy_CreateOrUpdate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: policydelete method: DELETE description: Microsoft Azure API Management Policy_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-policy-rest port: 8080 description: REST adapter for Azure API Management REST API — Policy. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/policies name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: policylistbyservice description: Microsoft Azure API Management Policy_ListByService call: rest-policy.policylistbyservice outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/policies/{policyid} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: HEAD name: policygetentitytag description: Microsoft Azure API Management Policy_GetEntityTag call: rest-policy.policygetentitytag outputParameters: - type: object mapping: $. - method: GET name: policyget description: Microsoft Azure API Management Policy_Get call: rest-policy.policyget outputParameters: - type: object mapping: $. - method: PUT name: policycreateorupdate description: Microsoft Azure API Management Policy_CreateOrUpdate call: rest-policy.policycreateorupdate outputParameters: - type: object mapping: $. - method: DELETE name: policydelete description: Microsoft Azure API Management Policy_Delete call: rest-policy.policydelete outputParameters: - type: object mapping: $. - type: mcp namespace: rest-policy-mcp port: 9090 transport: http description: MCP adapter for Azure API Management REST API — Policy. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-api-management-policy description: Microsoft Azure API Management Policy_ListByService hints: readOnly: true destructive: false idempotent: true call: rest-policy.policylistbyservice outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-policy-2 description: Microsoft Azure API Management Policy_GetEntityTag hints: readOnly: false destructive: false idempotent: false call: rest-policy.policygetentitytag outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-policy-3 description: Microsoft Azure API Management Policy_Get hints: readOnly: true destructive: false idempotent: true call: rest-policy.policyget outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-policy-4 description: Microsoft Azure API Management Policy_CreateOrUpdate hints: readOnly: false destructive: false idempotent: true call: rest-policy.policycreateorupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-policy-5 description: Microsoft Azure API Management Policy_Delete hints: readOnly: false destructive: true idempotent: true call: rest-policy.policydelete outputParameters: - type: object mapping: $.