SPO REST API: How to retrieve items in a List folder

Copper Contributor


This seems crazy but I can't seem to figure out how to retrieve Items in a List folder with REST.

As you know, SP Lists can have folders, but how to retrieve Items in a specific List folder.

Say I have this conf:









How do I retrieve Item1 & Item2 knowing FolderA?

The question has been asked a lot on stackoverflow, answers are there but nothing seem to work...

MS really needs to provide good documentation for SPO. This is beyond frustrating.

I have tried:




You can replace GetFolderByServerRelativePath with GetFolderByServerRelativeUrl as well, I tried all with many others...

None is working.


Does anyone know what works with SPO (SharePoint Online)?

0 Replies