{"action":"created","comment":{"url":"https://api.github.com/repos/andela/balder-ah-backend/pulls/comments/238964682","pull_request_review_id":181631537,"id":238964682,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODk2NDY4Mg==","diff_hunk":"@@ -0,0 +1,140 @@\n+import user from '../db/models';\n+\n+const { User } = user;\n+\n+/**\n+ * @description class representing user profiles\n+ *\n+ * @class UserProfileHandler\n+ */\n+class userProfileHandler {\n+  /**\n+   * @description - This method is responsible for retrieving a currently logged in user\n+   *\n+   * @static\n+   * @param {object} request - Request sent to the router\n+   * @param {object} response - Response sent from the controller\n+   *\n+   * @returns {object} - object representing response message\n+   *\n+   * @memberof UserProfileHandler\n+   */\n+  static async getCurrentUser(request, response) {\n+    const { payload } = request.userData;\n+    const userId = payload.id;\n+    try {\n+      const foundUser = await User.findOne({\n+        where: { id: userId }\n+      });\n+\n+      const currentUser = {\n+        username: foundUser.username,\n+        email: foundUser.email,\n+        bio: foundUser.bio,\n+        image: foundUser.image\n+      };\n+      if (foundUser && !foundUser.error) {\n+        return response.status(200).json({\n+          status: 'Success',\n+          message: 'Retrieved user successfully',\n+          currentUser\n+        });\n+      }\n+    } catch (error) {\n+      response.status(500).json({\n+        status: 'Fail',\n+        message: 'Could not retrieve user at this moment',\n+        error\n+      });\n+    }\n+  }\n+\n+  /**\n+   * @description - This method is responsible for updating a user's profile\n+   *\n+   * @static\n+   * @param {object} request - Request sent to the router\n+   * @param {object} response - Response sent from the controller\n+   *\n+   * @returns {object} - object representing response message\n+   *\n+   * @memberof UserProfileHandler\n+   */\n+  static async updateProfile(request, response) {\n+    const { payload } = request.userData;\n+    const userId = payload.id;\n+    try {\n+      const foundUser = await User.findOne({\n+        where: { id: userId }\n+      });\n+      const updatedUser = await User.update(\n+        {\n+          username: request.body.username || foundUser.username,\n+          email: request.body.email || foundUser.email,\n+          bio: request.body.bio || foundUser.bio,\n+          image: request.body.image || foundUser.image\n+        },\n+        {\n+          where: { id: foundUser.id }\n+        }\n+      );\n+      if (updatedUser && !updatedUser.error) {\n+        return response.status(200).json({\n+          status: 'Success',\n+          message: 'Updated profile successfully'\n+        });\n+      }\n+    } catch (error) {\n+      response.status(500).json({\n+        status: 'Fail',\n+        message: 'Can not update profile at this moment',","path":"src/controllers/profile.js","position":90,"original_position":90,"commit_id":"0ac48776fcb275799bcfa42d122caf78f29b66ea","original_commit_id":"0ac48776fcb275799bcfa42d122caf78f29b66ea","user":{"login":"frostyblok","id":40468678,"node_id":"MDQ6VXNlcjQwNDY4Njc4","avatar_url":"https://avatars1.githubusercontent.com/u/40468678?v=4","gravatar_id":"","url":"https://api.github.com/users/frostyblok","html_url":"https://github.com/frostyblok","followers_url":"https://api.github.com/users/frostyblok/followers","following_url":"https://api.github.com/users/frostyblok/following{/other_user}","gists_url":"https://api.github.com/users/frostyblok/gists{/gist_id}","starred_url":"https://api.github.com/users/frostyblok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frostyblok/subscriptions","organizations_url":"https://api.github.com/users/frostyblok/orgs","repos_url":"https://api.github.com/users/frostyblok/repos","events_url":"https://api.github.com/users/frostyblok/events{/privacy}","received_events_url":"https://api.github.com/users/frostyblok/received_events","type":"User","site_admin":false},"body":"Same as above...","created_at":"2018-12-05T08:13:54Z","updated_at":"2018-12-05T08:33:15Z","html_url":"https://github.com/andela/balder-ah-backend/pull/23#discussion_r238964682","pull_request_url":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/balder-ah-backend/pulls/comments/238964682"},"html":{"href":"https://github.com/andela/balder-ah-backend/pull/23#discussion_r238964682"},"pull_request":{"href":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23","id":235948615,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTQ4NjE1","html_url":"https://github.com/andela/balder-ah-backend/pull/23","diff_url":"https://github.com/andela/balder-ah-backend/pull/23.diff","patch_url":"https://github.com/andela/balder-ah-backend/pull/23.patch","issue_url":"https://api.github.com/repos/andela/balder-ah-backend/issues/23","number":23,"state":"open","locked":false,"title":"#162170712 Create users profiles","user":{"login":"oluwajuwon","id":29441898,"node_id":"MDQ6VXNlcjI5NDQxODk4","avatar_url":"https://avatars0.githubusercontent.com/u/29441898?v=4","gravatar_id":"","url":"https://api.github.com/users/oluwajuwon","html_url":"https://github.com/oluwajuwon","followers_url":"https://api.github.com/users/oluwajuwon/followers","following_url":"https://api.github.com/users/oluwajuwon/following{/other_user}","gists_url":"https://api.github.com/users/oluwajuwon/gists{/gist_id}","starred_url":"https://api.github.com/users/oluwajuwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oluwajuwon/subscriptions","organizations_url":"https://api.github.com/users/oluwajuwon/orgs","repos_url":"https://api.github.com/users/oluwajuwon/repos","events_url":"https://api.github.com/users/oluwajuwon/events{/privacy}","received_events_url":"https://api.github.com/users/oluwajuwon/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR handles retrieving a logged in or signed up user's profile, editing a user's profile and getting other user's profile\r\n#### Description of Task to be completed?\r\nThis task has the following endpoints working\r\n\r\n- GET /api/user/\r\nTo retrieve a current user's profile/details\r\n- PUT /api/user/\r\nTo update a current user's profile/details\r\n- GET /api/profiles/:username\r\nTo get other user's profile\r\n\r\n#### How should this be manually tested?\r\n- Clone this repo\r\n- In your terminal cd into the folder it creates\r\n- Run **npm install** to install all the dependencies that will be used by the project\r\n- Check the **.env.sample** to create a **.env** file in your root folder\r\n- Run **npm run dev:start** to start the app\r\n- Signup through **localhost:3000/api/signup** or Login through **localhost:3000/api/login** respectively using postman as a client\r\n- Send a GET request to **localhost:3000/api/user** to get your profile details\r\n- Send a PUT request to **localhost:3000/api/user** with the required fields (username, email, bio, image) filled to update your profile details\r\n- Send a GET request to **localhost:3000/api/profiles/(enter username)** to retrieve a user's profile\r\n- Run **npm test** to test the app\r\n- View the Swagger UI on **localhost:3000/api/docs**\r\n#### Any background context you want to provide?\r\nN/A\r\n#### What are the relevant pivotal tracker stories?\r\n[#162170712](https://www.pivotaltracker.com/story/show/162170712)\r\n#### Screenshots (if appropriate)\r\n<img width=\"1440\" alt=\"screen shot 2018-12-04 at 4 19 54 pm\" src=\"https://user-images.githubusercontent.com/29441898/49451991-a4895a00-f7e0-11e8-98ac-cb8bee295a29.png\">\r\n<img width=\"1440\" alt=\"screen shot 2018-12-04 at 4 20 15 pm\" src=\"https://user-images.githubusercontent.com/29441898/49451992-a4895a00-f7e0-11e8-8b0c-e585d1268f5d.png\">\r\n<img width=\"1440\" alt=\"screen shot 2018-12-04 at 4 20 18 pm\" src=\"https://user-images.githubusercontent.com/29441898/49451993-a4895a00-f7e0-11e8-8746-3bb5c12e11d9.png\">\r\n\r\n#### Questions:","created_at":"2018-12-04T20:28:20Z","updated_at":"2018-12-05T08:33:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f1c0e539b1911bd4529f813d30169260bd5347f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"codeshifu","id":5154605,"node_id":"MDQ6VXNlcjUxNTQ2MDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5154605?v=4","gravatar_id":"","url":"https://api.github.com/users/codeshifu","html_url":"https://github.com/codeshifu","followers_url":"https://api.github.com/users/codeshifu/followers","following_url":"https://api.github.com/users/codeshifu/following{/other_user}","gists_url":"https://api.github.com/users/codeshifu/gists{/gist_id}","starred_url":"https://api.github.com/users/codeshifu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeshifu/subscriptions","organizations_url":"https://api.github.com/users/codeshifu/orgs","repos_url":"https://api.github.com/users/codeshifu/repos","events_url":"https://api.github.com/users/codeshifu/events{/privacy}","received_events_url":"https://api.github.com/users/codeshifu/received_events","type":"User","site_admin":false},{"login":"akhilome","id":15332525,"node_id":"MDQ6VXNlcjE1MzMyNTI1","avatar_url":"https://avatars2.githubusercontent.com/u/15332525?v=4","gravatar_id":"","url":"https://api.github.com/users/akhilome","html_url":"https://github.com/akhilome","followers_url":"https://api.github.com/users/akhilome/followers","following_url":"https://api.github.com/users/akhilome/following{/other_user}","gists_url":"https://api.github.com/users/akhilome/gists{/gist_id}","starred_url":"https://api.github.com/users/akhilome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhilome/subscriptions","organizations_url":"https://api.github.com/users/akhilome/orgs","repos_url":"https://api.github.com/users/akhilome/repos","events_url":"https://api.github.com/users/akhilome/events{/privacy}","received_events_url":"https://api.github.com/users/akhilome/received_events","type":"User","site_admin":false},{"login":"marcdomain","id":25563661,"node_id":"MDQ6VXNlcjI1NTYzNjYx","avatar_url":"https://avatars3.githubusercontent.com/u/25563661?v=4","gravatar_id":"","url":"https://api.github.com/users/marcdomain","html_url":"https://github.com/marcdomain","followers_url":"https://api.github.com/users/marcdomain/followers","following_url":"https://api.github.com/users/marcdomain/following{/other_user}","gists_url":"https://api.github.com/users/marcdomain/gists{/gist_id}","starred_url":"https://api.github.com/users/marcdomain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcdomain/subscriptions","organizations_url":"https://api.github.com/users/marcdomain/orgs","repos_url":"https://api.github.com/users/marcdomain/repos","events_url":"https://api.github.com/users/marcdomain/events{/privacy}","received_events_url":"https://api.github.com/users/marcdomain/received_events","type":"User","site_admin":false},{"login":"okoroemeka","id":32361413,"node_id":"MDQ6VXNlcjMyMzYxNDEz","avatar_url":"https://avatars0.githubusercontent.com/u/32361413?v=4","gravatar_id":"","url":"https://api.github.com/users/okoroemeka","html_url":"https://github.com/okoroemeka","followers_url":"https://api.github.com/users/okoroemeka/followers","following_url":"https://api.github.com/users/okoroemeka/following{/other_user}","gists_url":"https://api.github.com/users/okoroemeka/gists{/gist_id}","starred_url":"https://api.github.com/users/okoroemeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okoroemeka/subscriptions","organizations_url":"https://api.github.com/users/okoroemeka/orgs","repos_url":"https://api.github.com/users/okoroemeka/repos","events_url":"https://api.github.com/users/okoroemeka/events{/privacy}","received_events_url":"https://api.github.com/users/okoroemeka/received_events","type":"User","site_admin":false},{"login":"Johnsonojo","id":32887459,"node_id":"MDQ6VXNlcjMyODg3NDU5","avatar_url":"https://avatars1.githubusercontent.com/u/32887459?v=4","gravatar_id":"","url":"https://api.github.com/users/Johnsonojo","html_url":"https://github.com/Johnsonojo","followers_url":"https://api.github.com/users/Johnsonojo/followers","following_url":"https://api.github.com/users/Johnsonojo/following{/other_user}","gists_url":"https://api.github.com/users/Johnsonojo/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnsonojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnsonojo/subscriptions","organizations_url":"https://api.github.com/users/Johnsonojo/orgs","repos_url":"https://api.github.com/users/Johnsonojo/repos","events_url":"https://api.github.com/users/Johnsonojo/events{/privacy}","received_events_url":"https://api.github.com/users/Johnsonojo/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23/commits","review_comments_url":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23/comments","review_comment_url":"https://api.github.com/repos/andela/balder-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/balder-ah-backend/issues/23/comments","statuses_url":"https://api.github.com/repos/andela/balder-ah-backend/statuses/0ac48776fcb275799bcfa42d122caf78f29b66ea","head":{"label":"andela:ft-create-profiles-162170712","ref":"ft-create-profiles-162170712","sha":"0ac48776fcb275799bcfa42d122caf78f29b66ea","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156544885,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDQ4ODU=","name":"balder-ah-backend","full_name":"andela/balder-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/balder-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/balder-ah-backend","forks_url":"https://api.github.com/repos/andela/balder-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/balder-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/balder-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/balder-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/balder-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/balder-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/balder-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/balder-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/balder-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/balder-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/balder-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/balder-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/balder-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/balder-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/balder-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/balder-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/balder-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/balder-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/balder-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/balder-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/balder-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/balder-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/balder-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/balder-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/balder-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/balder-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/balder-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/balder-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/balder-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/balder-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/balder-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/balder-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/balder-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/balder-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/balder-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/balder-ah-backend/deployments","created_at":"2018-11-07T12:42:41Z","updated_at":"2018-12-04T19:27:32Z","pushed_at":"2018-12-05T08:30:45Z","git_url":"git://github.com/andela/balder-ah-backend.git","ssh_url":"git@github.com:andela/balder-ah-backend.git","clone_url":"https://github.com/andela/balder-ah-backend.git","svn_url":"https://github.com/andela/balder-ah-backend","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"d26919ac17d723aa656a5fd26eadfe98dd94c777","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156544885,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDQ4ODU=","name":"balder-ah-backend","full_name":"andela/balder-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/balder-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/balder-ah-backend","forks_url":"https://api.github.com/repos/andela/balder-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/balder-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/balder-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/balder-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/balder-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/balder-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/balder-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/balder-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/balder-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/balder-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/balder-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/balder-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/balder-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/balder-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/balder-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/balder-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/balder-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/balder-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/balder-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/balder-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/balder-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/balder-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/balder-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/balder-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/balder-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/balder-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/balder-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/balder-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/balder-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/balder-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/balder-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/balder-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/balder-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/balder-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/balder-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/balder-ah-backend/deployments","created_at":"2018-11-07T12:42:41Z","updated_at":"2018-12-04T19:27:32Z","pushed_at":"2018-12-05T08:30:45Z","git_url":"git://github.com/andela/balder-ah-backend.git","ssh_url":"git@github.com:andela/balder-ah-backend.git","clone_url":"https://github.com/andela/balder-ah-backend.git","svn_url":"https://github.com/andela/balder-ah-backend","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23"},"html":{"href":"https://github.com/andela/balder-ah-backend/pull/23"},"issue":{"href":"https://api.github.com/repos/andela/balder-ah-backend/issues/23"},"comments":{"href":"https://api.github.com/repos/andela/balder-ah-backend/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/balder-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/balder-ah-backend/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/andela/balder-ah-backend/statuses/0ac48776fcb275799bcfa42d122caf78f29b66ea"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"frostyblok"}}