I would like to retrieve specifically the shortcuts that users have in the root directory of their OneDrive. There are a few endpoints I've tried that I can use to search for files:
/me/drive/root/search(q='')- recursive, includes shortcuts/me/drive/root/children- none recursive, no shortcuts/me/drive/list/items?$expand=driveItem&select=driveItem- recursive, includes shortcuts
All of these have one of two problems: they don't include the shortcuts, or they are recursive.
What I really want is a way to find all of the shortcut files in a specific folder, non-recursively.
I've also tried using all of these endpoints with the $filter query param to no avail as I believe that none of these are build to handle that, according to the Microsoft docs.
Is there anything that I'm not aware of that I can do to accomplish this?
DriveItem, so it's unclear which property/collection you are looking to retrieve.