Skip to content

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

@ishidad2

Description

@ishidad2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions