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#2465...
[2]
https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-134...
Best regards,
Idel Pivnitskiy
--
Twitter: @idelpivnitskiy <
https://twitter.com/idelpivnitskiy>
GitHub: @idelpivnitskiy <
https://github.com/idelpivnitskiy>
On Mon, Aug 29, 2016 at 12:59 PM, Geraldo Amaral Filho <
geraldo.amaral(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev