jeudi 12 mars 2015

REST API url to list specific folder content

I need to retrieve the items/documents in a specific folder of our Office 365 hosted SharePoint site, but I always get an resource error.

The url to the SharePoint site with the files is

and according to the MSDN documents on this page, the call should be

GET {base-url}/Files/{folder-id}/children

and "base-url" should in the case of SharePoint be

Now, I've tried 10 different combinations without getting any good results, so I guess I'm doing something wrong with the base-url or the site-path. Is the correct base-url this for my site

or just

0 commentaires:

Enregistrer un commentaire