Skip to content

Commit b17f75c

Browse files
authored
Merge pull request #25969 from microsoftgraph/main
Merge to publish
2 parents 85d585b + 602413e commit b17f75c

File tree

202 files changed

+2426
-346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+2426
-346
lines changed

api-reference/beta/api/call-startrecording.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The following example shows how to call this API.
5555

5656
The following example shows the request.
5757

58+
# [HTTP](#tab/http)
5859
<!-- {
5960
"blockType": "request",
6061
"name": "call-startRecording"
@@ -64,6 +65,12 @@ The following example shows the request.
6465
POST https://graph.microsoft.com/beta/communications/calls/02000980-58ea-4bf2-bb77-8ba548da56f7/microsoft.graph.StartRecording
6566
```
6667

68+
# [JavaScript](#tab/javascript)
69+
[!INCLUDE [sample-code](../includes/snippets/javascript/call-startrecording-javascript-snippets.md)]
70+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
71+
72+
---
73+
6774
---
6875

6976
### Response

api-reference/beta/api/call-starttranscription.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ The following example shows how to call this API.
5959

6060
The following example shows the request.
6161

62+
# [HTTP](#tab/http)
6263
<!-- {
6364
"blockType": "request",
6465
"name": "call-startTranscription"
@@ -74,6 +75,12 @@ Content-Length: 56
7475
}
7576
```
7677

78+
# [JavaScript](#tab/javascript)
79+
[!INCLUDE [sample-code](../includes/snippets/javascript/call-starttranscription-javascript-snippets.md)]
80+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
81+
82+
---
83+
7784
---
7885

7986
### Response

api-reference/beta/api/call-stoprecording.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The following example shows how to call this API.
5555

5656
The following example shows the request.
5757

58+
# [HTTP](#tab/http)
5859
<!-- {
5960
"blockType": "request",
6061
"name": "call-stopRecording"
@@ -64,6 +65,12 @@ The following example shows the request.
6465
POST https://graph.microsoft.com/beta/communications/calls/02000980-58ea-4bf2-bb77-8ba548da56f7/microsoft.graph.StopRecording
6566
```
6667

68+
# [JavaScript](#tab/javascript)
69+
[!INCLUDE [sample-code](../includes/snippets/javascript/call-stoprecording-javascript-snippets.md)]
70+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
71+
72+
---
73+
6774
---
6875

6976
### Response

api-reference/beta/api/call-stoptranscription.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ The following example shows how to call this API.
5959

6060
The following example shows the request.
6161

62+
# [HTTP](#tab/http)
6263
<!-- {
6364
"blockType": "request",
6465
"name": "call-stopTranscription"
@@ -75,6 +76,12 @@ Content-Length: 56
7576
7677
```
7778

79+
# [JavaScript](#tab/javascript)
80+
[!INCLUDE [sample-code](../includes/snippets/javascript/call-stoptranscription-javascript-snippets.md)]
81+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82+
83+
---
84+
7885
---
7986

8087
### Response

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ If successful, this method returns a `200 OK` response code and a [corsConfigura
6262
### Request
6363

6464
The following example shows a request.
65+
# [HTTP](#tab/http)
6566
<!-- {
6667
"blockType": "request",
6768
"name": "get_corsconfiguration_v2"
@@ -71,6 +72,12 @@ The following example shows a request.
7172
GET https://graph.microsoft.com/beta/applications/{applicationObjectId}/onPremisesPublishing/segmentsConfiguration/microsoft.graph.webSegmentConfiguration/applicationSegments/{segmentid}/corsConfigurations/{id}
7273
```
7374

75+
# [JavaScript](#tab/javascript)
76+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-corsconfiguration-v2-javascript-snippets.md)]
77+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78+
79+
---
80+
7481

7582
### Response
7683

api-reference/beta/api/corsconfiguration_v2-update.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ If successful, this method returns a `200 OK` response code and an updated [cors
6565
### Request
6666

6767
The following example shows a request.
68+
# [HTTP](#tab/http)
6869
<!-- {
6970
"blockType": "request",
7071
"name": "update_corsconfiguration_v2"
@@ -90,6 +91,12 @@ Content-Type: application/json
9091
}
9192
```
9293

94+
# [JavaScript](#tab/javascript)
95+
[!INCLUDE [sample-code](../includes/snippets/javascript/update-corsconfiguration-v2-javascript-snippets.md)]
96+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
97+
98+
---
99+
93100

94101
### Response
95102

@@ -121,4 +128,4 @@ HTTP/1.1 204 No Content
121128
"
122129
]
123130
}
124-
-->
131+
-->

api-reference/beta/api/directory-deleteditems-restore.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ Content-type: application/json
242242

243243
### Request
244244

245+
# [HTTP](#tab/http)
245246
<!-- {
246247
"blockType": "request",
247248
"name": "restore_directory_deleteditem_newUserPrincipalName"
@@ -255,6 +256,40 @@ Content-Type: application/json
255256
}
256257
```
257258

259+
# [C#](#tab/csharp)
260+
[!INCLUDE [sample-code](../includes/snippets/csharp/restore-directory-deleteditem-newuserprincipalname-csharp-snippets.md)]
261+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
262+
263+
# [CLI](#tab/cli)
264+
[!INCLUDE [sample-code](../includes/snippets/cli/restore-directory-deleteditem-newuserprincipalname-cli-snippets.md)]
265+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
266+
267+
# [Go](#tab/go)
268+
[!INCLUDE [sample-code](../includes/snippets/go/restore-directory-deleteditem-newuserprincipalname-go-snippets.md)]
269+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
270+
271+
# [Java](#tab/java)
272+
[!INCLUDE [sample-code](../includes/snippets/java/restore-directory-deleteditem-newuserprincipalname-java-snippets.md)]
273+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
274+
275+
# [JavaScript](#tab/javascript)
276+
[!INCLUDE [sample-code](../includes/snippets/javascript/restore-directory-deleteditem-newuserprincipalname-javascript-snippets.md)]
277+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
278+
279+
# [PHP](#tab/php)
280+
[!INCLUDE [sample-code](../includes/snippets/php/restore-directory-deleteditem-newuserprincipalname-php-snippets.md)]
281+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
282+
283+
# [PowerShell](#tab/powershell)
284+
[!INCLUDE [sample-code](../includes/snippets/powershell/restore-directory-deleteditem-newuserprincipalname-powershell-snippets.md)]
285+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
286+
287+
# [Python](#tab/python)
288+
[!INCLUDE [sample-code](../includes/snippets/python/restore-directory-deleteditem-newuserprincipalname-python-snippets.md)]
289+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
290+
291+
---
292+
258293
### Response
259294
> **Note:** The response object shown here might be shortened for readability.
260295
<!-- {

api-reference/beta/api/driverestoreartifactsbulkadditionrequest-delete.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ DELETE https://graph.microsoft.com/beta/solutions/backupRestore/oneDriveForBusin
9898

9999
---
100100

101-
102101
### Response
103102

104103
The following example shows the response.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ GET https://graph.microsoft.com/beta/solutions/backupRestore/oneDriveForBusiness
102102

103103
---
104104

105-
106105
### Response
107106

108107
The following example shows the response.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ If successful, this method returns a `200 OK` response code and an [ipApplicatio
6060
#### Request
6161

6262
The following example shows a request.
63+
# [HTTP](#tab/http)
6364
<!-- {
6465
"blockType": "request",
6566
"name": "get_ipapplicationsegment"
@@ -69,6 +70,12 @@ The following example shows a request.
6970
GET https://graph.microsoft.com/beta/applications/dcc40202-6223-488b-8e64-28aa1a803d6c/onPremisesPublishing/segmentsConfiguration/microsoft.graph.IpSegmentConfiguration/ApplicationSegments/df8cb1a6-4bbf-4da3-8f85-fe2fc439ab80
7071
```
7172

73+
# [JavaScript](#tab/javascript)
74+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-ipapplicationsegment-javascript-snippets.md)]
75+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
76+
77+
---
78+
7279

7380
#### Response
7481

0 commit comments

Comments
 (0)