I am trying to fetch only the site pages and not the page templates using REST call, but using below REST endpoint I am getting all the site pages including page templates.
How to filter out only the site pages from site pages library so it does not include page templates present in site pages library.
/_api/web/lists/getByTitle('Site Pages')/items?$select= Title,ID&$filter=Title ne null