Skip to content

Commit fd54297

Browse files
authored
Fix typos and improve clarity in API docs
1 parent d52cbfe commit fd54297

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

api-reference/beta/api/devicetemplate-get.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GET /directory/templates/deviceTemplates/{id}
4343
4444
## Optional query parameters
4545

46-
This method supports the `$select` [OData query parameters](/graph/query-parameters) to help customize the response. The following table lists examples.
46+
This method supports the `$select` [OData query parameter](/graph/query-parameters) to help customize the response.
4747

4848
## Request headers
4949

@@ -63,10 +63,10 @@ For more information, see [Microsoft Graph error responses and resource types](/
6363

6464
## Examples
6565

66+
### Request
67+
6668
The following example shows how to get a device template by its **id** with a certificate authority-issued mTLS certificate.
6769

68-
### Request
69-
The following example shows a request.
7070
<!-- {
7171
"blockType": "request",
7272
"name": "get_devicetemplate"

api-reference/beta/api/devicetemplate-list-owners.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ GET /directory/templates/deviceTemplates/{id}/owners
4040
4141
## Optional query parameters
4242

43-
This method supports the `$select` and `$top` OData query parameters to help customize the response. Page size for `$top` results is between 1 and 999 inclusive. For general information, see [OData query parameters](/graph/query-parameters).
43+
This method supports the `$select` and `$top` OData query parameters to help customize the response. The page size for `$top` results is between 1 and 999, inclusive. For general information, see [OData query parameters](/graph/query-parameters).
4444

4545
## Request headers
4646

@@ -54,7 +54,7 @@ Don't supply a request body for this method.
5454

5555
## Response
5656

57-
If successful, this method returns a `200 OK` response code and a collection of [directoryObject](../resources/directoryObject.md) objects in the response body, with the `@odata.type` property of each object in the collection indicating the directory object type. Only [service principals](../resources/serviceprincipal.md), [users](../resources/users.md), or [applications](../resources/application.md) can be owners of device templates.
57+
If successful, this method returns a `200 OK` response code and a collection of [directoryObject](../resources/directoryObject.md) objects in the response body, with the **@odata.type** property of each object in the collection indicating the directory object type. Only [service principals](../resources/serviceprincipal.md), [users](../resources/users.md), or [applications](../resources/application.md) can be owners of device templates.
5858

5959
For more information, see [Microsoft Graph error responses and resource types](/graph/errors).
6060

@@ -81,7 +81,7 @@ The following example shows the response.
8181
<!-- {
8282
"blockType": "response",
8383
"truncated": true,
84-
"@odata.type": "Collection(microsoft.graph.servicePrincipal)"
84+
"@odata.type": "Collection(microsoft.graph.directoryObject)"
8585
}
8686
-->
8787
``` http

api-reference/beta/api/devicetemplate-post-owners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Namespace: microsoft.graph
1414

1515
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1616

17-
Add a new owner to a [deviceTemplate](../resources/devicetemplate.md) object. Owners are granted permissions to enable or disable devices and update properties like **alternativeNames** for the devices created from these device templates. As an owner, no other administrator roles are necessary to create, update, delete the devices from this template, as well as to add or remove template owners. Owners added via this API can are returned in a [list device owners](../api/devicetemplate-list-owners.md) request.
17+
Add a new owner to a [deviceTemplate](../resources/devicetemplate.md) object. Owners are granted permissions to enable or disable devices and update properties, such as **alternativeNames**, for the devices created from these device templates. As an owner, no other administrator roles are necessary to create, update, or delete devices from this template, as well as to add or remove template owners. Owners added via this API are returned in a [list device owners](../api/devicetemplate-list-owners.md) request.
1818

1919
## Permissions
2020

api-reference/beta/api/template-list-devicetemplates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GET /directory/templates/deviceTemplates
3838

3939
## Optional query parameters
4040

41-
This method supports the `$filter`, `$select`, and `$top` OData query parameters to help customize the response. Page size for `$top` results is between 1 and 999 inclusive. For general information, see [OData query parameters](/graph/query-parameters).
41+
This method supports the `$filter`, `$select`, and `$top` OData query parameters to help customize the response. The page size for `$top` results is between 1 and 999, inclusive. For general information, see [OData query parameters](/graph/query-parameters).
4242

4343
## Request headers
4444

0 commit comments

Comments
 (0)