# Clarifications on use of &page URL parameter

**URL:** <https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [Janvier 3, 2018, 10:03 UTC](https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158 "2018-01-03T10:03:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [Janvier 3, 2018, 3:28 UTC](https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158/2 "2018-01-03T15:28:00Z")

</div>

The page param starts at 1. If it’s less than 1, it’s assumed to be page 1. ([Code here](https://github.com/discourse/discourse/blob/master/lib/admin_user_index_query.rb#L28-L31).) And you’re right that we don’t return any attribute saying how many pages there are, so I guess the best thing right now is to stop when you find a page with less than 100 results.

---

_[View the full topic](https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158)._
