Skip to content

Commit 9b334d1

Browse files
authored
Update site-get.md
1 parent 5de5b45 commit 9b334d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api-reference/v1.0/api/site-get.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ GET /groups/{group-id}/sites/root
6565

6666
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).
6767

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

70-
```http
70+
```msgraph-interactive
7171
GET https://graph.microsoft.com/v1.0/sites/contoso.sharepoint.com,2C712604-1370-44E7-A1F5-426573FDA80A,2D2244C3-251A-49EA-93A8-39E1C3A060FE
7272
```
7373

@@ -95,7 +95,7 @@ Content-type: application/json
9595
#### Request
9696
The following example shows a request that gets a site by its hostname and server relative path.
9797

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

0 commit comments

Comments
 (0)