silent
silent

Reputation: 16148

REST API for IoT Edge module twins?

What is the corresponding REST API to read and update the twins of Azure IoT Edge modules? For IoT devices this API works. So far I only can see the twins in the portal and via the SDK.

Upvotes: 0

Views: 537

Answers (1)

Jun Han
Jun Han

Reputation: 13831

For reading Module Twin, the format of REST API for is /twins/${deviceId}/modules/${moduleId}?api-version=${IoTHubApiVersion}. You could refer to the code in Azure IoT Toolkit extension for reference to learn how it reads Module Twin.

Upvotes: 1

Related Questions