我正在使用下面的MS Graph端点在OneDrive中搜索文档。
https://graph.microsoft.com/v1.0/me/drive/root/search(q='{Search Content}')
但是,我想扩展搜索结果以获取如下文件路径
https://graph.microsoft.com/v1.0/me/drive/root/search(q='{Search Content}')?$expand=parentReference(select=path)
得到以下错误:
{
"error": {
"code": "BadRequest",
"message": "Parsing Select and Expand failed.",
"innerError": {
"request-id": "e0e8a733-eaa1-4a49-a0b9-07c404ee230d",
}
}
}