Search code examples
javaonenote-api

Making a page version with the OneOne API


I've got a java program updating a page in a OneNote notebook.

I'd would like it to make a "version" of this page before modifying it.

Not a mere copy, but a version that OneNote recognize. Is there anyone knowing how to do this with OneNote Rest Api ? I couldn't find anything.

[EDIT]

To make it clear on what I call versions, it is these automatic copies taken by OneNote when one modifies a page:

enter image description here


Solution

  • OneNote page versions is an already existing feature in OneNote.

    https://support.office.com/en-us/article/See-a-list-of-recent-changes-in-a-notebook-in-OneNote-2016-for-Windows-55dc5183-9112-4c7e-a9cf-44cd66c19c77?ui=en-US&rs=en-US&ad=US

    However, page versions aren't supported in the OneNote API - I encourage you to create a uservoice item for us to track this and link it here.

    https://onenote.uservoice.com/forums/245490-onenote-developer-apis