Microsoft graph api 如何使用Graph API获取SharePoint联机列表项附件?

Microsoft graph api 如何使用Graph API获取SharePoint联机列表项附件?,microsoft-graph-api,sharepoint-online,Microsoft Graph Api,Sharepoint Online,对于任何SharePoint Online列表中的附件项目,图形浏览器只能获取包含值“true”或“false”的Attachments属性 我无法获得所附图片、pdf、文本等的链接 使用RESTAPI,我们可以轻松地扩展和获取附加的链接。但是,使用图形资源管理器无法展开“附件”属性。我需要帮助,我们如何使用Graph API获取SharePoint online列表中的附件链接 我在Graph Explorer中尝试了以下查询: {site id}/lists/{list id}/items/

对于任何SharePoint Online列表中的附件项目,图形浏览器只能获取包含值“true”或“false”的Attachments属性

我无法获得所附图片、pdf、文本等的链接

使用RESTAPI,我们可以轻松地扩展和获取附加的链接。但是,使用图形资源管理器无法展开“附件”属性。我需要帮助,我们如何使用Graph API获取SharePoint online列表中的附件链接

我在Graph Explorer中尝试了以下查询: {site id}/lists/{list id}/items/{item id}


遗憾的是,目前还不支持通过Microsoft Graph API检索附件详细信息

但你可以求助于,例如:

GET https://{tenant}.sharepoint.com/_api/web/lists/getbytitle('{list-title}')/items({item-id})?$expand=AttachmentFiles