Open
Description
Description
I am looking for a way to retrieve all dashboard groups. I have successfully used the get_user_dashboards
API call to fetch the dashboards, but I need a similar method to get all dashboard groups.
Current Usage
Here is a snippet of how I currently fetch customer dashboards:
from tb_rest_client.rest_client_pe import *
from tb_rest_client.rest import ApiException
# Initialize the ThingsBoard REST client
client = RestClientPE(base_url="https://thingsboard.cloud")
# Login
client.login(username="USERNAME", password="PASSWORD")
# Fetch customer dashboards
customer_dashboards = client.get_user_dashboards(page_size=100, page=0).data
# Logout
client.logout()
What I need to do is get the dashboard groups in the same way, something like this:
customer_dashboard_groups = client.get_dashboard_groups(page_size=100, page=0).data
Is there any way to do this without knowing the group id?
Thank you for your assistance!
Metadata
Metadata
Assignees
Labels
No labels