Hello Geraldo,

When you register a device on the UPS [1] it returns you a JSON object of Installation with a new id. You can use this id to retrieve an Installation object at any time [2], which contains an array of categories for current device token. We can not guarantee, that device token will be unique in UPS database, that's why you have to use Installation.id for feature purposes if needed.

[1] https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#246535932
[2] https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-1343907292

Best regards,
Idel Pivnitskiy
--

On Mon, Aug 29, 2016 at 12:59 PM, Geraldo Amaral Filho <geraldo.amaral@camara.leg.br> wrote:
I have read the Aerogear's REST API docs, but I could not find a way to
get all the categories a device token subscribes.

Will I have to query the MySQL database directly to get that information?

--
Geraldo Amaral
Cenin - Câmara dos Deputados
Telefone: 61-3216-3871


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev