| To request the list of applications, the following endpoint must be called: rest/applications The result is an array of JSON objects representing each application which, in turn, contains an array of all the variants for each application. If we have 10 applications with 5 variants each, 50 objects are returned. The same rest endpoint can be used to retrieve the number of installations and the number of messages sent for each application and variant. To return such information custom HEADERS are returned as below:
- 2 HEADERS for each application: one containing the number of installations and one containing the number of messages grouped by application
- 2 HEADERS for each variant: one containing the number of installations and one containing the number of messages
That means that in the previous example of 10 applications with 5 variants each, this will result in 20 headers for the applications and 100 headers for the variants (120 headers in total). This can easily lead to huge headers. |