Sharepoint 休息 api 获取 shortcuturl

Sharepoint rest api get shortcuturl

我能够连接到 Sharepoint REST api,很好,我遗漏了一个重要的 属性,我认为它存在,但可能隐藏在某处。 我正在获取这样的项目的详细信息

https://myco.sharepoint.com/teams/Intranet/_api/web/lists/getbytitle('Site Pages')/items?$orderby=Modified desc&$top=11&$select=Title,Id,Description,BannerImageUrl,Properties/vti_x005f_shortcuturl&$expand=Properties

不过,我读到的是 Properties/vti_x005f_shortcuturl 应该会给我结果;这个对象在我的回复中是空的:

{
"Properties": {},
"Id": 1567,
"Title": "This is awesome",
"BannerImageUrl": {
    "Description": "https://myco.sharepoint.com/_layouts/15/getpreview.ashx?path=%2Fteams%2FIntranet%2FSiteAssets%2FSitePages%2F98z8hx4c%2F1426231370-nuno-dash.jpg&ow=1920&oh=1080",
    "Url": "https://myco.sharepoint.com/_layouts/15/getpreview.ashx?path=%2Fteams%2FIntranet%2FSiteAssets%2FSitePages%2F98z8hx4c%2F1426231370-nuno-dash.jpg&ow=1920&oh=1080"
 },
 "Description": "December 3 is International Day of Persons with Disabilities (IDPD)",
 "ID": 1567
 }
 //omitted rest of results

我想要一个 url: 'https://gotothewebversion' 以便在显示结果时有人可以单击 link 并转到文章。

编辑: 在 1 个特定项目上,Properties 已填充,但没有 shortcutUrl。

有人知道如何实现吗?

干杯

我能够通过在 REST 查询中展开“文件”然后选择 File/ServerRelativeUrl.

来检索文件的 URL link
$expand=File&$select=*, File/Name, File/ServerRelativeUrl