I want to get all files under document library which is checked out.
I tried this rest query in SharePoint hosted app
window.location.protocol + "//" + window.location.host + _spPageContextInfo.siteServerRelativeUrl + "/_api/web/lists(guid'" + listid + "')/Files?$select=*,FileRef&$expand=File,CheckedOutByUser/Id,ListItemAllFields/ContentType,ListItemAllFields/File&$filter=CheckedOutByUser/Id eq " + _spPageContextInfo.userId;
I can get all root location checked out files by current user but how to get all checked out files under all folders also.
Thanks