{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/hahuang65/beaker/pulls/13","id":57025658,"html_url":"https://github.com/hahuang65/beaker/pull/13","diff_url":"https://github.com/hahuang65/beaker/pull/13.diff","patch_url":"https://github.com/hahuang65/beaker/pull/13.patch","issue_url":"https://api.github.com/repos/hahuang65/beaker/issues/13","number":13,"state":"open","locked":false,"title":"Time as milliseconds for API and named object","user":{"login":"mfeckie","id":1583673,"avatar_url":"https://avatars.githubusercontent.com/u/1583673?v=3","gravatar_id":"","url":"https://api.github.com/users/mfeckie","html_url":"https://github.com/mfeckie","followers_url":"https://api.github.com/users/mfeckie/followers","following_url":"https://api.github.com/users/mfeckie/following{/other_user}","gists_url":"https://api.github.com/users/mfeckie/gists{/gist_id}","starred_url":"https://api.github.com/users/mfeckie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfeckie/subscriptions","organizations_url":"https://api.github.com/users/mfeckie/orgs","repos_url":"https://api.github.com/users/mfeckie/repos","events_url":"https://api.github.com/users/mfeckie/events{/privacy}","received_events_url":"https://api.github.com/users/mfeckie/received_events","type":"User","site_admin":false},"body":"In order to provide more straightforward handling of dates in JS, this PR sends the timestamps as milliseconds.\r\n\r\nIn order to make it simpler to add lots of charts and deal with them programmatically on the frontend, I've added a `name` property to the sent maps.\r\n\r\nLooking forward to feedback :)","created_at":"2016-01-25T03:34:14Z","updated_at":"2016-01-25T03:34:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hahuang65/beaker/pulls/13/commits","review_comments_url":"https://api.github.com/repos/hahuang65/beaker/pulls/13/comments","review_comment_url":"https://api.github.com/repos/hahuang65/beaker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hahuang65/beaker/issues/13/comments","statuses_url":"https://api.github.com/repos/hahuang65/beaker/statuses/78342a8f07936f8ccb6413b052c1d0c523903fdd","head":{"label":"mfeckie:bugfix/json-api-time-as-milliseconds","ref":"bugfix/json-api-time-as-milliseconds","sha":"78342a8f07936f8ccb6413b052c1d0c523903fdd","user":{"login":"mfeckie","id":1583673,"avatar_url":"https://avatars.githubusercontent.com/u/1583673?v=3","gravatar_id":"","url":"https://api.github.com/users/mfeckie","html_url":"https://github.com/mfeckie","followers_url":"https://api.github.com/users/mfeckie/followers","following_url":"https://api.github.com/users/mfeckie/following{/other_user}","gists_url":"https://api.github.com/users/mfeckie/gists{/gist_id}","starred_url":"https://api.github.com/users/mfeckie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfeckie/subscriptions","organizations_url":"https://api.github.com/users/mfeckie/orgs","repos_url":"https://api.github.com/users/mfeckie/repos","events_url":"https://api.github.com/users/mfeckie/events{/privacy}","received_events_url":"https://api.github.com/users/mfeckie/received_events","type":"User","site_admin":false},"repo":{"id":49922367,"name":"beaker","full_name":"mfeckie/beaker","owner":{"login":"mfeckie","id":1583673,"avatar_url":"https://avatars.githubusercontent.com/u/1583673?v=3","gravatar_id":"","url":"https://api.github.com/users/mfeckie","html_url":"https://github.com/mfeckie","followers_url":"https://api.github.com/users/mfeckie/followers","following_url":"https://api.github.com/users/mfeckie/following{/other_user}","gists_url":"https://api.github.com/users/mfeckie/gists{/gist_id}","starred_url":"https://api.github.com/users/mfeckie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfeckie/subscriptions","organizations_url":"https://api.github.com/users/mfeckie/orgs","repos_url":"https://api.github.com/users/mfeckie/repos","events_url":"https://api.github.com/users/mfeckie/events{/privacy}","received_events_url":"https://api.github.com/users/mfeckie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfeckie/beaker","description":"Statistics and Metrics library for Elixir","fork":true,"url":"https://api.github.com/repos/mfeckie/beaker","forks_url":"https://api.github.com/repos/mfeckie/beaker/forks","keys_url":"https://api.github.com/repos/mfeckie/beaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfeckie/beaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfeckie/beaker/teams","hooks_url":"https://api.github.com/repos/mfeckie/beaker/hooks","issue_events_url":"https://api.github.com/repos/mfeckie/beaker/issues/events{/number}","events_url":"https://api.github.com/repos/mfeckie/beaker/events","assignees_url":"https://api.github.com/repos/mfeckie/beaker/assignees{/user}","branches_url":"https://api.github.com/repos/mfeckie/beaker/branches{/branch}","tags_url":"https://api.github.com/repos/mfeckie/beaker/tags","blobs_url":"https://api.github.com/repos/mfeckie/beaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfeckie/beaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfeckie/beaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfeckie/beaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfeckie/beaker/statuses/{sha}","languages_url":"https://api.github.com/repos/mfeckie/beaker/languages","stargazers_url":"https://api.github.com/repos/mfeckie/beaker/stargazers","contributors_url":"https://api.github.com/repos/mfeckie/beaker/contributors","subscribers_url":"https://api.github.com/repos/mfeckie/beaker/subscribers","subscription_url":"https://api.github.com/repos/mfeckie/beaker/subscription","commits_url":"https://api.github.com/repos/mfeckie/beaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfeckie/beaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfeckie/beaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfeckie/beaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfeckie/beaker/contents/{+path}","compare_url":"https://api.github.com/repos/mfeckie/beaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfeckie/beaker/merges","archive_url":"https://api.github.com/repos/mfeckie/beaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfeckie/beaker/downloads","issues_url":"https://api.github.com/repos/mfeckie/beaker/issues{/number}","pulls_url":"https://api.github.com/repos/mfeckie/beaker/pulls{/number}","milestones_url":"https://api.github.com/repos/mfeckie/beaker/milestones{/number}","notifications_url":"https://api.github.com/repos/mfeckie/beaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfeckie/beaker/labels{/name}","releases_url":"https://api.github.com/repos/mfeckie/beaker/releases{/id}","deployments_url":"https://api.github.com/repos/mfeckie/beaker/deployments","created_at":"2016-01-19T03:03:21Z","updated_at":"2016-01-19T03:03:21Z","pushed_at":"2016-01-25T03:31:26Z","git_url":"git://github.com/mfeckie/beaker.git","ssh_url":"git@github.com:mfeckie/beaker.git","clone_url":"https://github.com/mfeckie/beaker.git","svn_url":"https://github.com/mfeckie/beaker","homepage":null,"size":857,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hahuang65:master","ref":"master","sha":"fd5b0b4c3f6597c033449ebbb40c8938f098c2aa","user":{"login":"hahuang65","id":280972,"avatar_url":"https://avatars.githubusercontent.com/u/280972?v=3","gravatar_id":"","url":"https://api.github.com/users/hahuang65","html_url":"https://github.com/hahuang65","followers_url":"https://api.github.com/users/hahuang65/followers","following_url":"https://api.github.com/users/hahuang65/following{/other_user}","gists_url":"https://api.github.com/users/hahuang65/gists{/gist_id}","starred_url":"https://api.github.com/users/hahuang65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahuang65/subscriptions","organizations_url":"https://api.github.com/users/hahuang65/orgs","repos_url":"https://api.github.com/users/hahuang65/repos","events_url":"https://api.github.com/users/hahuang65/events{/privacy}","received_events_url":"https://api.github.com/users/hahuang65/received_events","type":"User","site_admin":false},"repo":{"id":36715066,"name":"beaker","full_name":"hahuang65/beaker","owner":{"login":"hahuang65","id":280972,"avatar_url":"https://avatars.githubusercontent.com/u/280972?v=3","gravatar_id":"","url":"https://api.github.com/users/hahuang65","html_url":"https://github.com/hahuang65","followers_url":"https://api.github.com/users/hahuang65/followers","following_url":"https://api.github.com/users/hahuang65/following{/other_user}","gists_url":"https://api.github.com/users/hahuang65/gists{/gist_id}","starred_url":"https://api.github.com/users/hahuang65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahuang65/subscriptions","organizations_url":"https://api.github.com/users/hahuang65/orgs","repos_url":"https://api.github.com/users/hahuang65/repos","events_url":"https://api.github.com/users/hahuang65/events{/privacy}","received_events_url":"https://api.github.com/users/hahuang65/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hahuang65/beaker","description":"Statistics and Metrics library for Elixir","fork":false,"url":"https://api.github.com/repos/hahuang65/beaker","forks_url":"https://api.github.com/repos/hahuang65/beaker/forks","keys_url":"https://api.github.com/repos/hahuang65/beaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hahuang65/beaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hahuang65/beaker/teams","hooks_url":"https://api.github.com/repos/hahuang65/beaker/hooks","issue_events_url":"https://api.github.com/repos/hahuang65/beaker/issues/events{/number}","events_url":"https://api.github.com/repos/hahuang65/beaker/events","assignees_url":"https://api.github.com/repos/hahuang65/beaker/assignees{/user}","branches_url":"https://api.github.com/repos/hahuang65/beaker/branches{/branch}","tags_url":"https://api.github.com/repos/hahuang65/beaker/tags","blobs_url":"https://api.github.com/repos/hahuang65/beaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hahuang65/beaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hahuang65/beaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/hahuang65/beaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hahuang65/beaker/statuses/{sha}","languages_url":"https://api.github.com/repos/hahuang65/beaker/languages","stargazers_url":"https://api.github.com/repos/hahuang65/beaker/stargazers","contributors_url":"https://api.github.com/repos/hahuang65/beaker/contributors","subscribers_url":"https://api.github.com/repos/hahuang65/beaker/subscribers","subscription_url":"https://api.github.com/repos/hahuang65/beaker/subscription","commits_url":"https://api.github.com/repos/hahuang65/beaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/hahuang65/beaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/hahuang65/beaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/hahuang65/beaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/hahuang65/beaker/contents/{+path}","compare_url":"https://api.github.com/repos/hahuang65/beaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hahuang65/beaker/merges","archive_url":"https://api.github.com/repos/hahuang65/beaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hahuang65/beaker/downloads","issues_url":"https://api.github.com/repos/hahuang65/beaker/issues{/number}","pulls_url":"https://api.github.com/repos/hahuang65/beaker/pulls{/number}","milestones_url":"https://api.github.com/repos/hahuang65/beaker/milestones{/number}","notifications_url":"https://api.github.com/repos/hahuang65/beaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hahuang65/beaker/labels{/name}","releases_url":"https://api.github.com/repos/hahuang65/beaker/releases{/id}","deployments_url":"https://api.github.com/repos/hahuang65/beaker/deployments","created_at":"2015-06-02T07:12:46Z","updated_at":"2016-01-23T21:43:36Z","pushed_at":"2016-01-25T03:27:16Z","git_url":"git://github.com/hahuang65/beaker.git","ssh_url":"git@github.com:hahuang65/beaker.git","clone_url":"https://github.com/hahuang65/beaker.git","svn_url":"https://github.com/hahuang65/beaker","homepage":null,"size":850,"stargazers_count":134,"watchers_count":134,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hahuang65/beaker/pulls/13"},"html":{"href":"https://github.com/hahuang65/beaker/pull/13"},"issue":{"href":"https://api.github.com/repos/hahuang65/beaker/issues/13"},"comments":{"href":"https://api.github.com/repos/hahuang65/beaker/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/hahuang65/beaker/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/hahuang65/beaker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hahuang65/beaker/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/hahuang65/beaker/statuses/78342a8f07936f8ccb6413b052c1d0c523903fdd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":29,"deletions":28,"changed_files":5}}