如何使用OneNote API将OneNote页面设置为只读 [英] How set onenote page as read only using onenote API

查看:732
本文介绍了如何使用OneNote API将OneNote页面设置为只读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用onenote图形API创建和更新笔记本,板块,页面.

I am using onenote graph API to create and update notebook,sections,pages.

知道我想使用Onenote Graph API将Onenote页面设置为只读.

Know i want to make onenote page as read only using Onenote Graph API.

请提出PATCH或POST请求网址,以将onenote页面设置为只读

Please suggest PATCH or POST Request url to set onenote page as read only

推荐答案

我认为实现此目的的唯一有效方法是创建一个仅查看到笔记本的链接.

I think the only effective way of doing this is by creating a view only link to the Notebook.

POST ../sectiongroups/{id}/GetOrCreateAnonymousSharingLink with {"accessLevel":"View"}

请参阅帖子通过API共享OneNote笔记本" ,以了解不同的方法(使用OneDrive共享)尝试共享整个笔记本或仅共享笔记本部分.

Please see the post "Sharing OneNote Notebook through API" for a different approach (using OneDrive sharing) to try and share either a whole notebook or just notebook section.

这篇关于如何使用OneNote API将OneNote页面设置为只读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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