<div dir="ltr">Hello Geraldo,<div><br></div><div>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&#39;s why you have to use Installation.id for feature purposes if needed.</div><div><br></div><div>[1] <a href="https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#246535932">https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#246535932</a></div><div>[2] <a href="https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-1343907292">https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-1343907292</a><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Best regards,<div>Idel Pivnitskiy</div><div>--<br></div><div>Twitter: <a href="https://twitter.com/idelpivnitskiy" target="_blank">@idelpivnitskiy</a></div><div>GitHub: <a href="https://github.com/idelpivnitskiy" target="_blank">@idelpivnitskiy</a></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 29, 2016 at 12:59 PM, Geraldo Amaral Filho <span dir="ltr">&lt;<a href="mailto:geraldo.amaral@camara.leg.br" target="_blank">geraldo.amaral@camara.leg.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have read the Aerogear&#39;s REST API docs, but I could not find a way to<br>
get all the categories a device token subscribes.<br>
<br>
Will I have to query the MySQL database directly to get that information?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Geraldo Amaral<br>
Cenin - Câmara dos Deputados<br>
Telefone: <a href="tel:61-3216-3871" value="+16132163871">61-3216-3871</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-dev</a></font></span></blockquote></div><br></div></div></div>