{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/driusan/Loris/pulls/20","id":44462862,"html_url":"https://github.com/driusan/Loris/pull/20","diff_url":"https://github.com/driusan/Loris/pull/20.diff","patch_url":"https://github.com/driusan/Loris/pull/20.patch","issue_url":"https://api.github.com/repos/driusan/Loris/issues/20","number":20,"state":"closed","locked":false,"title":"RESTAPI login request","user":{"login":"jstirling91","id":2818503,"avatar_url":"https://avatars.githubusercontent.com/u/2818503?v=3","gravatar_id":"","url":"https://api.github.com/users/jstirling91","html_url":"https://github.com/jstirling91","followers_url":"https://api.github.com/users/jstirling91/followers","following_url":"https://api.github.com/users/jstirling91/following{/other_user}","gists_url":"https://api.github.com/users/jstirling91/gists{/gist_id}","starred_url":"https://api.github.com/users/jstirling91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstirling91/subscriptions","organizations_url":"https://api.github.com/users/jstirling91/orgs","repos_url":"https://api.github.com/users/jstirling91/repos","events_url":"https://api.github.com/users/jstirling91/events{/privacy}","received_events_url":"https://api.github.com/users/jstirling91/received_events","type":"User","site_admin":false},"body":"By creating the client to be commandLine it causes the client session to not be properly created and checked, causing all request to return a ```401 Not Authorized```","created_at":"2015-09-08T17:56:58Z","updated_at":"2015-09-08T18:07:27Z","closed_at":"2015-09-08T18:07:27Z","merged_at":"2015-09-08T18:07:27Z","merge_commit_sha":"43a242021376aa5eee0112493c6ebbf555121e3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/driusan/Loris/pulls/20/commits","review_comments_url":"https://api.github.com/repos/driusan/Loris/pulls/20/comments","review_comment_url":"https://api.github.com/repos/driusan/Loris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/driusan/Loris/issues/20/comments","statuses_url":"https://api.github.com/repos/driusan/Loris/statuses/a413bd28a81bdc2b2778e2b38120fa2ffd666f5a","head":{"label":"jstirling91:REST_API_login","ref":"REST_API_login","sha":"a413bd28a81bdc2b2778e2b38120fa2ffd666f5a","user":{"login":"jstirling91","id":2818503,"avatar_url":"https://avatars.githubusercontent.com/u/2818503?v=3","gravatar_id":"","url":"https://api.github.com/users/jstirling91","html_url":"https://github.com/jstirling91","followers_url":"https://api.github.com/users/jstirling91/followers","following_url":"https://api.github.com/users/jstirling91/following{/other_user}","gists_url":"https://api.github.com/users/jstirling91/gists{/gist_id}","starred_url":"https://api.github.com/users/jstirling91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstirling91/subscriptions","organizations_url":"https://api.github.com/users/jstirling91/orgs","repos_url":"https://api.github.com/users/jstirling91/repos","events_url":"https://api.github.com/users/jstirling91/events{/privacy}","received_events_url":"https://api.github.com/users/jstirling91/received_events","type":"User","site_admin":false},"repo":{"id":25377023,"name":"Loris","full_name":"jstirling91/Loris","owner":{"login":"jstirling91","id":2818503,"avatar_url":"https://avatars.githubusercontent.com/u/2818503?v=3","gravatar_id":"","url":"https://api.github.com/users/jstirling91","html_url":"https://github.com/jstirling91","followers_url":"https://api.github.com/users/jstirling91/followers","following_url":"https://api.github.com/users/jstirling91/following{/other_user}","gists_url":"https://api.github.com/users/jstirling91/gists{/gist_id}","starred_url":"https://api.github.com/users/jstirling91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstirling91/subscriptions","organizations_url":"https://api.github.com/users/jstirling91/orgs","repos_url":"https://api.github.com/users/jstirling91/repos","events_url":"https://api.github.com/users/jstirling91/events{/privacy}","received_events_url":"https://api.github.com/users/jstirling91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jstirling91/Loris","description":"LORIS (Longitudinal Online Research and Imaging System) is a web-accessible database solution for neuroimaging.","fork":true,"url":"https://api.github.com/repos/jstirling91/Loris","forks_url":"https://api.github.com/repos/jstirling91/Loris/forks","keys_url":"https://api.github.com/repos/jstirling91/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstirling91/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstirling91/Loris/teams","hooks_url":"https://api.github.com/repos/jstirling91/Loris/hooks","issue_events_url":"https://api.github.com/repos/jstirling91/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/jstirling91/Loris/events","assignees_url":"https://api.github.com/repos/jstirling91/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/jstirling91/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/jstirling91/Loris/tags","blobs_url":"https://api.github.com/repos/jstirling91/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstirling91/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstirling91/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstirling91/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstirling91/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/jstirling91/Loris/languages","stargazers_url":"https://api.github.com/repos/jstirling91/Loris/stargazers","contributors_url":"https://api.github.com/repos/jstirling91/Loris/contributors","subscribers_url":"https://api.github.com/repos/jstirling91/Loris/subscribers","subscription_url":"https://api.github.com/repos/jstirling91/Loris/subscription","commits_url":"https://api.github.com/repos/jstirling91/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstirling91/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstirling91/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstirling91/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstirling91/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/jstirling91/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstirling91/Loris/merges","archive_url":"https://api.github.com/repos/jstirling91/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstirling91/Loris/downloads","issues_url":"https://api.github.com/repos/jstirling91/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/jstirling91/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/jstirling91/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/jstirling91/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstirling91/Loris/labels{/name}","releases_url":"https://api.github.com/repos/jstirling91/Loris/releases{/id}","created_at":"2014-10-17T21:02:09Z","updated_at":"2015-05-08T19:25:46Z","pushed_at":"2015-09-08T17:53:34Z","git_url":"git://github.com/jstirling91/Loris.git","ssh_url":"git@github.com:jstirling91/Loris.git","clone_url":"https://github.com/jstirling91/Loris.git","svn_url":"https://github.com/jstirling91/Loris","homepage":"","size":61165,"stargazers_count":0,"watchers_count":0,"language":"Smarty","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"driusan:RESTAPI","ref":"RESTAPI","sha":"7a8aeb41b711be8f32f5677a56838f89ed4701b5","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"repo":{"id":25378793,"name":"Loris","full_name":"driusan/Loris","owner":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/driusan/Loris","description":"LORIS (Longitudinal Online Research and Imaging System) is a web-accessible database solution for neuroimaging.","fork":true,"url":"https://api.github.com/repos/driusan/Loris","forks_url":"https://api.github.com/repos/driusan/Loris/forks","keys_url":"https://api.github.com/repos/driusan/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driusan/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driusan/Loris/teams","hooks_url":"https://api.github.com/repos/driusan/Loris/hooks","issue_events_url":"https://api.github.com/repos/driusan/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/driusan/Loris/events","assignees_url":"https://api.github.com/repos/driusan/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/driusan/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/driusan/Loris/tags","blobs_url":"https://api.github.com/repos/driusan/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driusan/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driusan/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/driusan/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driusan/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/driusan/Loris/languages","stargazers_url":"https://api.github.com/repos/driusan/Loris/stargazers","contributors_url":"https://api.github.com/repos/driusan/Loris/contributors","subscribers_url":"https://api.github.com/repos/driusan/Loris/subscribers","subscription_url":"https://api.github.com/repos/driusan/Loris/subscription","commits_url":"https://api.github.com/repos/driusan/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/driusan/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/driusan/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/driusan/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/driusan/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/driusan/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driusan/Loris/merges","archive_url":"https://api.github.com/repos/driusan/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driusan/Loris/downloads","issues_url":"https://api.github.com/repos/driusan/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/driusan/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/driusan/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/driusan/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driusan/Loris/labels{/name}","releases_url":"https://api.github.com/repos/driusan/Loris/releases{/id}","created_at":"2014-10-17T21:57:06Z","updated_at":"2015-08-28T19:33:53Z","pushed_at":"2015-09-08T18:07:27Z","git_url":"git://github.com/driusan/Loris.git","ssh_url":"git@github.com:driusan/Loris.git","clone_url":"https://github.com/driusan/Loris.git","svn_url":"https://github.com/driusan/Loris","homepage":"","size":63685,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/driusan/Loris/pulls/20"},"html":{"href":"https://github.com/driusan/Loris/pull/20"},"issue":{"href":"https://api.github.com/repos/driusan/Loris/issues/20"},"comments":{"href":"https://api.github.com/repos/driusan/Loris/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/driusan/Loris/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/driusan/Loris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/driusan/Loris/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/driusan/Loris/statuses/a413bd28a81bdc2b2778e2b38120fa2ffd666f5a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}