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

1.12.1 Change in returned data type for fetching network members #2114

Closed
sinamics opened this issue Aug 26, 2023 · 1 comment · Fixed by #2115
Closed

1.12.1 Change in returned data type for fetching network members #2114

sinamics opened this issue Aug 26, 2023 · 1 comment · Fixed by #2115
Milestone

Comments

@sinamics
Copy link

Description

The controller API used to return an Object with key-value pairs when fetching all members on a network. The latest version is returning an Array of objects instead. This conflicts with the existing API documentation.
https://docs.zerotier.com/service/v1/#operation/getControllerNetworkMembers

curl http://127.0.0.1:9993/controller/network/{network_id}/member \
-H 'Content-Type: application/json' \
-H 'X-ZT1-Auth: $Token'

Please let us know

What operating system and ZeroTier version. Please try the latest ZeroTier release.

  • Operating System: Debian
  • ZeroTier Version: 1.12.1

Suggested Actions

If the change to an Array of objects as the return type was deliberate, then updating the API documentation to reflect this alteration is crucial for avoiding confusion.

Could you kindly clarify if the Array of objects is now the expected return format, or if this discrepancy is a bug that will be rectified?

@U11Leung
Copy link

I am coupling zt with ZeroUI, even on updated zt 1.12.1, members section is still not usable, but I see just blank response from zt backend api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants