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

Not working pagination in /assets #535

Open
tereshchuk opened this issue Jan 7, 2021 · 5 comments
Open

Not working pagination in /assets #535

tereshchuk opened this issue Jan 7, 2021 · 5 comments

Comments

@tereshchuk
Copy link

tereshchuk commented Jan 7, 2021

Hello.
Now working pagination
/assets?page=1
"message": ""page" is not allowed",

image

@tereshchuk
Copy link
Author

tereshchuk commented Jan 7, 2021

Please help me
@abruere
@woyuen

@woyuen
Copy link
Member

woyuen commented Jan 9, 2021

Hi @tereshchuk,

I suppose you deployed the Stelace code from the branch dev. You get this error because we introduced a new cursor-based pagination that performs better with large amount of data than the offset pagination.
We'll update the API Reference to reflect that change.

In the meantime to use the previous type of pagination, please add the header x-stelace-version with the value 2019-05-20 to your requests.

@tereshchuk
Copy link
Author

Hi @tereshchuk,

I suppose you deployed the Stelace code from the branch dev. You get this error because we introduced a new cursor-based pagination that performs better with large amount of data than the offset pagination.
We'll update the API Reference to reflect that change.

In the meantime to use the previous type of pagination, please add the header x-stelace-version with the value 2019-05-20 to your requests.

Can you please tell me when will you update the documentation ??

@abruere
Copy link
Member

abruere commented Jan 10, 2021

We can’t give an ETA right now.
Meanwhile, please stick with the last stable release (master or v1.0.0-beta.8 tag), which is properly documented.

We will ping you here when releasing v1.0.0-beta.9.

@bfis108137
Copy link

This issue is problematic because in the dev branch there is also ssl for postgre connections. Is there another branch that is working more or less that has ssl on the postgre connections?

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

No branches or pull requests

4 participants