mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 07:44:57 +00:00
Update getStoreMessagesV3
and installStoreApiHandlers
to set default and max values for page_size
* Set default value of `page_size` to 20 and max value to 100 in `getStoreMessagesV3` function in `waku/waku_api/rest/store/client.nim` * Enforce default value of `page_size` to 20 and max value to 100 in `installStoreApiHandlers` procedure in `waku/waku_api/rest/store/handlers.nim` * Add notes in `docs/api/rest-api.md` and `docs/operators/how-to/configure-rest-api.md` mentioning the default and max values for `page_size`
This commit is contained in:
parent
6121c54715
commit
3d5df946e3