尝试在SharePoint搜索上获取缩略图
这将返回正确的搜索结果:
https://graph.microsoft.com/v1.0/drives/{SHAREPOINT_DRIVE_ID}/root/search(q='{QUERY}')
但是这个:
https://graph.microsoft.com/v1.0/drives/{SHAREPOINT_DRIVE_ID}/root/search(q='{QUERY}')?expand=thumbnails(select=large)
返回:
{"error":{"code":"-1, Microsoft.SharePoint.Client.UnknownError","message":"Unknown Error","innerError":{"request-id":"69bc5cdf-0f4a-4d60-9c3c-513983dd8e0b","date":"2016-08-04T17:50:11"}}},"status":500,"statusText":"Internal Server Error"}
documentation明确指出:This method supports the OData Query Parameters to help customize the response.
答案 0 :(得分:2)
根据测试,https://graph.microsoft.com/v1.0/me/drive/root?expand=thumbnails(select=large)
适用于java.sql.DatabaseMetaData
。
似乎Microsoft Graph搜索项API不支持扩展缩略图。
如果您需要此功能,可以从here提交反馈。