Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support paging on relation properties #150

Open
farez opened this issue May 16, 2023 · 2 comments
Open

Support paging on relation properties #150

farez opened this issue May 16, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@farez
Copy link
Contributor

farez commented May 16, 2023

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!

@johguentner johguentner added the enhancement New feature or request label Jun 19, 2023
@johguentner johguentner added this to the 🍩 1.2.0 milestone Jun 19, 2023
@johguentner johguentner self-assigned this Jun 19, 2023
@johguentner
Copy link
Member

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.

@farez
Copy link
Contributor Author

farez commented Jun 26, 2023

No problem! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants