{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/7","id":55748749,"html_url":"https://github.com/sysdia-solutions/stataz_api/pull/7","diff_url":"https://github.com/sysdia-solutions/stataz_api/pull/7.diff","patch_url":"https://github.com/sysdia-solutions/stataz_api/pull/7.patch","issue_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/7","number":7,"state":"closed","locked":false,"title":"feat(History): add user status history model","user":{"login":"thestonefox","id":1029673,"avatar_url":"https://avatars.githubusercontent.com/u/1029673?v=3","gravatar_id":"","url":"https://api.github.com/users/thestonefox","html_url":"https://github.com/thestonefox","followers_url":"https://api.github.com/users/thestonefox/followers","following_url":"https://api.github.com/users/thestonefox/following{/other_user}","gists_url":"https://api.github.com/users/thestonefox/gists{/gist_id}","starred_url":"https://api.github.com/users/thestonefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestonefox/subscriptions","organizations_url":"https://api.github.com/users/thestonefox/orgs","repos_url":"https://api.github.com/users/thestonefox/repos","events_url":"https://api.github.com/users/thestonefox/events{/privacy}","received_events_url":"https://api.github.com/users/thestonefox/received_events","type":"User","site_admin":false},"body":"The History model stores every active Status for a User at the point\r\nwhen the Status is set to active via the `PUT /status/:id` route.\r\n\r\nThe Profile view now uses these History records to display the current\r\nUser Status along with the previous 4 active statuses from History.\r\n\r\nThis enables the user's profile to contain their current active Status\r\nand a brief record of their previous active statuses.","created_at":"2016-01-12T12:03:06Z","updated_at":"2016-01-12T13:19:18Z","closed_at":"2016-01-12T13:19:18Z","merged_at":"2016-01-12T13:19:18Z","merge_commit_sha":"ffffc8269161d2c333d3fb01b42dac4f60eafea4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/7/commits","review_comments_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/7/comments","review_comment_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/7/comments","statuses_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/statuses/56fe1a5f3dc7b3a3c3ea4b5515ae2780f88e3749","head":{"label":"sysdia-solutions:feat/status-history","ref":"feat/status-history","sha":"56fe1a5f3dc7b3a3c3ea4b5515ae2780f88e3749","user":{"login":"sysdia-solutions","id":5951173,"avatar_url":"https://avatars.githubusercontent.com/u/5951173?v=3","gravatar_id":"","url":"https://api.github.com/users/sysdia-solutions","html_url":"https://github.com/sysdia-solutions","followers_url":"https://api.github.com/users/sysdia-solutions/followers","following_url":"https://api.github.com/users/sysdia-solutions/following{/other_user}","gists_url":"https://api.github.com/users/sysdia-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/sysdia-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysdia-solutions/subscriptions","organizations_url":"https://api.github.com/users/sysdia-solutions/orgs","repos_url":"https://api.github.com/users/sysdia-solutions/repos","events_url":"https://api.github.com/users/sysdia-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/sysdia-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":49068825,"name":"stataz_api","full_name":"sysdia-solutions/stataz_api","owner":{"login":"sysdia-solutions","id":5951173,"avatar_url":"https://avatars.githubusercontent.com/u/5951173?v=3","gravatar_id":"","url":"https://api.github.com/users/sysdia-solutions","html_url":"https://github.com/sysdia-solutions","followers_url":"https://api.github.com/users/sysdia-solutions/followers","following_url":"https://api.github.com/users/sysdia-solutions/following{/other_user}","gists_url":"https://api.github.com/users/sysdia-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/sysdia-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysdia-solutions/subscriptions","organizations_url":"https://api.github.com/users/sysdia-solutions/orgs","repos_url":"https://api.github.com/users/sysdia-solutions/repos","events_url":"https://api.github.com/users/sysdia-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/sysdia-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sysdia-solutions/stataz_api","description":"The backend for the stataz simple-status-service","fork":false,"url":"https://api.github.com/repos/sysdia-solutions/stataz_api","forks_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/forks","keys_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/teams","hooks_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/hooks","issue_events_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/events{/number}","events_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/events","assignees_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/assignees{/user}","branches_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/branches{/branch}","tags_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/tags","blobs_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/statuses/{sha}","languages_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/languages","stargazers_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/stargazers","contributors_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/contributors","subscribers_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/subscribers","subscription_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/subscription","commits_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/contents/{+path}","compare_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/merges","archive_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/downloads","issues_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues{/number}","pulls_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls{/number}","milestones_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/milestones{/number}","notifications_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/labels{/name}","releases_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/releases{/id}","created_at":"2016-01-05T13:51:08Z","updated_at":"2016-01-11T13:23:40Z","pushed_at":"2016-01-12T13:19:18Z","git_url":"git://github.com/sysdia-solutions/stataz_api.git","ssh_url":"git@github.com:sysdia-solutions/stataz_api.git","clone_url":"https://github.com/sysdia-solutions/stataz_api.git","svn_url":"https://github.com/sysdia-solutions/stataz_api","homepage":"","size":64,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"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":"sysdia-solutions:master","ref":"master","sha":"e5e8ec0fc331c2aa6cef29ac855b10afab45478c","user":{"login":"sysdia-solutions","id":5951173,"avatar_url":"https://avatars.githubusercontent.com/u/5951173?v=3","gravatar_id":"","url":"https://api.github.com/users/sysdia-solutions","html_url":"https://github.com/sysdia-solutions","followers_url":"https://api.github.com/users/sysdia-solutions/followers","following_url":"https://api.github.com/users/sysdia-solutions/following{/other_user}","gists_url":"https://api.github.com/users/sysdia-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/sysdia-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysdia-solutions/subscriptions","organizations_url":"https://api.github.com/users/sysdia-solutions/orgs","repos_url":"https://api.github.com/users/sysdia-solutions/repos","events_url":"https://api.github.com/users/sysdia-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/sysdia-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":49068825,"name":"stataz_api","full_name":"sysdia-solutions/stataz_api","owner":{"login":"sysdia-solutions","id":5951173,"avatar_url":"https://avatars.githubusercontent.com/u/5951173?v=3","gravatar_id":"","url":"https://api.github.com/users/sysdia-solutions","html_url":"https://github.com/sysdia-solutions","followers_url":"https://api.github.com/users/sysdia-solutions/followers","following_url":"https://api.github.com/users/sysdia-solutions/following{/other_user}","gists_url":"https://api.github.com/users/sysdia-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/sysdia-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysdia-solutions/subscriptions","organizations_url":"https://api.github.com/users/sysdia-solutions/orgs","repos_url":"https://api.github.com/users/sysdia-solutions/repos","events_url":"https://api.github.com/users/sysdia-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/sysdia-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sysdia-solutions/stataz_api","description":"The backend for the stataz simple-status-service","fork":false,"url":"https://api.github.com/repos/sysdia-solutions/stataz_api","forks_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/forks","keys_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/teams","hooks_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/hooks","issue_events_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/events{/number}","events_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/events","assignees_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/assignees{/user}","branches_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/branches{/branch}","tags_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/tags","blobs_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/statuses/{sha}","languages_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/languages","stargazers_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/stargazers","contributors_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/contributors","subscribers_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/subscribers","subscription_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/subscription","commits_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/contents/{+path}","compare_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/merges","archive_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/downloads","issues_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues{/number}","pulls_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls{/number}","milestones_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/milestones{/number}","notifications_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/labels{/name}","releases_url":"https://api.github.com/repos/sysdia-solutions/stataz_api/releases{/id}","created_at":"2016-01-05T13:51:08Z","updated_at":"2016-01-11T13:23:40Z","pushed_at":"2016-01-12T13:19:18Z","git_url":"git://github.com/sysdia-solutions/stataz_api.git","ssh_url":"git@github.com:sysdia-solutions/stataz_api.git","clone_url":"https://github.com/sysdia-solutions/stataz_api.git","svn_url":"https://github.com/sysdia-solutions/stataz_api","homepage":"","size":64,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/7"},"html":{"href":"https://github.com/sysdia-solutions/stataz_api/pull/7"},"issue":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/7"},"comments":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/sysdia-solutions/stataz_api/statuses/56fe1a5f3dc7b3a3c3ea4b5515ae2780f88e3749"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"thestonefox","id":1029673,"avatar_url":"https://avatars.githubusercontent.com/u/1029673?v=3","gravatar_id":"","url":"https://api.github.com/users/thestonefox","html_url":"https://github.com/thestonefox","followers_url":"https://api.github.com/users/thestonefox/followers","following_url":"https://api.github.com/users/thestonefox/following{/other_user}","gists_url":"https://api.github.com/users/thestonefox/gists{/gist_id}","starred_url":"https://api.github.com/users/thestonefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestonefox/subscriptions","organizations_url":"https://api.github.com/users/thestonefox/orgs","repos_url":"https://api.github.com/users/thestonefox/repos","events_url":"https://api.github.com/users/thestonefox/events{/privacy}","received_events_url":"https://api.github.com/users/thestonefox/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":173,"deletions":12,"changed_files":10}}