Skip to content

Commit 897cc1e

Browse files
authored
Update site-get.md
1 parent 9b334d1 commit 897cc1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ GET /groups/{group-id}/sites/root
6161

6262
The following example shows a request that gets a site by its site ID. A site ID is the value of the **id** property of its **site** resource. For more information on the format of the site ID, see [site](../resources/site.md#id-property).
6363

64-
<!-- { "blockType": "request", "name": "get-site" } -->
64+
<!-- { "blockType": "request", "name": "get-site", "sampleKeys": ["contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE"] } -->
6565

6666
```msgraph-interactive
6767
GET https://graph.microsoft.com/beta/sites/contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE
@@ -96,7 +96,7 @@ Content-type: application/json
9696

9797
The following example shows a request that gets a site by its hostname and server relative path.
9898

99-
<!-- { "blockType": "request", "name": "get-site-by-url", "scopes": "sites.read.all" } -->
99+
<!-- { "blockType": "request", "name": "get-site-by-url", "scopes": "sites.read.all", "sampleKeys": ["contoso.sharepoint.com:/teams/1drvteam"] } -->
100100
```http
101101
GET https://graph.microsoft.com/beta/sites/contoso.sharepoint.com:/teams/1drvteam
102102
```

0 commit comments

Comments
 (0)