Skip to content

Commit b75638d

Browse files
Merge pull request #276465 from dominicbetts/iot-device-api
IoT: Fix device API links
2 parents 090cd3c + a300fba commit b75638d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

articles/iot-central/core/overview-iot-central-developer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ The following options support ephemeral device connections:
139139

140140
- Connect devices and send telemetry by using HTTP:
141141

142-
IoT Central supports device clients that use the HTTP API to send telemetry. To learn more, see the [Send Device Event](/rest/api/iothub/device/send-device-event) API documentation.
142+
IoT Central supports device clients that use the HTTP API to send telemetry. To learn more, see the [Send Device Event](/rest/api/iothub/device/device/send-device-event) API documentation.
143143

144144
> [!NOTE]
145145
> Use DPS to provision and register your device with IoT Central before you use the HTTP API to send telemetry.

articles/iot-dps/iot-dps-https-x509-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ az iot dps certificate create -g {resource_group_name} --dps-name {dps_name} --c
260260

261261
## Register your device
262262

263-
You call the [Register Device](/rest/api/iot-dps/device/device-registration-state) REST API to provision your device through DPS.
263+
You call the [Register Device](/rest/api/iot-dps/device/runtime-registration/register-device) REST API to provision your device through DPS.
264264

265265
Use the following curl command:
266266

@@ -386,7 +386,7 @@ Note down the device ID and the assigned IoT hub. You'll use them to send a tele
386386
387387
## Send a telemetry message
388388
389-
You call the IoT Hub [Send Device Event](/rest/api/iothub/device/send-device-event) REST API to send telemetry to the device.
389+
You call the IoT Hub [Send Device Event](/rest/api/iothub/device/device/send-device-event) REST API to send telemetry to the device.
390390
391391
Use the following curl command:
392392

articles/iot-hub/iot-hub-devguide-file-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Working with Azure storage APIs is beyond the scope of this article. In addition
172172

173173
## Device: Notify IoT Hub of a completed file upload
174174

175-
The device calls the [Update File Upload Status](/rest/api/iothub/device/update-file-upload-status) REST API or the equivalent API in one of the device SDKs when it completes the file upload. The device should update the file upload status with IoT Hub regardless of whether the upload succeeds or fails.
175+
The device calls the [Update File Upload Status](/rest/api/iothub/device/device/update-file-upload-status) REST API or the equivalent API in one of the device SDKs when it completes the file upload. The device should update the file upload status with IoT Hub regardless of whether the upload succeeds or fails.
176176

177177
**Supported protocols**: HTTPS <br/>
178178
**Endpoint**: {iot hub}.azure-devices.net/devices/{deviceId}/files/notifications <br/>

articles/iot-hub/iot-hub-devguide-pricing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Use the following table to help determine which operations are charged. All bill
3030
| --------- | ------------------- |
3131
| Identity registry operations <br/> (create, update, get, list, delete, bulk update, statistics) | Not charged. |
3232
| Device-to-cloud messages | Successfully sent messages are charged in 4-KB chunks on ingress into IoT Hub. For example, a 100-byte message is charged as one message, and a 6-KB message is charged as two messages. <br/><br/> [Send Device Event](/azure/event-hubs/event-hubs-dotnet-standard-getstarted-send): either *Device to Cloud Telemetry* or *Device to Cloud Telemetry Routing* depending on whether the IoT hub has message routing features configured. |
33-
| Cloud-to-device messages | Successfully sent messages are charged in 4-KB chunks. For example, a 6-KB message is charged as two messages. <br/><br/> [Receive Device Bound Notification](/rest/api/iothub/device/receive-device-bound-notification): *Cloud To Device Command* |
34-
| File uploads | File transfer to Azure Storage isn't metered by IoT Hub. File transfer initiation and completion messages are charged as messaged metered in 4-KB increments. For example, transferring a 10-MB file is charged as two messages in addition to the Azure Storage cost. <br/><br/> [Create File Upload Sas Uri](/rest/api/iothub/operation-groups): *Device To Cloud File Upload* <br/> [Update File Upload Status](/rest/api/iothub/device/update-file-upload-status): *Device To Cloud File Upload* |
33+
| Cloud-to-device messages | Successfully sent messages are charged in 4-KB chunks. For example, a 6-KB message is charged as two messages. <br/><br/> [Receive Device Bound Notification](/rest/api/iothub/device/device/receive-device-bound-notification): *Cloud To Device Command* |
34+
| File uploads | File transfer to Azure Storage isn't metered by IoT Hub. File transfer initiation and completion messages are charged as messaged metered in 4-KB increments. For example, transferring a 10-MB file is charged as two messages in addition to the Azure Storage cost. <br/><br/> [Create File Upload Sas Uri](/rest/api/iothub/operation-groups): *Device To Cloud File Upload* <br/> [Update File Upload Status](/rest/api/iothub/device/device/update-file-upload-status): *Device To Cloud File Upload* |
3535
| Direct methods | Successful method requests are charged in 4-KB chunks, and responses are charged in 4-KB chunks as additional messages. Requests or responses with no payload are charged as one message. For example, a method with a 4-KB body that results in a response with no payload from the device is charged as two messages. A method with a 6-KB body that results in a 1-KB response from the device is charged as two messages for the request plus another message for the response. Requests to disconnected devices are charged as messages in 4-KB chunks plus one message for a response that indicates the device isn't online. <br/><br/> [Device - Invoke Method](/rest/api/iothub/service/devices/invoke-method): *Device Direct Invoke Method*, <br/> [Module - Invoke Method](/rest/api/iothub/service/modules/invoke-method): *Module Direct Invoke Method* |
3636
| Device and module twin reads | Twin reads from the device or module and from the solution back end are charged as messages in 4-KB chunks. For example, reading an 8-KB twin is charged as two messages. <br/><br/> [Get Twin](/rest/api/iothub/service/devices/get-twin): *Get Twin* <br/> [Get Module Twin](/rest/api/iothub/service/modules/get-twin): *Get Module Twin* <br/><br/> Read device and module twins from a device: <br/> **Endpoint**: `/devices/{id}/twin` ([MQTT](../iot/iot-mqtt-connect-to-iot-hub.md#retrieving-a-device-twins-properties), AMQP only): *D2C Get Twin* <br/> **Endpoint**: `/devices/{deviceid}/modules/{moduleid}/twin` (MQTT, AMQP only): *Module D2C Get Twin* |
3737
| Device and module twin updates (tags and properties) | Twin updates from the device or module and from the solution back end are charged as messages in 4-KB chunks. For example, a 12-KB update to a twin is charged as three messages. <br/><br/> [Update Twin](/rest/api/iothub/service/devices/update-twin): *Update Twin* <br/> [Update Module Twin](/rest/api/iothub/service/modules/update-twin): *Update Module Twin* <br/> [Replace Twin](/rest/api/iothub/service/devices/replace-twin): *Replace Twin* <br/> [Replace Module Twin](/rest/api/iothub/service/modules/replace-twin): *Replace Module Twin* <br/><br/> Update device or module twin reported properties from a device: <br/> **Endpoint**: `/twin/PATCH/properties/reported/` ([MQTT](../iot/iot-mqtt-connect-to-iot-hub.md#update-device-twins-reported-properties), AMQP only): *D2 Patch ReportedProperties* or *Module D2 Patch ReportedProperties* <br/><br/> Receive desired properties update notifications on a device: <br/> **Endpoint**: `/twin/PATCH/properties/desired/` ([MQTT](../iot/iot-mqtt-connect-to-iot-hub.md#receiving-desired-properties-update-notifications), AMQP only): *D2C Notify DesiredProperties* or *Module D2C Notify DesiredProperties* |

articles/iot/concepts-developer-guide-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ Now that you've learned about device modeling, here are some more resources:
6363

6464
- [Digital Twins Definition Language (DTDL)](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/README.md)
6565
- [C device SDK](https://github.com/Azure/azure-iot-sdk-c/)
66-
- [IoT REST API](/rest/api/iothub/device)
66+
- [IoT REST API](/rest/api/iothub/device/device)
6767
- [IoT Plug and Play modeling guide](concepts-modeling-guide.md)

articles/iot/iot-glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Applies to: Iot Hub, Device Provisioning Service, IoT Central
310310

311311
A REST API you can use on a [device](#device) to send [device-to-cloud](#device-to-cloud) messages to an [IoT hub](#iot-hub), and receive [cloud-to-device](#cloud-to-device) messages from an IoT hub. Typically, you should use one of the higher-level [Azure IoT device SDKs](#azure-iot-device-sdks).
312312

313-
[Learn more](/rest/api/iothub/device)
313+
[Learn more](/rest/api/iothub/device/device)
314314

315315
Casing rules: Always *device REST API*.
316316

0 commit comments

Comments
 (0)