Anton Kaliaev 2ce8179c8b
validate per_page before page
plus an additional check just in case
Closes #1688
2018-06-05 16:20:48 +04:00
..
2018-05-17 21:25:03 +04:00
2018-04-24 09:56:25 +02:00
2017-12-28 23:15:54 -05:00
2018-05-14 10:33:31 -04:00
2017-11-27 22:39:11 +00:00
2017-08-16 15:17:08 -04:00
2018-05-25 15:59:24 +04:00
2018-03-19 20:01:43 +03:00
2018-05-17 21:25:04 +04:00
2018-04-28 16:09:18 -04:00
2018-06-05 16:20:48 +04:00
2018-06-05 16:20:48 +04:00
2018-05-17 21:25:04 +04:00
2018-04-27 23:19:40 -04:00
2018-06-05 16:20:48 +04:00

Tendermint RPC

Generate markdown for Slate

We are using Slate to power our RPC documentation. For generating markdown use:

go get github.com/davecheney/godoc2md

godoc2md -template rpc/core/doc_template.txt github.com/tendermint/tendermint/rpc/core | grep -v -e "pipe.go" -e "routes.go" -e "dev.go" | sed 's$/src/target$https://github.com/tendermint/tendermint/tree/master/rpc/core$'

For more information see the CI script for building the Slate docs

Pagination

Requests that return multiple items will be paginated to 30 items by default. You can specify further pages with the ?page parameter. You can also set a custom page size up to 100 with the ?per_page parameter.