opencivicdata / docs.opencivicdata.org

Open Civic Data project documentation
https://open-civic-data.readthedocs.io
44 stars 33 forks source link

seems like page numbering is 1-indexed? #39

Closed boblannon closed 7 years ago

boblannon commented 9 years ago

https://github.com/opencivicdata/docs.opencivicdata.org/blob/master/api/overview.rst#common-parameters

says that the range for page is (0 - max_page), but that's evidently not true?

https://api.opencivicdata.org/jurisdictions/?apikey=xxxx&page=0

response:

{
"error": "No such page (heh, literally - its out of bounds)"
}
mileswwatkins commented 9 years ago

Pages are indeed 1-indexed for now! We'll fix this after the docsprints.