{"id":309,"date":"2017-08-08T00:00:00","date_gmt":"2017-08-08T07:00:00","guid":{"rendered":"http:\/\/officedevblogs.wpengine.com\/?p=309"},"modified":"2021-11-15T10:38:18","modified_gmt":"2021-11-15T18:38:18","slug":"onenote-api-for-sharepoint-site-hosted-notebooks-in-microsoft-graph-v1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/onenote-api-for-sharepoint-site-hosted-notebooks-in-microsoft-graph-v1\/","title":{"rendered":"OneNote APIs for SharePoint site-hosted notebooks in Microsoft Graph v1.0"},"content":{"rendered":"<div id=\"body-content\">\n<p>The OneNote API is now available on sites routes in Microsoft Graph v1.0. This means that you can now access SharePoint site-hosted team notebooks via the OneNote APIs in Microsoft Graph.<br>&nbsp;<br>At Microsoft Build, we <a href=\"https:\/\/na01.safelinks.protection.outlook.com\/?url=https%3A%2F%2Fdev.office.com%2Fblogs%2Fmicrosoft-graph-at-build-2017&amp;data=04%7C01%7Clauragra%40exchange.microsoft.com%7C582c94355f294234d90408d4d9ffb19b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636373139616206311%7CUnknown%7CVW5rbm93bnx7IlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiT3RoZXIifQ%3D%3D%7C-1&amp;sdata=eonSylqpZ%2BMfnxqaj0UtRb36%2BA6AQNXNG75mgQrucjw%3D&amp;reserved=0\">announced the availability of the OneNote APIs in Microsoft Graph v1.0<\/a>. You can use these APIs to build rich integrations with OneNote notebooks stored in users&rsquo; OneDrive for consumer and OneDrive for Business, Office 365 groups, and now on SharePoint sites as well! For example:<br>&nbsp;<br>GET&nbsp;<a href=\"https:\/\/na01.safelinks.protection.outlook.com\/?url=https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fsites%2F%257bsitesId%257d%2Fonenote%2Fnotebooks&amp;data=04%7C01%7Clauragra%40exchange.microsoft.com%7C582c94355f294234d90408d4d9ffb19b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636373139616206311%7CUnknown%7CVW5rbm93bnx7IlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiT3RoZXIifQ%3D%3D%7C-1&amp;sdata=wFFfrlvVslsTwkmTsOIxjBCk2WBczJUJJXA5sJzUoqU%3D&amp;reserved=0\">https:\/\/graph.microsoft.com\/v1.0\/sites\/{sitesId}\/onenote\/notebooks<\/a><br>&nbsp;<br>To learn more and to get started with the OneNote APIs:<\/p>\n<ul>\n<li>Try out the APIs in the <a href=\"https:\/\/developer.microsoft.com\/en-us\/graph\/graph-explorer?request=sites\/cie493742.sharepoint.com,3fba7aa2-4f02-4a78-a906-70561c49da42,6b2e41fa-2f64-4b10-813a-f0304416db76\/onenote\/notebooks&amp;method=GET&amp;version=v1.0\">Graph Explorer<\/a>.<\/li>\n<li>See the <a href=\"https:\/\/na01.safelinks.protection.outlook.com\/?url=https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fv1.0%2Fresources%2Fonenote&amp;data=04%7C01%7Clauragra%40exchange.microsoft.com%7C582c94355f294234d90408d4d9ffb19b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636373139616206311%7CUnknown%7CVW5rbm93bnx7IlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiT3RoZXIifQ%3D%3D%7C-1&amp;sdata=bJiqrSALClyvVcTvHHUa6uP90VsI6tWy9rmEoXgv7WA%3D&amp;reserved=0\">OneNote reference documentation<\/a>.<\/li>\n<li>Install the updated <a href=\"https:\/\/developer.microsoft.com\/en-us\/graph\/code-samples-and-sdks\">Microsoft Graph SDKs<\/a>.<\/li>\n<\/ul>\n<p>&nbsp;<br>As always, please send us your feedback. Connect with us on Twitter by posting with #MicrosoftGraph and #OneNote, and post your questions on Stack Overflow, tagged MicrosoftGraph and OneNote. Happy coding!<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The OneNote API is now available on sites routes in Microsoft Graph v1.0. This means that you can now access SharePoint site-hosted team notebooks via the OneNote APIs in Microsoft Graph.&nbsp;At<\/p>\n","protected":false},"author":69077,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,9],"tags":[71],"class_list":["post-309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","category-sharepoint-framework","tag-onenote"],"acf":[],"blog_post_summary":"<p>The OneNote API is now available on sites routes in Microsoft Graph v1.0. This means that you can now access SharePoint site-hosted team notebooks via the OneNote APIs in Microsoft Graph.&nbsp;At<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69077"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}