exodus icon indicating copy to clipboard operation
exodus copied to clipboard

[REQUEST] Add new API endpoint to send applications details based on List

Open theimpulson opened this issue 3 years ago • 3 comments

Not sure how hard it is to implement, but would be great if we can have a new API endpoint in which the client could POST a List<String> containing package names of applications. The server then in response would then process the list and create a new JSON for packages that contains tracker details then return either that JSON data or a new temp endpoint which will host that JSON data.

This would reduce the multiple calls made to the server to check all applications present on a device.

theimpulson avatar Feb 18 '22 17:02 theimpulson

The main issue I see with this is that with the current solution (one call per application) we can easily cache our response to prevent hitting too much on our server.

If we start to make more specific calls (with a list of applications), our caching strategy won't work anymore.

pnu-s avatar Feb 22 '22 07:02 pnu-s

I agree that the list will not work with caching. How about if the server extracts package names and then processes them in a loop? That should be feasible I think. Once done, simply add it to a new list and send the data back.

theimpulson avatar Feb 24 '22 13:02 theimpulson

To reduce size download of reports maybe add parameters on api source = fdroid or google

  • Example: https://reports.exodus-privacy.eu.org/api/search/org.eu.exodus_privacy.exodusprivacy?source=fdroid

Jean-BaptisteC avatar Apr 18 '22 15:04 Jean-BaptisteC