Skip to content

set limit to zero to get around default #10

@tmaybe

Description

@tmaybe

As of 661226e there's a default limit of 100 candidates on any call that doesn't explicitly set a limit.

I'd like to be able to defeat that limit by explicitly setting limit to 0 in the query string.

For example, this request will return a list of 100 of the 119 total matching records:

http://api.pemiluapi.org/candidate/api/caleg?apiKey=fea6f7d9ec0b31e256a673114792cb17&dapil=1200-01-0000

I'd like this request to return all 119 matching records:

http://api.pemiluapi.org/candidate/api/caleg?apiKey=fea6f7d9ec0b31e256a673114792cb17&dapil=1200-01-0000&limit=0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions