naftiko: 1.0.0-alpha2 info: label: Azure App Service REST API — Web Apps description: 'Azure App Service REST API — Web Apps. 6 operations. Lead operation: Azure App Service REST API List by subscription. Self-contained Naftiko capability covering one Microsoft Azure App Service business surface.' tags: - Microsoft Azure App Service - Web Apps created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_APP_SERVICE_API_KEY: MICROSOFT_AZURE_APP_SERVICE_API_KEY capability: consumes: - type: http namespace: microsoft-azure-app-service-web-apps baseUri: https://management.azure.com description: Azure App Service REST API — Web Apps business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.Web-sites path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/sites operations: - name: listsitesbysubscription method: GET description: Azure App Service REST API List by subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites operations: - name: listsitesbyresourcegroup method: GET description: Azure App Service REST API List by resource group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} operations: - name: getsites method: GET description: Azure App Service REST API Get resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorupdatesites method: PUT description: Azure App Service REST API Create or update resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: updatesites method: PATCH description: Azure App Service REST API Update resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletesites method: DELETE description: Azure App Service REST API Delete resource outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_APP_SERVICE_API_KEY}}' exposes: - type: rest namespace: microsoft-azure-app-service-web-apps-rest port: 8080 description: REST adapter for Azure App Service REST API — Web Apps. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-web/sites name: subscriptions-subscriptionid-providers-microsoft-web-sites description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Web-sites. operations: - method: GET name: listsitesbysubscription description: Azure App Service REST API List by subscription call: microsoft-azure-app-service-web-apps.listsitesbysubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/sites name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: listsitesbyresourcegroup description: Azure App Service REST API List by resource group call: microsoft-azure-app-service-web-apps.listsitesbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/sites/{name} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: getsites description: Azure App Service REST API Get resource call: microsoft-azure-app-service-web-apps.getsites outputParameters: - type: object mapping: $. - method: PUT name: createorupdatesites description: Azure App Service REST API Create or update resource call: microsoft-azure-app-service-web-apps.createorupdatesites with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updatesites description: Azure App Service REST API Update resource call: microsoft-azure-app-service-web-apps.updatesites with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesites description: Azure App Service REST API Delete resource call: microsoft-azure-app-service-web-apps.deletesites outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-azure-app-service-web-apps-mcp port: 9090 transport: http description: MCP adapter for Azure App Service REST API — Web Apps. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-app-service-rest-api description: Azure App Service REST API List by subscription hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-app-service-web-apps.listsitesbysubscription outputParameters: - type: object mapping: $. - name: azure-app-service-rest-api-2 description: Azure App Service REST API List by resource group hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-app-service-web-apps.listsitesbyresourcegroup outputParameters: - type: object mapping: $. - name: azure-app-service-rest-api-3 description: Azure App Service REST API Get resource hints: readOnly: true destructive: false idempotent: true call: microsoft-azure-app-service-web-apps.getsites outputParameters: - type: object mapping: $. - name: azure-app-service-rest-api-4 description: Azure App Service REST API Create or update resource hints: readOnly: false destructive: false idempotent: true call: microsoft-azure-app-service-web-apps.createorupdatesites with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-app-service-rest-api-5 description: Azure App Service REST API Update resource hints: readOnly: false destructive: false idempotent: true call: microsoft-azure-app-service-web-apps.updatesites with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-app-service-rest-api-6 description: Azure App Service REST API Delete resource hints: readOnly: false destructive: true idempotent: true call: microsoft-azure-app-service-web-apps.deletesites outputParameters: - type: object mapping: $.