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 ChauhanRank #963 · 2.1K reputationPosted Jun 10, 2021, 2:46 AM EDT
parthasarathy BRank #1,732 · 874 reputationPosted Jun 10, 2021, 8:46 AM EDT
Vaibhav ChauhanRank #963 · 2.1K reputationPosted Jun 10, 2021, 10:24 AM EDT
There will be an id field in the response that is drive id.
parthasarathy BRank #1,732 · 874 reputationPosted Jun 11, 2021, 2:03 AM EDT
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 ChauhanRank #963 · 2.1K reputationPosted Jun 11, 2021, 2:31 AM EDT