基于关键字的OneDrive API搜索仅提供部分信息,而不提供有关页面详细信息的任何信息

时间:2018-07-12 14:41:43

标签: graph onenote

我想知道页面ID或页面URL中包含父子关系的内容。当我使用搜索功能时,我会获得该部分的详细信息,但不会获得有关页面的任何信息。

查询:

https://graph.microsoft.com/v1.0/me/drive/root/search(q=“亲子关系”)

结果:

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
    "value": [
        {
            "@odata.type": "#microsoft.graph.driveItem",
            "createdDateTime": "2018-07-11T11:06:28Z",
            "id": "dfhsdfkhfklsdfsdkjf",
            "lastModifiedDateTime": "2018-07-11T11:20:26Z",
            "name": "Section1.one",
            "webUrl": "https://microsoft-my.sharepoint.com/personal/abcd_contoso_com/_layouts/15/WopiFrame.aspx?sourcedoc=%7B7E1C4305-983D-4CE2-A15E-DBAF1B961423%7D&file=Section1.one&action=default&DefaultItemOpen=1",
            "size": 390328,
            "createdBy": {
                "user": {
                    "email": "abcd@contoso.com",
                    "displayName": "abcd"
                }
            },
            "lastModifiedBy": {
                "user": {
                    "email": "abcd@contoso.com",
                    "displayName": "abcd"
                }
            },
            "parentReference": {
                "driveId": "b!QqRkFzhjsdgjkdhfkjdhXiDBfhDiNEmqz4NJGbg-Gcv-NrFDvVRJca8R9-3ylQ",
                "driveType": "business",
                "id": "01QsdjhdkjhdsdkjhHGT4FXINN2A"
            },
            "file": {
                "mimeType": "application/msonenote"
            },
            "fileSystemInfo": {
                "createdDateTime": "2018-07-11T11:06:28Z",
                "lastModifiedDateTime": "2018-07-11T11:20:26Z"
            },
            "searchResult": {}
        }
    ]
}

请提供有关如何获取页面级信息的建议

1 个答案:

答案 0 :(得分:0)