Skip to content

Commit 485962b

Browse files
authored
Apply PR review pencil edits
1 parent bae4554 commit 485962b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -980,11 +980,11 @@ The response to this request looks like the following example:
980980
You can use ODATA filters to filter the results returned by the list device templates API.
981981

982982
> [!NOTE]
983-
> Currently, ODATA support is only available for `api-version=1.1-preview`
983+
> Currently, ODATA support is only available for `api-version=1.1-preview`.
984984
985985
### $top
986986

987-
Use the **$top** filter to set the result size, the maximum returned result size is 100, the default size is 25.
987+
Use the **$top** filter to set the result size. The maximum returned result size is 100, and the default size is 25.
988988

989989
Use the following request to retrieve the top 10 device templates from your application:
990990

@@ -1170,7 +1170,7 @@ The response to this request looks like the following example:
11701170

11711171
### $orderby
11721172

1173-
Use **$orderby** to sort the results. Currently, **$orderby** only lets you sort on **displayName**. By default, **$orderby** sorts in ascending order, use **desc** to sort in descending order, for example:
1173+
Use **$orderby** to sort the results. Currently, **$orderby** only lets you sort on **displayName**. By default, **$orderby** sorts in ascending order. Use **desc** to sort in descending order, for example:
11741174

11751175
```
11761176
$orderby=displayName
@@ -1258,9 +1258,9 @@ The response to this request looks like the following example:
12581258
}
12591259
```
12601260

1261-
You can also combine two or more filters
1261+
You can also combine two or more filters.
12621262

1263-
The following example shows how to retrieve top 2 device templates where the display name contains the string `thermostat`
1263+
The following example shows how to retrieve the top 2 device templates where the display name contains the string `thermostat`.
12641264

12651265
```http
12661266
GET https://{subdomain}.{baseDomain}/api/deviceTemplates?api-version=1.1-preview&$filter=contains(displayName, 'thermostat')&$top=2

0 commit comments

Comments
 (0)