I am currently using Sharepoint 2013 and am using this URI to get some basic metadata about the documents under the document directory:
/_api/web/Lists/GetByTitle('Documents')/Items?$select=FileLeafRef,FileRef,Modified,FileSystemObjectType,GUID
.
What I am looking for is to additionally get the MIME type or application type of a file though this call. I would think that simply adding another field such as FileType
would suffice, but it doesn't seem so. Is there a way to get this information from this call?
If the MIME type cannot be retrieved from this call, is there a separate call I can make to get such information?
DocIcon
- it returns the extension to be used to shown the icon of the doc.