Is there a REST way to get all the documents with its properties under a specific folder into a document library ?
I'm doing it like so:
var url = _spPageContextInfo.siteAbsoluteUrl + "/_api/lists/getbytitle('Documents')/items?$select=FileRef,ServerRedirectedEmbedUrl,Title,URL,File&$expand=File";
But it gives me all documents in the lib, I tried filtering fileRef but it doesn´t worked.
So I look for a better way to accomplish that.
Thanks