Skip to content

Commit 0941f83

Browse files
authored
Merge pull request #25333 from microsoftgraph/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/microsoftgraph/microsoft-graph-docs-contrib (branch main)
2 parents 128c45e + a6ebc10 commit 0941f83

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

api-reference/beta/api/filestoragecontainer-lock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
3030
## HTTP request
3131

3232
``` http
33-
POST /storageContainers/{containerId}/lock
33+
POST /storage/fileStorage/containers/{containerId}/lock
3434
```
3535

3636
## Request body
@@ -57,7 +57,7 @@ If successful, this method returns a `204 No Content` response code.
5757
The following example shows how to lock a fileStorageContainer.
5858

5959
``` http
60-
POST https://graph.microsoft.com/beta/storageContainers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/lock
60+
POST https://graph.microsoft.com/beta/storage/fileStorage/containers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/lock
6161
6262
{
6363
"lockState": "lockedReadOnly"

api-reference/beta/api/filestoragecontainer-unlock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ When delegated permissions are used, only members in the `owner` role can call t
2929
## HTTP request
3030

3131
``` http
32-
POST /storageContainers/{containerId}/unlock
32+
POST /storage/fileStorage/containers/{containerId}/unlock
3333
```
3434

3535
## Request headers
@@ -51,7 +51,7 @@ If successful, this method returns a `204 No Content` response code.
5151
The following example shows how to unlock a **fileStorageContainer**.
5252

5353
``` http
54-
POST https://graph.microsoft.com/beta/storageContainers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/unlock
54+
POST https://graph.microsoft.com/beta/storage/fileStorage/containers/b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z/unlock
5555
```
5656

5757
### Response

concepts/sdks/batch-requests.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ The Microsoft Graph SDKs provide three classes to work with batch requests and r
2020

2121
- **BatchRequestStep** - Represents a single request (such as `GET /me`) within a batch. It enables assigning a unique identifier to the request and specifying dependencies between requests.
2222
- **BatchRequestContent** - Simplifies creating the batch request payload. It contains multiple **BatchRequestStep** objects.
23-
- **BatchResponseContent** - Simplifies parsing the response from a batch request. It provides the ability to get all responses, get a specific response by ID, and get the `@odata.nextLink` property if present.
23+
- **BatchResponseContent** - Simplifies parsing the response from a batch request. It enables you to get all responses, get a specific response by ID, and get the `@odata.nextLink` property if present.
24+
25+
### Automatic batching for request limits
26+
27+
The Microsoft Graph SDK automatically handles batching requests with respect to the limit of 20 requests per batch. This means that if your code exceeds this limit, the SDK splits the requests into separate batches behind the scenes. This ensures that each batch complies with the limitation. You no longer need to manually implement logic to handle this batching limit, which makes your code cleaner and easier to manage.
2428

2529
## Simple batching example
2630

27-
This example shows how to send multiple requests in a batch that are not dependent on each other. The requests can be run by the service in any order. This example gets the user and gets the user's calendar view for the current day.
31+
This example shows how to send multiple requests in a batch that are not dependent on each other. The service can run the requests in any order. This example gets the user and gets the user's calendar view for the current day.
2832

2933
### [C#](#tab/csharp)
3034

@@ -50,10 +54,10 @@ This example shows how to send multiple requests in a batch that are not depende
5054

5155
## Batches with dependent requests
5256

53-
This example shows how to send multiple requests in a batch that are dependent on each other. The requests will be run by the service in the order specified by the dependencies. This example adds an event with a start time during the current day to the user's calendar and gets the user's calendar view for the current day. To make sure that the calendar review returned includes the new event created, the request for the calendar view is configured as dependent on the request to add the new event. This ensures that the add event request will execute first.
57+
This example shows how to send multiple requests in a batch that are dependent on each other. The service runs the request in the order specified by the dependencies. This example adds an event with a start time during the current day to the user's calendar and gets the user's calendar view for the current day. To make sure that the calendar review returned includes the new event created, the request for the calendar view is configured as dependent on the request to add the new event. This ensures that the add event request runs first.
5458

5559
> [!NOTE]
56-
> If the add event request fails, the get calendar view request will fail with a `424 Failed Dependency` error.
60+
> If the add event request fails, the get calendar view request fails with a `424 Failed Dependency` error.
5761
5862
### [C#](#tab/csharp)
5963

@@ -76,3 +80,6 @@ This example shows how to send multiple requests in a batch that are dependent o
7680
:::code language="typescript" source="./snippets/typescript/src/snippets/batchRequests.ts" id="DependentBatchSnippet":::
7781

7882
---
83+
84+
85+

0 commit comments

Comments
 (0)