Hi,
Microsoft has moved recently the thumbnail previews to below URL it seems
https://contosa.sharepoint.com/_api/v2.1/drives/b!VGp7pTD04UKFFtBxC1Z86EZgQRFXsm9AnYthfHIzY61Tjn1hsCRiTqJ5pIMWmEof/items/01NYYIJQCS3QKDII3W3VBLDKXASZRYVZQJ/thumbnails/0/c144x96/content?prefer=noredirect%2Cclosestavailablesize&cb=%22%7B3414DC52%2D7623%2D42DD%2DB1AA%2DE096638AE609%7D%2C3%22
Here my question is where to get this drive id ?b!VGp7pTD04UKFFtBxC1Z86EZgQRFXsm9AnYthfHIzY61Tjn1hsCR
what is the cb denoting?
Thanks in Advance
Vaibhav ChauhanPosted Jun 11, 2021, 6:31 AM
parthasarathy BPosted Jun 11, 2021, 6:03 AM
Hi Vaibhav,
Actually we can get the Library drive id using the below graph api. If you run the below api url in the graph explorer.you will get all the libraries with it's drive id.
https://graph.microsoft.com/v1.0/sites/{siteid}/drives
https://graph.microsoft.com/v1.0/me/drive/ this is representing our personal one drive id i guess.
Vaibhav ChauhanPosted Jun 10, 2021, 2:24 PM
There will be an id field in the response that is drive id.
parthasarathy BPosted Jun 10, 2021, 12:46 PM
Vaibhav ChauhanPosted Jun 10, 2021, 6:46 AM