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

exploreProfiles query : pageInfo for pagination incomplete #75

Open
starwalker00 opened this issue Jun 20, 2022 · 0 comments
Open

exploreProfiles query : pageInfo for pagination incomplete #75

starwalker00 opened this issue Jun 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@starwalker00
Copy link

Hello,

The server answers the exploreProfiles query pageInfo field with this :

"pageInfo": {
	"prev": "{\"offset\":0}",
	"next": "{\"offset\":10}",
	"totalCount": 12382
}

However, I think it should answer with more parameters in next and prev fields, like in explorePublications below :

"pageInfo": {
	"prev": "{\"timestamp\":1655134829263,\"offset\":0,\"randomizer\":10}",
	"next": "{\"timestamp\":1655134829263,\"offset\":10,\"randomizer\":10}",
	"totalCount": 8635
}

These additionnal parameters are needed when fetching more results from an initial request in order not to have the same result twice.

Bye.

@joshstevens19 joshstevens19 added the bug Something isn't working label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants