Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connections Endpoint is missing include_totals parameter #349

Closed
norascheuch opened this issue Jun 28, 2022 · 2 comments · Fixed by #357
Closed

Connections Endpoint is missing include_totals parameter #349

norascheuch opened this issue Jun 28, 2022 · 2 comments · Fixed by #357
Labels
feature request A feature has been asked for or suggested by the community

Comments

@norascheuch
Copy link

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?!

@norascheuch norascheuch added the feature request A feature has been asked for or suggested by the community label Jun 28, 2022
@stevehobbsdev
Copy link
Contributor

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

@norascheuch
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants