microsoft-graph-devx-api
microsoft-graph-devx-api copied to clipboard
Items.Thumbnails.Content: {size} parameter should be used
The code snippet has a typo in Thumbnails parameters: the second parameter should be {size}
instead of {thumbnailSet-id}
.
Snippet's source code: https://github.com/microsoftgraph/microsoft-graph-docs/blob/main/api-reference/v1.0/includes/snippets/csharp/get-thumbnail-content-csharp-snippets.md
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var content = await graphClient.Me.Drive.Items["{driveItem-id}"].Thumbnails["{thumbnailSet-id}"]["{thumbnailSet-id}"].Content
.Request()
.GetAsync();
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d2f89b08-7425-383c-9191-c8870f64a8d3
- Version Independent ID: 62d1050e-1a7d-8167-f7a1-8f139d07af9c
- Content: Retrieve thumbnails for a file or folder - Microsoft Graph v1.0
- Content Source: api-reference/v1.0/api/driveitem-list-thumbnails.md
- Product: sharepoint
- Technology: microsoft-graph
- GitHub Login: @JeremyKelley
- Microsoft Alias: MSGraphDocsVteam
This issue has been assigned to you, @JeremyKelley. You are listed as the author for the document associated with this issue. If this is not correct, please take the following actions.
- Assign this issue to the correct author
- Create a pull request to update the
author
field in the YAML front-matter of this topic