skip to Main Content

SharePoint details

SignIn into Graph Explorer to get SharePoint details, here is the graph explorer URL: https://developer.microsoft.com/en-us/graph/graph-explorer

Get all sites

https://graph.microsoft.com/v1.0/sites?search=*

Get ListID based on SiteId

https://graph.microsoft.com/v1.0/sites/{site-id}/lists/ (Replace {site-id} with your desired site id that grabbed from above results)

Get itemID based on SiteId and List ID

https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{listid}/items (Replace {site-id} and {listid} with your desired site id and list idthat grabbed from above results)

Get DriveID based on SiteId

https://graph.microsoft.com/v1.0/sites/{site-id}/drives (Replace {site-id} with your desired site id that grabbed from previous results)

Get Items based on SiteId and Drive ID

https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root/children (Replace {site-id} and {listid} with your desired site id and list idthat grabbed from above results)

Get Sub Folder Items

https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/items/{Sub-Folder-ID}/children (Replace {site-id}, {drive-id} and {Sub-Folder-id} with your desired site id, list id and subfolder id that grabbed from above results)




Back To Top