我正在观察Microsoft Graph中的功能更改。从SharePoint网站请求drives
列表时,我曾经看到一个driveItem
属性,从11月14日起似乎不再存在。
site
documentation提及与drives
集合的关系。
drive
documentation将driveType
属性描述为:
描述此资源表示的驱动器类型。 OneDrive个人硬盘将返回
personal
。 OneDrive for Business将返回business
。 SharePoint文档库将返回documentLibrary
。只读。
以下是一个示例电话:
https://graph.microsoft.com/v1.0/sites/{site-id}/drives
响应:
client-request-id →d822c749-baf6-4857-abd9-6d80f70823d9
request-id →d822c749-baf6-4857-abd9-6d80f70823d9
x-ms-ags-diagnostic →{"ServerInfo":{"DataCenter":"EastUS","Slice":"SliceB","Ring":"NA","ScaleUnit":"003","Host":"AGSFE_IN_28","ADSiteName":"EST"}}
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#drives",
"value": [
{
"createdBy": {
"user": {
"displayName": "System Account"
}
},
"createdDateTime": "2015-05-22T17:21:01Z",
"description": "This system library was created by the PointPublishing feature to store application pages.",
"id": "b!a4YqXM4QKkOPmOj73xfdss5bbYPr7MlFlXKVhtK0Dpjf4OJPyoBFQo2-YK5095t1",
"lastModifiedDateTime": "2015-05-22T17:21:03Z",
"name": "AppPages",
"webUrl": "https://mysharepoint.sharepoint.com/portals/hub/AppPages",
"quota": {
"deleted": 0,
"remaining": 0,
"total": 0,
"used": 0
}
}
<snipped a few values>
]
}
我在设计或非预期中看到的功能变化是什么?
编辑:尝试通话时:
https://graph.microsoft.com/v1.0/sites/root/drives?$select=id,driveType,Name
返回driveType
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#drives(id,driveType,name)",
"value": [
{
"id": "fakeId",
"name": "Documents",
"driveType": "documentLibrary"
}
]
}
根据drives
(site-id
)请求网站/sites/{site-id}/drives
时,我们会看到返回的不同属性。
答案 0 :(得分:0)
关闭此循环。正如布拉德所说,已经发现了一个问题。修复工具目前正在进行中,很快就会推出。