I'm using the following REST endpoint for getting all items from a list:
https://myCompany.sharepoint.com/sites/portal/myName/_api/web/Lists/GetByTitle('MyFolderTitle')/Items?$select=FileLeafRef,FileRef
I'm having weird problems with it. For example I have a subfolder with 2 pdf files, they have the same permissions, same everything, uploaded at the same time. I can see them both when viewing them online and download them and everything, but with the REST call, I only get 1 file back.
What could be the reason for that behavior? Any help or hints would be appreciated because I'm losing my mind on this...
Thanks!