{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/1","id":35081584,"html_url":"https://github.com/ciaranarcher/stmw_shelly/pull/1","diff_url":"https://github.com/ciaranarcher/stmw_shelly/pull/1.diff","patch_url":"https://github.com/ciaranarcher/stmw_shelly/pull/1.patch","issue_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues/1","number":1,"state":"open","locked":false,"title":"Add http auth","user":{"login":"abmartinr","id":8858963,"avatar_url":"https://avatars.githubusercontent.com/u/8858963?v=3","gravatar_id":"","url":"https://api.github.com/users/abmartinr","html_url":"https://github.com/abmartinr","followers_url":"https://api.github.com/users/abmartinr/followers","following_url":"https://api.github.com/users/abmartinr/following{/other_user}","gists_url":"https://api.github.com/users/abmartinr/gists{/gist_id}","starred_url":"https://api.github.com/users/abmartinr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abmartinr/subscriptions","organizations_url":"https://api.github.com/users/abmartinr/orgs","repos_url":"https://api.github.com/users/abmartinr/repos","events_url":"https://api.github.com/users/abmartinr/events{/privacy}","received_events_url":"https://api.github.com/users/abmartinr/received_events","type":"User","site_admin":false},"body":"Created API Keys model\r\n- Rails c\r\n- ApiKey.create!\r\nUse that token to add -H ‘Authorization: Token token=YOURKEYHERE’ into\r\nyour curl calls.\r\n\r\nExample: curl http://localhost:3000/users/1.json -H 'Authorization:\r\nToken token=\"360733c1399e50376bb929636468cbad\"'","created_at":"2015-05-10T11:58:43Z","updated_at":"2015-05-10T11:58:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues/1/comments","statuses_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/statuses/354cb455d81bc43b35e2fa5c65232eb933ffcb7e","head":{"label":"abmartinr:httpauth","ref":"httpauth","sha":"354cb455d81bc43b35e2fa5c65232eb933ffcb7e","user":{"login":"abmartinr","id":8858963,"avatar_url":"https://avatars.githubusercontent.com/u/8858963?v=3","gravatar_id":"","url":"https://api.github.com/users/abmartinr","html_url":"https://github.com/abmartinr","followers_url":"https://api.github.com/users/abmartinr/followers","following_url":"https://api.github.com/users/abmartinr/following{/other_user}","gists_url":"https://api.github.com/users/abmartinr/gists{/gist_id}","starred_url":"https://api.github.com/users/abmartinr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abmartinr/subscriptions","organizations_url":"https://api.github.com/users/abmartinr/orgs","repos_url":"https://api.github.com/users/abmartinr/repos","events_url":"https://api.github.com/users/abmartinr/events{/privacy}","received_events_url":"https://api.github.com/users/abmartinr/received_events","type":"User","site_admin":false},"repo":{"id":35368503,"name":"stmw_shelly","full_name":"abmartinr/stmw_shelly","owner":{"login":"abmartinr","id":8858963,"avatar_url":"https://avatars.githubusercontent.com/u/8858963?v=3","gravatar_id":"","url":"https://api.github.com/users/abmartinr","html_url":"https://github.com/abmartinr","followers_url":"https://api.github.com/users/abmartinr/followers","following_url":"https://api.github.com/users/abmartinr/following{/other_user}","gists_url":"https://api.github.com/users/abmartinr/gists{/gist_id}","starred_url":"https://api.github.com/users/abmartinr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abmartinr/subscriptions","organizations_url":"https://api.github.com/users/abmartinr/orgs","repos_url":"https://api.github.com/users/abmartinr/repos","events_url":"https://api.github.com/users/abmartinr/events{/privacy}","received_events_url":"https://api.github.com/users/abmartinr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abmartinr/stmw_shelly","description":"Basic Rails scaffold for https://shellycloud.com/","fork":true,"url":"https://api.github.com/repos/abmartinr/stmw_shelly","forks_url":"https://api.github.com/repos/abmartinr/stmw_shelly/forks","keys_url":"https://api.github.com/repos/abmartinr/stmw_shelly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abmartinr/stmw_shelly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abmartinr/stmw_shelly/teams","hooks_url":"https://api.github.com/repos/abmartinr/stmw_shelly/hooks","issue_events_url":"https://api.github.com/repos/abmartinr/stmw_shelly/issues/events{/number}","events_url":"https://api.github.com/repos/abmartinr/stmw_shelly/events","assignees_url":"https://api.github.com/repos/abmartinr/stmw_shelly/assignees{/user}","branches_url":"https://api.github.com/repos/abmartinr/stmw_shelly/branches{/branch}","tags_url":"https://api.github.com/repos/abmartinr/stmw_shelly/tags","blobs_url":"https://api.github.com/repos/abmartinr/stmw_shelly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abmartinr/stmw_shelly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abmartinr/stmw_shelly/git/refs{/sha}","trees_url":"https://api.github.com/repos/abmartinr/stmw_shelly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abmartinr/stmw_shelly/statuses/{sha}","languages_url":"https://api.github.com/repos/abmartinr/stmw_shelly/languages","stargazers_url":"https://api.github.com/repos/abmartinr/stmw_shelly/stargazers","contributors_url":"https://api.github.com/repos/abmartinr/stmw_shelly/contributors","subscribers_url":"https://api.github.com/repos/abmartinr/stmw_shelly/subscribers","subscription_url":"https://api.github.com/repos/abmartinr/stmw_shelly/subscription","commits_url":"https://api.github.com/repos/abmartinr/stmw_shelly/commits{/sha}","git_commits_url":"https://api.github.com/repos/abmartinr/stmw_shelly/git/commits{/sha}","comments_url":"https://api.github.com/repos/abmartinr/stmw_shelly/comments{/number}","issue_comment_url":"https://api.github.com/repos/abmartinr/stmw_shelly/issues/comments{/number}","contents_url":"https://api.github.com/repos/abmartinr/stmw_shelly/contents/{+path}","compare_url":"https://api.github.com/repos/abmartinr/stmw_shelly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abmartinr/stmw_shelly/merges","archive_url":"https://api.github.com/repos/abmartinr/stmw_shelly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abmartinr/stmw_shelly/downloads","issues_url":"https://api.github.com/repos/abmartinr/stmw_shelly/issues{/number}","pulls_url":"https://api.github.com/repos/abmartinr/stmw_shelly/pulls{/number}","milestones_url":"https://api.github.com/repos/abmartinr/stmw_shelly/milestones{/number}","notifications_url":"https://api.github.com/repos/abmartinr/stmw_shelly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abmartinr/stmw_shelly/labels{/name}","releases_url":"https://api.github.com/repos/abmartinr/stmw_shelly/releases{/id}","created_at":"2015-05-10T11:36:17Z","updated_at":"2015-05-10T11:36:18Z","pushed_at":"2015-05-10T11:58:14Z","git_url":"git://github.com/abmartinr/stmw_shelly.git","ssh_url":"git@github.com:abmartinr/stmw_shelly.git","clone_url":"https://github.com/abmartinr/stmw_shelly.git","svn_url":"https://github.com/abmartinr/stmw_shelly","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ciaranarcher:master","ref":"master","sha":"b6732698b5d7332051a76e427bdb305edcda565b","user":{"login":"ciaranarcher","id":527473,"avatar_url":"https://avatars.githubusercontent.com/u/527473?v=3","gravatar_id":"","url":"https://api.github.com/users/ciaranarcher","html_url":"https://github.com/ciaranarcher","followers_url":"https://api.github.com/users/ciaranarcher/followers","following_url":"https://api.github.com/users/ciaranarcher/following{/other_user}","gists_url":"https://api.github.com/users/ciaranarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/ciaranarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciaranarcher/subscriptions","organizations_url":"https://api.github.com/users/ciaranarcher/orgs","repos_url":"https://api.github.com/users/ciaranarcher/repos","events_url":"https://api.github.com/users/ciaranarcher/events{/privacy}","received_events_url":"https://api.github.com/users/ciaranarcher/received_events","type":"User","site_admin":false},"repo":{"id":35365346,"name":"stmw_shelly","full_name":"ciaranarcher/stmw_shelly","owner":{"login":"ciaranarcher","id":527473,"avatar_url":"https://avatars.githubusercontent.com/u/527473?v=3","gravatar_id":"","url":"https://api.github.com/users/ciaranarcher","html_url":"https://github.com/ciaranarcher","followers_url":"https://api.github.com/users/ciaranarcher/followers","following_url":"https://api.github.com/users/ciaranarcher/following{/other_user}","gists_url":"https://api.github.com/users/ciaranarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/ciaranarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciaranarcher/subscriptions","organizations_url":"https://api.github.com/users/ciaranarcher/orgs","repos_url":"https://api.github.com/users/ciaranarcher/repos","events_url":"https://api.github.com/users/ciaranarcher/events{/privacy}","received_events_url":"https://api.github.com/users/ciaranarcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ciaranarcher/stmw_shelly","description":"Basic Rails scaffold for https://shellycloud.com/","fork":false,"url":"https://api.github.com/repos/ciaranarcher/stmw_shelly","forks_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/forks","keys_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/teams","hooks_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/hooks","issue_events_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues/events{/number}","events_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/events","assignees_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/assignees{/user}","branches_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/branches{/branch}","tags_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/tags","blobs_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/statuses/{sha}","languages_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/languages","stargazers_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/stargazers","contributors_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/contributors","subscribers_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/subscribers","subscription_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/subscription","commits_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/contents/{+path}","compare_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/merges","archive_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/downloads","issues_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues{/number}","pulls_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls{/number}","milestones_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/milestones{/number}","notifications_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/labels{/name}","releases_url":"https://api.github.com/repos/ciaranarcher/stmw_shelly/releases{/id}","created_at":"2015-05-10T09:42:37Z","updated_at":"2015-05-10T09:44:32Z","pushed_at":"2015-05-10T09:44:31Z","git_url":"git://github.com/ciaranarcher/stmw_shelly.git","ssh_url":"git@github.com:ciaranarcher/stmw_shelly.git","clone_url":"https://github.com/ciaranarcher/stmw_shelly.git","svn_url":"https://github.com/ciaranarcher/stmw_shelly","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/1"},"html":{"href":"https://github.com/ciaranarcher/stmw_shelly/pull/1"},"issue":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues/1"},"comments":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ciaranarcher/stmw_shelly/statuses/354cb455d81bc43b35e2fa5c65232eb933ffcb7e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":48,"deletions":2,"changed_files":6}}