GET /drives/{drive-id}/items/{item-id}/content
https://graph.microsoft.com/v1.0/me/drive/root/items/5FC97855340825A9!135/content
在根目录下搜索文件
https://graph.microsoft.com/v1.0/me/drive/root/search(q='mybook')
?select=name,id,webUrl
按照字段查询
https://graph.microsoft.com/v1.0/me/drive/root/children?select=id,name,size,folder
create session
只需要查询name,id,webUrl 三项内容
https://graph.microsoft.com/v1.0/me/drive/root/
search(q='mybook.xlsx')?select=name,id,webUrl
"value": [
{
"@odata.type": "#microsoft.graph.driveItem",
"name": "mybook.xlsx",
"id": "5FC97855340825A9!135",
"webUrl": "https://1drv.ms/x/s!AKklCDRVeMlfgQc"
}
]