我需要通过其余界面从SharePoint 2013网站获取应用程序信息。通常可以使用AppCatalog.GetAppInstances()
通过客户端对象模型完成。方法。当您尝试通过休息端点获取相同信息时会出现问题。
例如,执行https://.sharepoint.com/_api/SP.AppCatalog.GetAppInstances
返回
> <m:error><m:code>-1,
> Microsoft.SharePoint.Client.InvalidClientQueryException</m:code><m:message
> xml:lang="en-US">The method GetAppInstances cannot be invoked as its
> parameter web is not supported.</m:message></m:error>
这是否意味着这种方法不能通过休息运行或者我错过了什么?或者如果有人知道访问相同信息的替代方案,那就太好了。