msgraph-sdk-javascript icon indicating copy to clipboard operation
msgraph-sdk-javascript copied to clipboard

downloadUrl not in the properties of driveItem when using search

Open you3h opened this issue 7 years ago • 1 comments

Bug Report

Prerequisites

  • [X ] Can you reproduce the problem?
  • [ ] Are you running the latest version?
  • [ ] Are you reporting to the correct repository?
  • [ ] Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

Using search parameter to get drive items

Console Errors: No console errors

Screenshots: https://graph.microsoft.com/v1.0/sites/{site-id}/drive/root/search(q='')?$select=id,name,file,folder,size,lastModifiedDateTime,@microsoft.graph.downloadUrl image

Steps to Reproduce

  1. Use the search query to get driveItems
  2. Check if there is a @microsoft.graph.downloadUrl data

Expected behavior: There should be a @microsoft.graph.downloadUrl

Actual behavior: It doesn't have the downloadUrl, or maybe I'm missing something

Additional context

Add any other context about the problem here..

you3h avatar Jul 15 '19 08:07 you3h

@jelohipolitocruz it looks like this feature is not supported by the API, so it doesn't seem to be an SDK issue. You can post the same query on stackoverflow with the tag microsoft-graph for this purpose.

krototype avatar Jul 19 '19 09:07 krototype