{"action":"created","comment":{"url":"https://api.github.com/repos/andela/ah-code-titans/pulls/comments/243310483","pull_request_review_id":187046298,"id":243310483,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzMxMDQ4Mw==","diff_hunk":"@@ -0,0 +1,146 @@\n+\n+from rest_framework import status\n+from django.urls import reverse\n+\n+# local imports\n+from ..models import BookmarkArticle\n+from authors.base_test_config import TestUsingLoggedInUser\n+\n+\n+class TestBookmark(TestUsingLoggedInUser):\n+    \"\"\"\n+    Test profile functionality\n+    \"\"\"\n+\n+    def post_article(self, data):\n+        response = self.client.post(\n+            reverse('articles'),\n+            data,\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION=\"Token {}\".format(self.access_token)\n+        )\n+        return response\n+\n+    def test_user_cannot_bookmark_un_existing_articles(self):\n+        \"\"\"\n+        Test user cannot bookmark or unbookmark article that do not exist\n+        \"\"\"\n+\n+        self.post_article(self.article)\n+        slug = \"bookmark\"\n+\n+        response = self.client.post(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+        response2 = self.client.delete(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+\n+        self.assertIn(response.data['message'], 'Article {data} was not found'.format(data=slug))\n+        self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)\n+        self.assertIn(response2.data['message'], 'Article {data} was not found'.format(data=slug))\n+        self.assertEqual(response2.status_code, status.HTTP_404_NOT_FOUND)\n+\n+    def test_bookmark_model(self):\n+        \"\"\"\"\n+        test model can create user profile upon successful sign up\n+        \"\"\"\n+\n+        initial_count = BookmarkArticle.objects.count()\n+        res2 = self.post_article(self.article)\n+        slug = res2.data['slug']\n+        \n+        self.client.post(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+        new_count = BookmarkArticle.objects.count()\n+        self.assertNotEqual(initial_count, new_count)\n+\n+    def test_user_can_bookmark_article(self):\n+        \"\"\"\n+        Test user can bookmark an article\n+        \"\"\"\n+\n+        res2 = self.post_article(self.article)\n+        slug = res2.data['slug']\n+\n+        response = self.client.post(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+\n+        response2 = self.client.post(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+\n+        self.assertIn(response.data['message'], 'Bookmarking article {data} was successful'.format(data=slug))\n+        self.assertEqual(response.status_code, status.HTTP_200_OK)\n+        self.assertIn(response2.data['message'], 'You have already bookmarked this article')\n+        self.assertEqual(response2.status_code, status.HTTP_400_BAD_REQUEST)\n+\n+    def test_user_can_unbookmark_article(self):\n+        \"\"\"\n+        Test user can unfbookmark an article\n+        \"\"\"\n+\n+        res2 = self.post_article(self.article)\n+        slug = res2.data['slug']\n+\n+        self.client.post(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+        response = self.client.delete(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+\n+        response2 = self.client.delete(\n+            '/api/article/{slug}/bookmark'.format(slug=slug),\n+            content_type='application/json',\n+            HTTP_AUTHORIZATION='Token ' + self.access_token\n+        )\n+\n+        self.assertIn(response.data['message'], 'Unbookmarking article {data} was successful'.format(data=slug))","path":"authors/apps/bookmark/tests/test_bookmark.py","position":null,"original_position":115,"commit_id":"5963051b08e0c0ce57a1eaf79e54226b9bf91d01","original_commit_id":"62921414e796a189115921c01da5495b9ac9b475","user":{"login":"denomash","id":41957873,"node_id":"MDQ6VXNlcjQxOTU3ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/41957873?v=4","gravatar_id":"","url":"https://api.github.com/users/denomash","html_url":"https://github.com/denomash","followers_url":"https://api.github.com/users/denomash/followers","following_url":"https://api.github.com/users/denomash/following{/other_user}","gists_url":"https://api.github.com/users/denomash/gists{/gist_id}","starred_url":"https://api.github.com/users/denomash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denomash/subscriptions","organizations_url":"https://api.github.com/users/denomash/orgs","repos_url":"https://api.github.com/users/denomash/repos","events_url":"https://api.github.com/users/denomash/events{/privacy}","received_events_url":"https://api.github.com/users/denomash/received_events","type":"User","site_admin":false},"body":"@bettblake08 I have tried to create a function but it does not simplify the code.","created_at":"2018-12-20T15:23:51Z","updated_at":"2018-12-20T15:23:51Z","html_url":"https://github.com/andela/ah-code-titans/pull/32#discussion_r243310483","pull_request_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/32","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/comments/243310483"},"html":{"href":"https://github.com/andela/ah-code-titans/pull/32#discussion_r243310483"},"pull_request":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/32"}},"in_reply_to_id":243278711},"pull_request":{"url":"https://api.github.com/repos/andela/ah-code-titans/pulls/32","id":240153923,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMTUzOTIz","html_url":"https://github.com/andela/ah-code-titans/pull/32","diff_url":"https://github.com/andela/ah-code-titans/pull/32.diff","patch_url":"https://github.com/andela/ah-code-titans/pull/32.patch","issue_url":"https://api.github.com/repos/andela/ah-code-titans/issues/32","number":32,"state":"open","locked":false,"title":"#161967144 bookmark articles","user":{"login":"denomash","id":41957873,"node_id":"MDQ6VXNlcjQxOTU3ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/41957873?v=4","gravatar_id":"","url":"https://api.github.com/users/denomash","html_url":"https://github.com/denomash","followers_url":"https://api.github.com/users/denomash/followers","following_url":"https://api.github.com/users/denomash/following{/other_user}","gists_url":"https://api.github.com/users/denomash/gists{/gist_id}","starred_url":"https://api.github.com/users/denomash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denomash/subscriptions","organizations_url":"https://api.github.com/users/denomash/orgs","repos_url":"https://api.github.com/users/denomash/repos","events_url":"https://api.github.com/users/denomash/events{/privacy}","received_events_url":"https://api.github.com/users/denomash/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n-  bookmarks articles\r\n\r\n**Description of Task to be completed?**\r\n- authenticated users can bookmark an article.\r\n- authenticated users can un-bookmark an article.\r\n- authenticated users can get all articles they have bookmarked.\r\n\r\n**How should this be manually tested?**\r\n\r\n- Clone the repo and cd into the project folder\r\n- Create a virtual environment by running `python3 -m venv <name_of_environment>`\r\n- Activate the virtual environment by running `source <name_of_environment>/bin/activate`\r\n- Run `$ pip install -r requirements.txt`\r\n- Then add the following environment variables to your computer:\r\n\r\n - `$ export DB_NAME='choose_a_dbname'`\r\n - `$ export DB_USER='db_username'`\r\n - `$ export DB_PASSWORD='db_role_password'`\r\n - `$ export DB_HOST='localhost or preffered host'`\r\n - `$ export DB_PORT='server_port_number'`\r\n- `$ export SECRET_KEY='some_secret_key`\r\n- `$ export SOCIAL_AUTH_FACEBOOK_KEY='<facebook_app_id>'`\r\n- `$ export SOCIAL_AUTH_FACEBOOK_SECRET='<facebook_app_secret>'`\r\n- `$ export SOCIAL_AUTH_TWITTER_KEY='<twitter_api_key>'`\r\n- `$ export SOCIAL_AUTH_TWITTER_SECRET='<twitter_api_secret>'`\r\n- `$ export SOCIAL_AUTH_GOOGLE_OAUTH2_KEY='<google_client_id>'`\r\n- `$ export SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET='<google_client_secret>'`\r\n\r\n\r\n- Change the current branch by running `git checkout  ft-bookmark-articles-161967144`\r\n- Run `python3 manage.py makemigrations` then, `python3 manage.py migrate`\r\n- Run `python3 manage.py runserver`\r\n\r\n-  Bookmarking an article endpoint:\r\n**GET** `article/<str:slug>/bookmark`\r\n\r\n- Un-bookmarking an article endpoin:\r\n**DEL** `article/<str:slug>/bookmark`\r\n\r\n- Retriving all bookmarked articles endpoint:\r\n**GET** `articles/all/bookmarks `\r\n\r\n**What are the relevant pivotal tracker stories?**\r\n- [#161967144](https://www.pivotaltracker.com/story/show/161967144/comments/197819922)\r\n\r\n**Checklist (edited)**\r\n- [x] My code follows the style guidelines of this project\r\n- [x] I have performed a self-review of my own code\r\n- [x] I have commented my code, particularly in hard-to-understand areas\r\n- [x] I have made corresponding changes to the documentation\r\n- [x] My changes generate no new warnings\r\n- [x] New and existing unit tests pass locally with my changes\r\n- [x] Any dependent changes have been merged and published in downstream modules\r\n\r\n**Screenshots (if appropriate)**\r\n**A user bookmarking or un-bookmarking an article that does not exist**\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 15 58\" src=\"https://user-images.githubusercontent.com/41957873/50284492-31334980-046a-11e9-99b7-94cc9f1f9cfe.png\">\r\n\r\n**A user bookmarking an article**\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 17 14\" src=\"https://user-images.githubusercontent.com/41957873/50284547-5de76100-046a-11e9-86e2-bd667cd5a808.png\">\r\n\r\n**A user bookmarking an article twice**\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 18 45\" src=\"https://user-images.githubusercontent.com/41957873/50284603-9424e080-046a-11e9-8ef9-878cf9bfd465.png\">\r\n\r\n**A user un-bookmarking an article**\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 20 15\" src=\"https://user-images.githubusercontent.com/41957873/50284668-cdf5e700-046a-11e9-9b38-82883aebbcc5.png\">\r\n\r\n**A user un-bookmarking an article twice**\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 20 22\" src=\"https://user-images.githubusercontent.com/41957873/50284697-e8c85b80-046a-11e9-8a8c-20906fcf6442.png\">\r\n\r\n**A user retrieving bookmarked articles but has not bookmarked any **\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 23 41\" src=\"https://user-images.githubusercontent.com/41957873/50284796-4361b780-046b-11e9-8e24-71d30f19118c.png\">\r\n\r\n**A user retrieving bookmarked articles**\r\n<img width=\"1280\" alt=\"screenshot 2018-12-20 at 15 24 46\" src=\"https://user-images.githubusercontent.com/41957873/50284850-6a1fee00-046b-11e9-8c9a-0262172a14ba.png\">\r\n","created_at":"2018-12-20T12:28:06Z","updated_at":"2018-12-20T15:23:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43244d145cce4ffa4dc89078425c5b0b1b549baa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1124714167,"node_id":"MDU6TGFiZWwxMTI0NzE0MTY3","url":"https://api.github.com/repos/andela/ah-code-titans/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/32/commits","review_comments_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/32/comments","review_comment_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-code-titans/issues/32/comments","statuses_url":"https://api.github.com/repos/andela/ah-code-titans/statuses/5963051b08e0c0ce57a1eaf79e54226b9bf91d01","head":{"label":"andela:ft-bookmark-articles-161967144","ref":"ft-bookmark-articles-161967144","sha":"5963051b08e0c0ce57a1eaf79e54226b9bf91d01","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":157215905,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyMTU5MDU=","name":"ah-code-titans","full_name":"andela/ah-code-titans","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/ah-code-titans","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-code-titans","forks_url":"https://api.github.com/repos/andela/ah-code-titans/forks","keys_url":"https://api.github.com/repos/andela/ah-code-titans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-code-titans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-code-titans/teams","hooks_url":"https://api.github.com/repos/andela/ah-code-titans/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-code-titans/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-code-titans/events","assignees_url":"https://api.github.com/repos/andela/ah-code-titans/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-code-titans/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-code-titans/tags","blobs_url":"https://api.github.com/repos/andela/ah-code-titans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-code-titans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-code-titans/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-code-titans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-code-titans/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-code-titans/languages","stargazers_url":"https://api.github.com/repos/andela/ah-code-titans/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-code-titans/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-code-titans/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-code-titans/subscription","commits_url":"https://api.github.com/repos/andela/ah-code-titans/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-code-titans/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-code-titans/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-code-titans/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-code-titans/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-code-titans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-code-titans/merges","archive_url":"https://api.github.com/repos/andela/ah-code-titans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-code-titans/downloads","issues_url":"https://api.github.com/repos/andela/ah-code-titans/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-code-titans/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-code-titans/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-code-titans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-code-titans/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-code-titans/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-code-titans/deployments","created_at":"2018-11-12T13:13:43Z","updated_at":"2018-11-26T11:58:18Z","pushed_at":"2018-12-20T15:21:15Z","git_url":"git://github.com/andela/ah-code-titans.git","ssh_url":"git@github.com:andela/ah-code-titans.git","clone_url":"https://github.com/andela/ah-code-titans.git","svn_url":"https://github.com/andela/ah-code-titans","homepage":null,"size":3578,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"e07aa12413815e0dbf6a6270dbdf435072212427","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":157215905,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyMTU5MDU=","name":"ah-code-titans","full_name":"andela/ah-code-titans","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/ah-code-titans","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-code-titans","forks_url":"https://api.github.com/repos/andela/ah-code-titans/forks","keys_url":"https://api.github.com/repos/andela/ah-code-titans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-code-titans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-code-titans/teams","hooks_url":"https://api.github.com/repos/andela/ah-code-titans/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-code-titans/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-code-titans/events","assignees_url":"https://api.github.com/repos/andela/ah-code-titans/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-code-titans/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-code-titans/tags","blobs_url":"https://api.github.com/repos/andela/ah-code-titans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-code-titans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-code-titans/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-code-titans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-code-titans/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-code-titans/languages","stargazers_url":"https://api.github.com/repos/andela/ah-code-titans/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-code-titans/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-code-titans/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-code-titans/subscription","commits_url":"https://api.github.com/repos/andela/ah-code-titans/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-code-titans/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-code-titans/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-code-titans/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-code-titans/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-code-titans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-code-titans/merges","archive_url":"https://api.github.com/repos/andela/ah-code-titans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-code-titans/downloads","issues_url":"https://api.github.com/repos/andela/ah-code-titans/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-code-titans/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-code-titans/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-code-titans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-code-titans/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-code-titans/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-code-titans/deployments","created_at":"2018-11-12T13:13:43Z","updated_at":"2018-11-26T11:58:18Z","pushed_at":"2018-12-20T15:21:15Z","git_url":"git://github.com/andela/ah-code-titans.git","ssh_url":"git@github.com:andela/ah-code-titans.git","clone_url":"https://github.com/andela/ah-code-titans.git","svn_url":"https://github.com/andela/ah-code-titans","homepage":null,"size":3578,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/32"},"html":{"href":"https://github.com/andela/ah-code-titans/pull/32"},"issue":{"href":"https://api.github.com/repos/andela/ah-code-titans/issues/32"},"comments":{"href":"https://api.github.com/repos/andela/ah-code-titans/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-code-titans/statuses/5963051b08e0c0ce57a1eaf79e54226b9bf91d01"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"denomash"}}