microsoft-graph-devx-api icon indicating copy to clipboard operation
microsoft-graph-devx-api copied to clipboard

Items.Thumbnails.Content: {size} parameter should be used

Open f1nzer opened this issue 3 years ago • 1 comments

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.

f1nzer avatar Dec 13 '21 09:12 f1nzer

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

github-actions[bot] avatar Dec 13 '21 09:12 github-actions[bot]