您如何访问“共享的"网站?通过REST API的个人笔记本? [英] How can you access "Shared" personal notebooks via rest API?

查看:109
本文介绍了您如何访问“共享的"网站?通过REST API的个人笔记本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个共享的个人笔记本,我想通过rest api访问.

I have a shared personal notebook that I would like to access via the rest api.

我以共享笔记本的用户身份登录(在OneNote的与我共享"部分下显示为个人>> xxx.onmicrosoft.com").

I'm signing in as the user with whom the notebook has been shared (shows as "personal >> xxx.onmicrosoft.com" under the "Shared with me" section of OneNote).

查看此URL: OneNote REST API

我看不到共享笔记本是个人笔记本(我看到了我的个人笔记本):

I don't see the shared notebook as a personal notebook (I do see my personal notebooks):

https://www.onenote.com/api/v1.0/me/notes/notebooks

它没有显示在sharepoint网站笔记本下:

It doesn't show up under sharepoint site notebooks:

https://www.onenote.com/api/v1.0/myOrganization/siteCollections/{id}/sites/{id}/notes/notebooks

它似乎没有与一个统一的组链接.

And it doesn't appear to be linked with a unified group.

那么有人知道我如何使用它吗?

So does anyone know how I access it?

感谢您的帮助

推荐答案

对于企业笔记本,/me 端点仅提供对当前用户拥有的OneNote内容的访问.在接下来的几周中,/me 端点还将包含其他人与当前用户共享的OneNote内容.

For enterprise notebooks, the /me endpoint only provides access to the OneNote content that’s owned by the current user. In the coming weeks, the /me endpoint will also include OneNote content that others have shared with the current user.

现在,您只能使用/users//users/端点来访问其他用户(在URL中指定)与当前用户共享的内容用户.

Right now, you can only use the /users/ or /users/ endpoint to access content that another user (specified in the URL) has shared with the current user.

我们最近更新了文档,以阐明当前行为.当/me 范围包含共享内容时,我们将再次对其进行更新,并且也会对此问题进行更新.感谢您的反馈,SpecWin!

We recently updated the docs to clarify the current behavior. We’ll update them again when the /me scope includes shared content, and update this question too. Thanks for the feedback, SpecWin!

这篇关于您如何访问“共享的"网站?通过REST API的个人笔记本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆