Capability Sources
List modern SharePoint pages on a site
Changed onLists SharePoint modern pages (SitePages) on one site with titles, filenames, IDs and URLs. Uses the SharePoint site access permission. Pass nextPageToken as pageToken for the next page; hasMore with a null token means the list is partial.
get/v1/capabilities/microsoft-365/sites/{siteId}/pages
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
siteId, string required
SharePoint site id from a site search.
Query parameters
maxResults, integer
Maximum pages per page (default 20).
pageToken, string
nextPageToken from the previous page of the same list
Response
SharePoint pages returned.
Microsoft365 Site Pages Response required
ok, true required
pages, Microsoft365 Site Page Summary[] required
nextPageToken, string nullable required
hasMore, boolean required
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info