我可以读取与文件相关的元数据,例如谁的姓名,ID,Web URL等
https://graph.microsoft.com/v1.0/sites/sp-cloud.XX.org/drives/drive-id/items/item-id
但是,当我尝试通过在末尾添加'/ content'来下载文件时,会抛出错误:
{
"error": {"code": "invalidRequest",
"message": "Provided identifier is malformed - site collection id is not valid",
"innerError": {
"request-id": "cd754696-0d15-4a10-af10-f70278bc6ef8",
"date": "2019-05-02T17:33:23"
}
}
}
任何人都可以让我知道我在想什么;
如果我尝试: https://graph.microsoft.com/v1.0/sites/hostname,spsite-id,spweb-id/drive/items/item-id
我得到未找到的物品。
谢谢您的时间