REST Query - document library

Hi,

I have a document library and I want to query it using the SharePoint REST API, but I want to query only the files and folders in the root, for example - if I have a folder I don't want to query the files inside that folder but I do want to query the folder itself.

The query I'm using: https://<serverName>/_api/Web/Lists/<ListName>/items?$select=<properties>

Thanks in advance!

September 1st, 2015 10:34am

Hi ,

Please go through the content on below url and let me know if this helps.

https://msdn.microsoft.com/en-us/library/office/dn292553.aspx

Thanks

Bhism

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 2:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics