BUG: REST API - Getting page collection of a section returns deleted pages
I noticed that requesting a page collection from a section will return a response with pages that were deleted already. This does not always occur. In my scenario I deleted pages from the OneNote web app and made a call to the following endpoint:
Both current and deleted pages were returned in the response.