# 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:** [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:** 1

<div class="post-metadata">

**Author:** ![Mark\_Walkom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_walkom/32/77411_2.png) [@Mark\_Walkom](https://meta.discourse.org/u/Mark_Walkom)\
**Post date:** [3 يناير 2018، 10:03ص UTC](https://meta.discourse.org/t/clarifications-on-use-of-page-url-parameter/77158/1 "2018-01-03T10:03:25Z")

</div>

First time poster, so forgive me if I am doing this entirely wrong.

I was trying to pull down our users via `https://discuss.elastic.co/admin/users/list/all.json?api_key=KEY&api_username=USER` which is working fine. However I have two problems when dealing with pagination and I could do with some clarification.

1. `https://discuss.elastic.co/admin/users/list/all.json?api_key=KEY&api_username=USER&page=0` and `https://discuss.elastic.co/admin/users/list/all.json?api_key=KEY&api_username=USER&page=1` seem to return the same thing.
2. `https://discuss.elastic.co/admin/users/list/all.json?api_key=KEY&api_username=USER&page=9999999` returns a HTTP 200, but no body, because the page count doesn’t go that high.

I don’t seem to see anything in the response body or headers to indicate what the first/next/last page is. And the docs only say it takes an integer (buts accepts negative ones too).

Appreciative of any guidance that can be offered 🙂

---

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