I have used search results web part to get only the Documents I have uploaded/modified with certain file types and under a managed path and it works perfect.
Query text: (STS_ListItem_DocumentLibrary) AND (FileType:doc* OR FileType:xl* OR FileType:ppt* OR FileType:pdf* OR FileType:txt OR FileType:PDF* OR FileType:jpg OR FileType:png) AND Author:{User.Name} AND SPSiteURL:webappname/managedpath*.
Sorting: LastModifiedTime descending.
How Can I pass all the conditions and sorting to search REST API to achieve the same results ? Thanks in advance