{"action":"created","issue":{"url":"https://api.github.com/repos/meumobi/sitebuilder/issues/429","repository_url":"https://api.github.com/repos/meumobi/sitebuilder","labels_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/429/comments","events_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/429/events","html_url":"https://github.com/meumobi/sitebuilder/issues/429","id":186377507,"number":429,"title":"export devices to OneSignal","user":{"login":"elbidone","id":9011612,"avatar_url":"https://avatars.githubusercontent.com/u/9011612?v=3","gravatar_id":"","url":"https://api.github.com/users/elbidone","html_url":"https://github.com/elbidone","followers_url":"https://api.github.com/users/elbidone/followers","following_url":"https://api.github.com/users/elbidone/following{/other_user}","gists_url":"https://api.github.com/users/elbidone/gists{/gist_id}","starred_url":"https://api.github.com/users/elbidone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbidone/subscriptions","organizations_url":"https://api.github.com/users/elbidone/orgs","repos_url":"https://api.github.com/users/elbidone/repos","events_url":"https://api.github.com/users/elbidone/events{/privacy}","received_events_url":"https://api.github.com/users/elbidone/received_events","type":"User","site_admin":false},"labels":[{"id":234754450,"url":"https://api.github.com/repos/meumobi/sitebuilder/labels/push%20notification","name":"push notification","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T19:39:53Z","updated_at":"2016-11-04T18:45:53Z","closed_at":null,"body":"We are migrating from pushwoosh Push Provider to OneSignal. At the moment all push tokens (ios and android) are saved  on meumobi. We'd like to replace them by player_id provided by OneSignal. To achieve it we'll [create device on OneSignal](https://documentation.onesignal.com/reference#add-a-device) for each device registered on meumobi.\r\n\r\nThe script should be saved on `$ sitebuilder/script`."},"comment":{"url":"https://api.github.com/repos/meumobi/sitebuilder/issues/comments/258516249","html_url":"https://github.com/meumobi/sitebuilder/issues/429#issuecomment-258516249","issue_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/429","id":258516249,"user":{"login":"elbidone","id":9011612,"avatar_url":"https://avatars.githubusercontent.com/u/9011612?v=3","gravatar_id":"","url":"https://api.github.com/users/elbidone","html_url":"https://github.com/elbidone","followers_url":"https://api.github.com/users/elbidone/followers","following_url":"https://api.github.com/users/elbidone/following{/other_user}","gists_url":"https://api.github.com/users/elbidone/gists{/gist_id}","starred_url":"https://api.github.com/users/elbidone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbidone/subscriptions","organizations_url":"https://api.github.com/users/elbidone/orgs","repos_url":"https://api.github.com/users/elbidone/repos","events_url":"https://api.github.com/users/elbidone/events{/privacy}","received_events_url":"https://api.github.com/users/elbidone/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T18:45:53Z","updated_at":"2016-11-04T18:45:53Z","body":"the script should read the collection devices from mongodb, send push_id to onesignal and replace it by player_id provided by OneSIgnal."}}
{"actor":{"display_login":"elbidone"}}