Is there any easy way to find the number of pages returned by a OneNote API search with GET?
Asked
Active
Viewed 313 times
1 Answers
4
Use the count=true query parameter in GET ~pages API.
Support for $count We now support the OData $count verb so you can get the total number of pages in the collection. Good for paging. E.g. https://www.onenote.com/api/v1.0/pages?count=true

DipakBoyed
- 434
- 2
- 5
-
Excellent Dipak! Just what I need. Many thanks for your prompt answer. I missed seeing that in the API documentation. – Velojet Aug 31 '15 at 19:18