2017-10-06 71 views
0

我似乎无法找到正确的方式订阅webhooks foredrive for business。onedrive for business webhooks

我知道端点url与普通onedrive不同。 (https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/direct-endpoint-differences

所以根据该文档端点订阅网络挂接应该是以下:

的https:// {租户} -my.sharepoint.com/_api/v2.0/subscriptions

但是,当我发送POST请求到这个端点,我收到了404

获取驱动器的项目通过这个端点按预期工作。 (https:// {tenant} -my.sharepoint.com/_api/v2.0//drive/special/approot)。 只有“订阅”端点我似乎无法访问。

我在做什么错?

回答

0

订阅应用到项目,所以你会想:

https://{tenant}-my.sharepoint.com/_api/v2.0/drive/root/subscriptions 

的文档似乎有点暧昧在这方面。

相关问题