I am currently using the Microsoft Graph Explorer to query the OneNote API to try and get Notebooks stored on a SharePoint site.
However, the Notebooks were created in teams but I can access them from a browser with our SharePoint url - not sure if this complicates anything?
The issue I am having is I am trying to get a set of Notebooks in a specific location (folder) and I am using the URL:
https://graph.microsoft.com/v1.0/sites/{organisationID}/onenote/notebooks
- this does return a successful response but it has no meaningful data, only links which also return nothing meaningful.
Any help or feedback would be greatly appreciated.
Cheers