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

List or query multiple sites #57

Closed
superfishlu opened this issue Jul 20, 2020 · 1 comment
Closed

List or query multiple sites #57

superfishlu opened this issue Jul 20, 2020 · 1 comment

Comments

@superfishlu
Copy link

Hello,

As per the documentation, we need to give the site ID when connecting to the controller.
Is it possible to list the controller for sites and query multiple sites? E.g. search for a client across all sites or create a given setting for all existing sites on the controller?
Likewise, can one create a new site with this API client?

Thanks a lot.

@finish06
Copy link
Owner

Per my understanding of API, that would not be possible because the API URL needs the site ID. However, the work around would be to use the get_sites method. Then loop through the different sites searching for clients, settings, etc.

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

No branches or pull requests

2 participants