You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symbol can store image data etc. in full on-chain, but the current default number of data returned by REST API is Max 100, so many loops are required when acquiring data using SDK etc.
If you make a query in a short time, the REST API will stop responding. Therefore, the number of loops can be reduced by returning a large amount of data with one query.
Currently, the maximum number of data returned in the REST API Config generated by Bootstrap is set to 100, but how about setting this maximum to 400?
The files to be modified are as follows.
https://github.com/fboucquez/symbol-bootstrap/blob/dev/config/rest-gateway/rest.json.mustache#L22C12-L22C12
Symbol can store image data etc. in full on-chain, but the current default number of data returned by REST API is Max 100, so many loops are required when acquiring data using SDK etc.
If you make a query in a short time, the REST API will stop responding. Therefore, the number of loops can be reduced by returning a large amount of data with one query.
For reference, the test results of the REST API return of the transaction that wrote image data to the Symbol message are attached below.
https://github.com/ishidad2/symbol-shoestring-build-tool/blob/main/REST_TEST20230915.pdf
The text was updated successfully, but these errors were encountered: