{"action":"created","issue":{"url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/issues/28","repository_url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client","labels_url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/issues/28/comments","events_url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/issues/28/events","html_url":"https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/pull/28","id":209071946,"number":28,"title":"New sendBatch method","user":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars.githubusercontent.com/u/11672286?v=3","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-02-21T08:21:51Z","updated_at":"2017-02-21T16:17:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/pulls/28","html_url":"https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/pull/28","diff_url":"https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/pull/28.diff","patch_url":"https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/pull/28.patch"},"body":"Reason: new \"batch\" endpoint in UPS ([PR here](https://github.com/aerogear/aerogear-unifiedpush-server/pull/794/files)).\r\n\r\nThe new endpoint allows user to send multiple messages within the same request. That is, if we previously used only the `send(message, options)` method to send a notifications, now we have the `sendAll(messages)` to send many. The parameter `messages` is nothing else than an array of `{message, options}` objects so that both method's implementation are alike."},"comment":{"url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/issues/comments/281392669","html_url":"https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/pull/28#issuecomment-281392669","issue_url":"https://api.github.com/repos/aerogear/aerogear-unifiedpush-nodejs-client/issues/28","id":281392669,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-02-21T16:17:23Z","updated_at":"2017-02-21T16:17:23Z","body":"\n[![Coverage Status](https://coveralls.io/builds/10256361/badge)](https://coveralls.io/builds/10256361)\n\nCoverage remained the same at 100.0% when pulling **97e41f41280112f51d930c565231acde0975c3da on josemigallas:new_batch_endpoint** into **24fa6255b51c474c47cbc41059ccc263a62d7cdf on aerogear:master**.\n"}}
{"actor":{"display_login":"coveralls"}}