laravel-notion-api
laravel-notion-api copied to clipboard
Support paging on relation properties
Is your feature request related to a problem? Please describe.
At the moment, when retrieving a page using the pages() endpoint, the result returns a maximum of 25 references for each relation property.
Describe the solution you'd like
To more than 25 references inside a relation property, Notion requires us to use the "Retrieve a page property item" endpoint along with paging, documented here: https://developers.notion.com/reference/retrieve-a-page-property
This issue and solution are also described in this article: https://notionmastery.com/pushing-notion-to-the-limits/#prop-refs-api
I don't know if this endpoint is already in this package (I can't find any documentation on it), so if it isn't, would it be possible to add it?
Thanks!
Yeah, this endpoint is currently not implemented.
If there is some free time in the next few weeks I might fit it in the v1.2.0
, however I think it will be a feature for v1.3.0
. I'll keep you updated as best as I can.
No problem! Thanks.