get https://api.thethings.io/v2/classes/me/?subscribe=true&keepAlive=
Subscribes to collection updates. When somebody updates the collection you will be notified.
Also note that, for example, "/classes/me/:idCollection1/" is not considered to be the same collection as "/classes/me/:idCollection1/:primaryKey1/:idCollection2" , so you have to subscribe both.
curl -H "Content-Type: application/json" \
-X GET "https://api.thethings.io/v2/classes/me/Playlists?subscribe=true&keepAlive=2000" -H
[
{
_id: 20,
"name": "Classic",
"duration" : 90
}
]