I'm trying to retrieve all the documents in a document set using REST.
If I use the Lists/GetByTitle(''). I'm able to retrieve an individual item and some associated metadata like so:
But I don't see any way to retrieve all the items in a folder/documentset. (My understanding is that docsets are just fancy folders as far as SP is concerned). So in that case I'm following this documentation to get all the files in a folder. In this case I'm just trying to get the same resource (item 475 is Interviewing Information) to keep it simple.
~site/_api/web/GetFolderByServerRelativeUrl('/teams/lscsp-cat10/ManagementLibrary/ZCKNDY7XXYKP-15-3/')/Files('Interviewing Information.aspx') ?$select=ID,Title,FLSequence,LSTeaser
That does retrieve the correct item, but the only piece of metadata I get is Title. ID and the others (which are user defined) don't show up.
Any idea what is going on here?