OriginProtocol / origin-bridge

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/infra/bridge
MIT License
15 stars 7 forks source link

Pagination: Purchases #100

Closed micahalcorn closed 6 years ago

micahalcorn commented 6 years ago

A request for all purchases should not actually yield all of them. There should be a default limit (maybe 10?) with a maximum limit (maybe 100?). Other parameters might include the starting position and/or ending position for the "page" and the response should probably indicate whether or not there are more results to retrieve in a subsequent request.

The implementation should conform to that of #99.

sparrowDom commented 6 years ago

Pull request that handles this: https://github.com/OriginProtocol/origin-bridge/pull/129