naftiko: 1.0.0-alpha2 info: label: Microsoft Endpoint Configuration Management Configuration Manager REST API (AdminService) — Devices description: 'Microsoft Endpoint Configuration Management Configuration Manager REST API (AdminService) — Devices. 4 operations. Lead operation: Microsoft Endpoint Configuration Management List devices (versioned route). Self-contained Naftiko capability covering one Microsoft Endpoint Configuration Management business surface.' tags: - Microsoft Endpoint Configuration Management - Devices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_ENDPOINT_CONFIGURATION_MANAGEMENT_API_KEY: MICROSOFT_ENDPOINT_CONFIGURATION_MANAGEMENT_API_KEY capability: consumes: - type: http namespace: configmgr-rest-devices baseUri: https://{siteserver}/AdminService description: Microsoft Endpoint Configuration Management Configuration Manager REST API (AdminService) — Devices business capability. Self-contained, no shared references. resources: - name: v1.0-Device path: /v1.0/Device operations: - name: listdevicesv1 method: GET description: Microsoft Endpoint Configuration Management List devices (versioned route) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1.0-Device({deviceId}) path: /v1.0/Device({deviceId}) operations: - name: getdevicev1 method: GET description: Microsoft Endpoint Configuration Management Get a device (versioned route) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deviceId in: path type: integer required: true - name: wmi-SMS_Device path: /wmi/SMS_Device operations: - name: listdeviceswmi method: GET description: Microsoft Endpoint Configuration Management List devices via WMI route outputRawFormat: json outputParameters: - name: result type: object value: $. - name: wmi-SMS_R_System path: /wmi/SMS_R_System operations: - name: listsystems method: GET description: Microsoft Endpoint Configuration Management List systems outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_ENDPOINT_CONFIGURATION_MANAGEMENT_API_KEY}}' exposes: - type: rest namespace: configmgr-rest-devices-rest port: 8080 description: REST adapter for Microsoft Endpoint Configuration Management Configuration Manager REST API (AdminService) — Devices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1-0/device name: v1-0-device description: REST surface for v1.0-Device. operations: - method: GET name: listdevicesv1 description: Microsoft Endpoint Configuration Management List devices (versioned route) call: configmgr-rest-devices.listdevicesv1 outputParameters: - type: object mapping: $. - path: /v1/v1-0/device-deviceid name: v1-0-device-deviceid description: REST surface for v1.0-Device({deviceId}). operations: - method: GET name: getdevicev1 description: Microsoft Endpoint Configuration Management Get a device (versioned route) call: configmgr-rest-devices.getdevicev1 with: deviceId: rest.deviceId outputParameters: - type: object mapping: $. - path: /v1/wmi/sms-device name: wmi-sms-device description: REST surface for wmi-SMS_Device. operations: - method: GET name: listdeviceswmi description: Microsoft Endpoint Configuration Management List devices via WMI route call: configmgr-rest-devices.listdeviceswmi outputParameters: - type: object mapping: $. - path: /v1/wmi/sms-r-system name: wmi-sms-r-system description: REST surface for wmi-SMS_R_System. operations: - method: GET name: listsystems description: Microsoft Endpoint Configuration Management List systems call: configmgr-rest-devices.listsystems outputParameters: - type: object mapping: $. - type: mcp namespace: configmgr-rest-devices-mcp port: 9090 transport: http description: MCP adapter for Microsoft Endpoint Configuration Management Configuration Manager REST API (AdminService) — Devices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-endpoint-configuration-management-list description: Microsoft Endpoint Configuration Management List devices (versioned route) hints: readOnly: true destructive: false idempotent: true call: configmgr-rest-devices.listdevicesv1 outputParameters: - type: object mapping: $. - name: microsoft-endpoint-configuration-management-get description: Microsoft Endpoint Configuration Management Get a device (versioned route) hints: readOnly: true destructive: false idempotent: true call: configmgr-rest-devices.getdevicev1 with: deviceId: tools.deviceId outputParameters: - type: object mapping: $. - name: microsoft-endpoint-configuration-management-list-2 description: Microsoft Endpoint Configuration Management List devices via WMI route hints: readOnly: true destructive: false idempotent: true call: configmgr-rest-devices.listdeviceswmi outputParameters: - type: object mapping: $. - name: microsoft-endpoint-configuration-management-list-3 description: Microsoft Endpoint Configuration Management List systems hints: readOnly: true destructive: false idempotent: true call: configmgr-rest-devices.listsystems outputParameters: - type: object mapping: $.