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

Proposal to increase the maximum number of data returned by REST API #635

Open
ishidad2 opened this issue Sep 18, 2023 · 1 comment
Open

Comments

@ishidad2
Copy link

fboucquez/symbol-bootstrap#403

As proposed in symbol-bootstrap, we will propose raising the upper limit of the default settings of the REST API.

We have confirmed that rest.json to be modified is included in sai.zip.
tools/shoestring/tests/resources/sai.zip

Symbol can store image data etc. in a full-on chain, but the number of data returned by the REST API is currently a maximum of 100 items by default, so many loops are required when acquiring data using SDK etc. It becomes.
The REST API stops responding after running a query for a short period of time. Therefore, you can reduce the number of loops by returning a large amount of data in one query.

I know that it is possible to change the target limit for individual nodes, but I thought that raising the limit individually would have little overall effect, so I suggested raising the default setting.

For reference, the REST API return test results of a transaction that writes image data to a Symbol message are attached below.
https://github.com/ishidad2/symbol-shoestring-build-tool/blob/main/REST_TEST20230915.pdf

@ishidad2
Copy link
Author

This is a suggestion about shoestring.

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

1 participant