Forum Discussion
Tarundeep
Feb 25, 2019Copper Contributor
How to get all pages under "sitePages" using SharePoint REST API in modern sites ?
I have created number of pages under "/SitePages" and want to retrieve them using SharePoint REST API.
The below one's doesn't work
_api/web/lists/getbytitle('SitePages')/Items
_api/web/lists/getbytitle('Pages')/Items
Got It -- Resolved --
/_api/Web/Lists(guid'SomeGUID')
/_api/Web/Lists(guid'SomeGUID')/Items(19)?$select=ID,Title