I'm using this call:
https://developer.api.autodesk.com/data/v1/projects/[ProjectID]/folders/[Project Files folder ID]/contents
and/or...
https://developer.api.autodesk.com/data/v1/projects/[ProjectID]/folders/[Project Files folder ID]/contents?filter[fileType]=rvt&page[limit]=200
The second one introduces a filter and also an attempt to deal with pagination. However, each attempt it only returns the subfolders immediately adjacent to the root "Project Files" folder. No files are returned, and no deeper subfolders, for that matter.
In general, I'm following this tutorial with some updates: https://forge.autodesk.com/en/docs/data/v2/tutorials/publish-model/#step-1-find-the-hub-id-for-the-bim-360-account
Scopes for the connection are (for the entire recipe): data:search data:create data:read data:write
Am I missing something?