knocean / knode

Knowledge Development Environment
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Add limit and offset query parameters #32

Closed jamesaoverton closed 6 years ago

jamesaoverton commented 7 years ago

The TSV methods should allow for limits and offsets in the query parameters. The response should also indicate the location in the result set. These are mainly useful when the set of terms is not specified. This is required to make the list of all terms at /ontology/ useful -- currently it only includes terms from :terms.

I would like to follow PostgREST as far a possible: https://postgrest.com/en/v0.4/api.html#limits-and-pagination

jamesaoverton commented 6 years ago

Implemented in #68.