Reputation: 4319
I am working on integrating MS Graph inside my application and one scenario I have to list files from OneDrive with search, filtering and sorting functionality but the API listed on the official docs doesn't work
Currently I am calling 3 APIs to make search, filtering and sorting work together.
Note: when I tried the API listed on the official docs I got this error
Upvotes: 0
Views: 173
Reputation: 235
I think that Microsoft Graph API doesn't support filtering on files or folder directly. Try to use the Onedrive Rest Api like this
GET: drive/root/children?filter=folder+ne+null
Upvotes: 1