This information can be found through the get customer entity views API request. There are 2 options to make a request:
Get entity view data with REST API endpoint
You can find the full description of the endpoint under the following link:
https://iot.cital.io/swagger-ui/#/entity-view-controller/getCustomerEntityViewsUsingGET
Get entity view data with ThingsBoard REST client
...
# Get entity view data
customer_id = current_user.customer_id.id
entity_view_data = rest_client.get_customer_entity_views(
customer_id=current_user.customer_id.id, page=0, page_size=10)
For full details see our Quickstart guide.
API Documentation
- API Documentation
- What is the maximum number of data points I can fetch per call?
- How can I fetch the entity view (device) data starting from the first activation date until NOW date?
- Are entity views the entity used to attach data to the devices (sensors)?
- What is the max size limit returned from the time series API when aggregation is submitted?