php - OneNote API fails to get any notes from shared notebook for sharing user -
as developer, i'm able (using php via rest api) notes notebook shared client. see, search me returns 25 notes within accessed section:
{ "@odata.context":"https://www.onenote.com/api/v1.0/$metadata#me/notes/sections('0-240bd74c83900c17%21128584')/pages(title,id,links,contenturl)","@odata.count":25,"value":[ { ...
but logged in (duly authenticated) client (and using same code), 0 notes:
{ "@odata.context":"https://www.onenote.com/api/v1.0/$metadata#me/notes/sections('0-240bd74c83900c17%21128584')/pages(title,id,links,contenturl)","@odata.count":0,"value":[
] }
what needs done client not section in shared notebook (more importantly!) notes in section?
first off apologies shared pages not being returned api. i've tracked issue down regional incident in our partner service. (user impact estimated <1% of total active users).
once incident resolved, see shared pages being returned correctly.
in meantime, temporary workaround adding below header api request return shared pages.
favordatarecency: true
Comments
Post a Comment