API Device: paginated list
Hi to all.
The rest method in question (GET /api/v1/devices), for the recovery of the devices associated with the user, is not limited in the returned data. In our context, the GET operation recovers approximately 28.6 Mb of data from your servers, with excessive commitment on both sides. The paging of the results is suggested, as in the case of the recovery of connection reports (GET /api/v1/reports/connections)
Thanks.
Domenico Langone
Comments
-
Hello Domenico,
Currently a paging approach for the devices or contacts api is not planned.
If you like to receive smaller chunks of data i recommend you GET /api/v1/groups first
and then iterate over the GET /api/v1/devices?groupid=g12345 API.
That would return only data from the given groupId as such it should be a fragment of the data you mentioned above.
If you have all devices in one group - there will be no difference of course.
You mentioned an excessive commitment related to the amount of data you receive.
What exactly are the problems resulting from this on your side?
0 -
Problems: not specific problem for us or for you.
This is a user experience. It is a bit strange that in a web scenario the weight that such a substantial response has on the applicant's device is not taken into consideration. In our case, via management console, we get this result with a browser open on the TV Management Console only and to query the endpoints associated with us.
In any case: Thanks for reply MrT. You offer a possibility that I can follow. I suggest to you same path for web management console in other scenario: Trusted Device as info for specific user and not for the whole subscription. Maybe if it were a subsection of the specific user we could use it.
Regards.
Domenico Langone
0 -
Hey, thanks for taking the time to create such a nice problem description..
Regarding the trusted devices overview - i will forward this to the respective developers and rais an issue regarding the performance for large lists of devices.
i will also forward your feedback to product management regarding the general impact on client devices.
0 -
Thanks to you!
Actually our Tensor subscription not work... so I've some spare time ;-)
Regards
Domenico Langone
1 -
-
Would you say how many devices you have on your list ?
I have about 2500 devices on my list.
And want to have possibility to compare mine results, with yours.Regards,
mLipok , AutoIt MVP0 -
35000, and grow up...
Never consult that list via browser. It is impossible without paging data system.
Regards.
Domenico Langone
0 -
I had about 2000 devices on my list a 1 year ago, so I can say my list is growing too, but not so fast.....
And for sure is not comparable to yours list.Regards,
mLipok , AutoIt MVP0