No, it will not. Only files from the given drive will be returned. If you have added a "shortcut" to a shared file, it will be shown as .url item, which basically contains the URL to the shared item.
Graph API Drive Items
Ivan Zeljkovic
80
Reputation points
Hi there, I'm using several of the OneDrive/SharePoint APIs to grab all folder/file info for a given user/site.
One concern I have: will I see folders/files shared with the user that they do not own?
The API that I'm using for the collection is `/v1.0/drives/{drive-id}/root/children, would this ever return items that do not belong to that drive-id (shared with it)?
I unfortunately don't have the resources to test this behavior between two business accounts, so I appreciate any help. Thanks.