OneDrive/onedrive-sdk-ios

Unable to retrieve shared folder - Onedrive for Business

janaraj opened this issue · 1 comments

Hello,

I'm trying to retrieve list of items from a shared folder but always getting 404 not found error. Have added the permission "Read and Write items in all site collections" under Office 365 sharepoint online in Azure portal. Below is final URL that gets framed. I went through all the documents but still no luck. Could someone please help ?

https://{tenant}-my.sharepoint.com/_api/v2.0/me/drives/{driveid}/items/{itemid}/children

Regards,
Jana

Have posted this issue under onedrive api docs OneDrive/onedrive-api-docs#725

Hi, I got a reponse from the other issue that I shouldn't using "/me" when requesting for drives. Could you please let me know a sample on how to frame the URL without "/me" in the URL ?

This is what I need inorder to access to shared folder.

https://{tenant}-my.sharepoint.com/_api/v2.0/drives/{driveid}/items/{itemid}/children