auth0/ruby-auth0

Connections Endpoint is missing `include_totals` parameter

norascheuch opened this issue · 2 comments

Describe the problem you'd like to have solved

The official auth0 api endpoint get_connections has a paramter include_totals. Since the endpoint is paginated the totals are needed to get all connections sensibly.

Describe the ideal solution

Add include_totals as a parameter in the connections method

Alternatives and current work-arounds

Know how many you have and loop over that, make an educated guess, just using my_client.get('api/v2/connections', parameters_including_the_totals) does not work for me (`getaddrinfo': Failed to open TCP connection).

Additional information, if any

I would be happy to make the contribution myself?!

Thanks for the call out, I've raised #357 to fix this 👍🏻

Hi Steve, thanks a lot! I noticed that the other endpoints (or some of them) are missing the include_totals as well.