should this call not look like:
```
endless_pages({endpoint_url: self.api_endpoint, params: params})
```
because the first argument from endless_pages should be an hash, or not?