Closed fisehara closed 11 months ago
While preparing a python sdk snippet to fetch device_history data, I discovered that, we have intentionally added range filters on the SDK / client) side to not fetch all data by default. That made me think it's not working. Please excuse the noise.
balena-sdk 14.1.0
balena.models.device.history.get_all_by_device
returns empty array for UUID or ID whereas using direct url request with OData compliant query parameters returns data for a givne visible device.Run script with
UUID="<uuid>" APITOKEN="<apiTokenFromDashboard>" python3 test.py
code to reproduce, please get an APIKEY and an device UUID that you have access to: