office365 - 如何使用onenote api重命名onenote中的部分
问题描述
我正在尝试使用 onenote API 重命名部分名称。 https://www.onenote.com/api/v1.0/notebooks/ {我的笔记本 id}/sections
- 笔记本有重命名的部分。这是一个错误吗?
解决方案
https://developer.microsoft.com/en-us/graph/code-samples-and-sdks包含 PHP SDK 和示例代码,例如 https://github.com/microsoftgraph/msgraph-sdk-php/blob/dev /tests/Functional/OnenoteTest.php
使用 Microsoft Graph API,您可以执行 PATCH https://graph.microsoft.com/v1.0/me/onenote/sections/ {id} 并给出 {"displayName":"new SectionName"}
推荐阅读
- javascript - Typescript:如何正确使用泛型来正确推断函数的返回类型?
- core-data - SwiftUI & Core Data - 如何在谓词中使用父记录?
- javascript - 如何组合对象数组中的每个值?
- sql-server - 数据库速度慢,日志文件夹中有很多 sqldump 文件
- java - 当我使用 javac 编译几个 .java 文件时,我得到了一些“重复类”错误,但我在我的代码中找不到错误
- vue.js - Vue.http.interceptors.push undefined 不是一个对象
- python - 使用计算机视觉的方案中的符号检测
- java - RecyclerView 适配器 - 只有创建视图层次结构的原始线程才能接触其视图
- json - 如何应用基于点的 JSONPath 来播放 JsValue
- vim - Vim - 移动到具有相同缓冲区的其他窗口时调用缓冲区事件