Skip to content

Commit

Permalink
Merge pull request #23814 from microsoftgraph/main
Browse files Browse the repository at this point in the history
Merge to publish.
  • Loading branch information
Lauragra authored Mar 6, 2024
2 parents 49ededd + 1a17d00 commit 58f4dbf
Show file tree
Hide file tree
Showing 337 changed files with 6,039 additions and 1,282 deletions.
35 changes: 35 additions & 0 deletions api-reference/beta/api/application-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ The following example updates the **appRoles** collection for an application. To

#### Request

# [HTTP](#tab/http)
<!-- {
"blockType": "request",
"name": "update_application_approles"
Expand All @@ -179,6 +180,40 @@ Content-type: application/json
}
```

# [C#](#tab/csharp)
[!INCLUDE [sample-code](../includes/snippets/csharp/update-application-approles-csharp-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [CLI](#tab/cli)
[!INCLUDE [sample-code](../includes/snippets/cli/update-application-approles-cli-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [Go](#tab/go)
[!INCLUDE [sample-code](../includes/snippets/go/update-application-approles-go-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [Java](#tab/java)
[!INCLUDE [sample-code](../includes/snippets/java/update-application-approles-java-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [JavaScript](#tab/javascript)
[!INCLUDE [sample-code](../includes/snippets/javascript/update-application-approles-javascript-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [PHP](#tab/php)
[!INCLUDE [sample-code](../includes/snippets/php/update-application-approles-php-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [PowerShell](#tab/powershell)
[!INCLUDE [sample-code](../includes/snippets/powershell/update-application-approles-powershell-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [Python](#tab/python)
[!INCLUDE [sample-code](../includes/snippets/python/update-application-approles-python-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

---

#### Response

<!-- {
Expand Down
5 changes: 3 additions & 2 deletions api-reference/beta/api/callrecording-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ For a recording, this API returns the metadata of the single recording associate
> [!NOTE]
>
> * This is a metered API. For more information, see [payment models for meeting APIs](/graph/teams-licenses#payment-models-for-meeting-apis).
> * This API doesn't support meetings created by using the [create onlineMeeting API](/graph/api/application-post-onlinemeetings) that are not associated with an event on the user's calendar.
> * This API works differently in one or more national clouds. For details, see [Microsoft Teams API implementation differences in national clouds](/graph/teamwork-national-cloud-differences).
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
Expand All @@ -33,10 +34,10 @@ Choose the permission or permissions marked as least privileged for this API. Us

> **Notes:**
>
> * In delegated permission scenarios, [getting callRecording content](#example-2-get-callrecording-content) is supported only for the meeting organizer. Meeting participants don't have permission to download meeting recordings. For more information, see [permissions or role-based access](/microsoftteams/tmr-meeting-recording-change). Tenant admins can unblock meeting participants to download meeting recording. For more information, see [block the download of Teams meeting recording files](/MicrosoftTeams/block-download-meeting-recording).
> * In delegated permission scenarios, [getting callRecording content](#example-2-get-callrecording-content) is supported only for the meeting organizer. Meeting participants don't have permission to download meeting recordings. For more information, see [permissions or role-based access](/microsoftteams/tmr-meeting-recording-change). Tenant admins can unblock meeting participants to download meeting recordings. For more information, see [block the download of Teams meeting recording files](/MicrosoftTeams/block-download-meeting-recording).
> * The application permission `OnlineMeetingRecording.Read.Chat` uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
To use application permissions for this API, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings or online meeting artifacts on behalf of that user (with the user ID specified in the request path). For more information, see [Allow applications to access online meetings on behalf of a user](/graph/cloud-communication-online-meeting-application-access-policy).
To use application permissions for this API, tenant administrators must create an application access policy and grant it to a user. It authorizes the app configured in the policy to fetch online meetings or online meeting artifacts on behalf of that user (with the user ID specified in the request path). For more information, see [Allow applications to access online meetings on behalf of a user](/graph/cloud-communication-online-meeting-application-access-policy).

> [!NOTE]
> This API works only for a meeting that hasn't expired. For more information, see [Limits and specifications for Microsoft Teams](/microsoftteams/limits-specifications-teams#meeting-expiration).
Expand Down
7 changes: 4 additions & 3 deletions api-reference/beta/api/calltranscript-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Retrieving the transcript returns the metadata of the single transcript associat

> [!NOTE]
>
> * This is a metered API. For more information, see [payment models for meeting APIs](/graph/teams-licenses#payment-models-for-meeting-apis). Existing customers as of August 9, 2023 get two months grace period (till October 9, 2023) before the billing enforcements apply.
> * This is a metered API. For more information, see [payment models for meeting APIs](/graph/teams-licenses#payment-models-for-meeting-apis).
> * This API doesn't support meetings created using the [create onlineMeeting API](/graph/api/application-post-onlinemeetings) that are not associated with an event on the user's calendar.
> * This API works differently in one or more national clouds. For details, see [Implementation differences in national clouds](/graph/teamwork-national-cloud-differences).
> * If you want to retrieve meeting transcripts, use the [Create event](../api/user-post-events.md#example-5-create-and-enable-an-event-as-an-online-meeting) API instead.
Expand All @@ -34,7 +35,7 @@ Choose the permission or permissions marked as least privileged for this API. Us

> **Note:** The application permission `OnlineMeetingTranscript.Read.Chat` uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
To use application permissions for this API, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with the user ID specified in the request path). For more information, see [Allow applications to access online meetings on behalf of a user](/graph/cloud-communication-online-meeting-application-access-policy).
To use application permissions for this API, tenant administrators must create an application access policy and grant it to a user. It authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with the user ID specified in the request path). For more information, see [Allow applications to access online meetings on behalf of a user](/graph/cloud-communication-online-meeting-application-access-policy).

> [!NOTE]
> This API works for a meeting only if the meeting has not expired. For more information, see [Limits and specifications for Microsoft Teams](/microsoftteams/limits-specifications-teams#meeting-expiration).
Expand Down Expand Up @@ -278,7 +279,7 @@ GET https://graph.microsoft.com/beta/users/ba321e0d-79ee-478d-8e28-85a19507f456/

#### Response

Response contains bytes for the transcript in the body. `content-type` header specifies type of the transcript content.
Response contains bytes for the transcript in the body. The `content-type` header specifies the type of the transcript content.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
Expand Down
112 changes: 112 additions & 0 deletions api-reference/beta/api/cloudclipboarditem-get.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
title: "Get cloudClipboardItem"
description: "Read the properties and relationships of a cloudClipboardItem object. "
author: "yuechen7"
ms.localizationpriority: medium
ms.prod: "project-rome"
doc_type: apiPageType
---

# Get cloudClipboardItem
Namespace: microsoft.graph

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

Read the properties and relationships of a [cloudClipboardItem](../resources/cloudclipboarditem.md) object. This API only allows you to get a [cloudClipboardItem](../resources/cloudclipboarditem.md) object for:
- The signed-in user's own [cloudClipboardItem](../resources/cloudclipboarditem.md).
- An app on behalf of the user if the user grants delegated access to it.

This API doesn't support using another user's credentials to get a [cloudClipboardItem](../resources/cloudclipboarditem.md) for a user.

## Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- {
"blockType": "permissions",
"name": "cloudclipboarditem-get-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/cloudclipboarditem-get-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
GET /me/cloudClipboard/items/{cloudClipboardItemId}
```

## Optional query parameters

This method doesn't support the OData query parameters to customize the respone. For general information, see [OData query parameters](/graph/query-parameters).

## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required.|

## Request body

Don't supply a request body for this method.

## Response

If successful, this method returns a `200 OK` response code and a [cloudClipboardItem](../resources/cloudclipboarditem.md) object in the response body.

### Errors
In addition to [general errors](/graph/errors) that apply to Microsoft Graph, the following error conditions are specific to the Cloud Clipboard API.

|Status code|Status message|Description|
|:---|:---|:---|
|400|Bad request|The request is malformed or incorrect, such as an invalid `cloudClipboardItemId`.|
|403|Forbidden|The caller can't perform the action. It indicates that the user doesn't consent to sharing [cloudClipboardItem](../resources/cloudclipboarditem.md).|
|409|Conflict|The current state conflicts with what the request expects. It usually indicates that the user isn't eligible for the cloud clipboard feature because the user doesn't have at least two strongly authenticated devices.|
|429|Too many requests|The request rate limit has been exceeded. Wait for the time specified in the `Retry-After` header and try again.| 

## Examples


### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "get_cloudclipboarditem"
}
-->
``` http
GET https://graph.microsoft.com/beta/user/cloudClipboard/items/{cloudClipboardItemId}
```

### Response
The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "microsoft.graph.cloudClipboardItem"
}
-->
``` http
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.cloudClipboardItem",
"id": "292bcf2f-b37e-49d0-8882-1e33dd5c2273",
"payloads": [
{
"@odata.type": "microsoft.graph.cloudClipboardItemPayload",
"content": "aGVsbG8sIHdvcmxkIQ==",
"formatName": "TextBase64"
}
],
"createdDateTime": "2023-08-10T16:56:25.413Z",
"lastModifiedDateTime": "2022-06-06T17:04:58.000Z",
"expirationDateTime": "2023-08-11T04:56:25.387Z"
}
```
125 changes: 125 additions & 0 deletions api-reference/beta/api/cloudclipboardroot-list-items.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
title: "List cloudClipboard items"
description: "Get a list of the cloudClipboard items and their properties."
author: "yuechen7"
ms.localizationpriority: medium
ms.prod: "project-rome"
doc_type: apiPageType
---

# List cloudClipboard items

Namespace: microsoft.graph

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

Get a list of the [cloudClipboardItem](../resources/cloudclipboarditem.md) objects and their properties for a user. This API only allows you to get [cloudClipboardItem](../resources/cloudclipboarditem.md) objects for:

- The signed-in user's own [cloudClipboardItem](../resources/cloudclipboarditem.md) objects.
- An app on behalf of the user if the user grants delegated access to it.

This API doesn't support using another user's credentials to get a [cloudClipboardItem (../resources/cloudclipboarditem.md) for a user.

## Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- {
"blockType": "permissions",
"name": "cloudclipboardroot-list-items-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/cloudclipboardroot-list-items-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
GET /user/cloudClipboard/items
```

## Optional query parameters

This method supports `$skipToken` [OData query parameters](/graph/query-parameters) to help customize the response.

`$skipToken` is a token returned in the `@odata.nextLink` URL in the response of the previous List request, which indicates that there are more [cloudClipboardItem](../resources/cloudclipboarditem.md) objects to fetch for the user.


## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required.|
|Prefer |odata.maxpagesize={x}. Optional. Specifies a preferred integer {x} page size for paginated results. Acceptable values are 1 to 200, inclusive. If not specified in the header, the default page size is 110.

## Request body

Don't supply a request body for this method.

## Response

If successful, this method returns a `200 OK` response code and a collection of [cloudClipboardItem](../resources/cloudclipboarditem.md) objects in the response body.

### Errors
In addition to [general errors](/graph/errors) that apply to Microsoft Graph, some error conditions are specific to the Cloud Clipboard API.

|Status code|Status message|Description|
|:---|:---|:---|
|400|Bad request|The request is malformed or incorrect, such as invalid page size or invalid `$skipToken` value.|
|403|Forbidden|The caller can't perform the action. It indicates that the user has not consented to share [cloudClipboardItem](../resources/cloudclipboarditem.md).|
|409|Conflict|The current state conflicts with what the request expects. It usually indicates that the user isn't eligible for the cloud clipboard feature because the user doesn't have at least two strongly authenticated devices.|
|429|Too many requests|The request rate limit has been exceeded. Wait for the time specified in the `Retry-After` header and try again.| 

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "list_cloudclipboarditem"
}
-->
``` http
GET https://graph.microsoft.com/beta/user/cloudClipboard/items
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "Collection(microsoft.graph.cloudClipboardItem)"
}
-->
``` http
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": [
{
"@odata.type": "#microsoft.graph.cloudClipboardItem",
"id": "292bcf2f-b37e-49d0-8882-1e33dd5c2273",
"payloads": [
{
"@odata.type": "microsoft.graph.cloudClipboardItemPayload",
"content": "aGVsbG8sIHdvcmxkIQ==",
"formatName": "TextBase64"
}
],
"createdDateTime": "2023-08-10T16:56:25.413Z",
"lastModifiedDateTime": "2022-06-06T17:04:58.000Z",
"expirationDateTime": "2023-08-11T04:56:25.387Z"
}
],
"@odata.nextLink": "https://graph.microsoft.com/beta/me/cloudClipboard/items?$skiptoken=lastModifiedDateTime%20le%202024-01-31T01:14:29.675Z"
}
```

10 changes: 5 additions & 5 deletions api-reference/beta/api/educationassignmentsettings-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Content-type: application/json
```

# [C#](#tab/csharp)
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
[!INCLUDE [sample-code](../includes/snippets/csharp/update-gradingcategories-delta-csharp-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [CLI](#tab/cli)
Expand All @@ -291,23 +291,23 @@ Content-type: application/json
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [Java](#tab/java)
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
[!INCLUDE [sample-code](../includes/snippets/java/update-gradingcategories-delta-java-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [JavaScript](#tab/javascript)
[!INCLUDE [sample-code](../includes/snippets/javascript/update-gradingcategories-delta-javascript-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [PHP](#tab/php)
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
[!INCLUDE [sample-code](../includes/snippets/php/update-gradingcategories-delta-php-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [PowerShell](#tab/powershell)
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
[!INCLUDE [sample-code](../includes/snippets/powershell/update-gradingcategories-delta-powershell-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [Python](#tab/python)
[!INCLUDE [snippet-not-available](../includes/snippets/snippet-not-available.md)]
[!INCLUDE [sample-code](../includes/snippets/python/update-gradingcategories-delta-python-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

---
Expand Down
Loading

0 comments on commit 58f4dbf

Please sign in to comment.