Microsoft graph api 如何访问sharepoint库中的自定义列-图形API

Microsoft graph api 如何访问sharepoint库中的自定义列-图形API,microsoft-graph-api,Microsoft Graph Api,我在文档库的根目录中列出了具有自定义列的子项。当我使用MS graph REST API进行以下调用时,不会返回子项的自定义列数据 https://graph.microsoft.com/beta/sites//drive/root/children 我尝试过使用?expand=…,但没有成功。对于v1或beta端点,这可能吗?端点GEThttps://graph.microsoft.com/beta/sites//drive/root/children返回驱动器根目录中的文件元数据()集合 可

我在文档库的根目录中列出了具有自定义列的子项。当我使用MS graph REST API进行以下调用时,不会返回子项的自定义列数据

https://graph.microsoft.com/beta/sites//drive/root/children


我尝试过使用
?expand=…
,但没有成功。对于v1或beta端点,这可能吗?

端点
GEThttps://graph.microsoft.com/beta/sites//drive/root/children
返回驱动器根目录中的文件元数据()集合

可以通过包含此列表项上设置的列的值(通过)检索关联的文档库列表项,如下所示:

https://graph.microsoft.com/v1.0/sites/root/drive/root/children?$expand=listItem($expand=fields) 
或者,可以检索SharePoint库列表项和列值(包括自定义项):

GET https://graph.microsoft.com/v1.0/sites/root/drive/list/items?$expand=fields
或列出项目以及文件元数据:

GET https://graph.microsoft.com/v1.0/sites/root/drive/list/items?$expand=fields,driveItem

谢谢你能帮我理解我是如何从文档中发现这一点的吗?我觉得不清楚。基本上,它包含了所有可以与DriveItem Resource一起检索的关联实体的列表。再次感谢!