Skip to content

Commit 8fb889b

Browse files
committed
manage devices
1 parent de0601a commit 8fb889b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/iot-central/core/howto-manage-devices-with-rest-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The IoT Central REST API lets you:
2626
* Update a device in your application
2727
* Get a list of the devices in the application
2828
* Get a device by ID
29-
* Get a device credentials
29+
* Get a device credential
3030
* Delete a device in your application
3131

3232
### Add a device
@@ -125,7 +125,7 @@ PATCH https://{subdomain}.{baseDomain}/api/devices/{deviceId}?api-version=1.0
125125
>[!NOTE]
126126
>`{deviceTemplateId}` should be the same as the `@id` in the payload.
127127
128-
The sample request body looks like the following example which updates a the `displayName` to the device:
128+
The sample request body looks like the following example which updates the `displayName` to the device:
129129

130130
```json
131131
{
@@ -250,7 +250,7 @@ Use **$filter** to create expressions that filter the list of devices. The follo
250250
| Comparison Operator | Symbol | Example |
251251
| -------------------- | ------ | --------------------------------------- |
252252
| Equals | eq | id eq 'device1' and scopes eq 'redmond' |
253-
| Not Equals | ne | enabled ne true |
253+
| Not Equals | ne | Enabled ne true |
254254
| Less than or equals | le | indexof(displayName, 'device1') le -1 |
255255
| Less than | lt | indexof(displayName, 'device1') lt 0 |
256256
| Greater than or equals | ge | indexof(displayName, 'device1') ge 0 |
@@ -395,4 +395,4 @@ The response to this request looks like the following example:
395395

396396
## Next steps
397397

398-
Now that you've learned how to manage device devices with the REST API, a suggested next step is to [How to control devices with rest api.](howto-control-devices-with-rest-api)
398+
Now that you've learned how to manage devices with the REST API, a suggested next step is to [How to control devices with rest api.](howto-control-devices-with-rest-api.md)

0 commit comments

Comments
 (0)