{"action":"created","comment":{"url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/comments/235112361","pull_request_review_id":176903951,"id":235112361,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTExMjM2MQ==","diff_hunk":"@@ -0,0 +1,155 @@\n+from db_init import db\n+import datetime\n+\n+\n+class OrderModel:\n+\n+    def __init__(self, sender_name, receiver_name, receiver_contact, weight, pickup_location, destination):\n+        \"\"\"function to create parcel orders \"\"\"\n+\n+        price = 50 * weight\n+        self.sender_name = sender_name,\n+        self.receiver_name = receiver_name,\n+        self.receiver_contact = receiver_contact,\n+        self.weight = weight,\n+        self.pickup_location = pickup_location,\n+        self.current_location = pickup_location,\n+        self.destination = destination,\n+        self.price = 'Ksh' + str(price),\n+        self.status = \"on-transit\"\n+        self.time_created = datetime.datetime.now()\n+\n+    def create_order(self):\n+        try:\n+            db.cursor.execute(\n+                \"\"\"\n+                INSERT INTO parcels(sender_name, receiver_name, receiver_contact, weight,pickup_location,\n+                current_location,destination,price,status,time_created)\n+                VALUES(%s, %s, %s, %s,%s, %s, %s, %s,%s,%s) \n+                \"\"\",\n+                (self.sender_name, self.receiver_name, self.receiver_contact, self.weight,\n+                 self.pickup_location, self.current_location, self.destination, self.price,\n+                 self.status, self.time_created)\n+            )\n+            db.commit()\n+            return {\"message\": \"order created successfully\"}\n+        except Exception as e:\n+            return {\"Message\": e}\n+\n+    @staticmethod\n+    def get_all_orders():\n+        \"\"\" function that allows the user view all orders\"\"\"\n+        db.cursor.execute(\"SELECT * FROM parcels ORDER BY parcel_id\")\n+        parcels = db.cursor.fetchall()\n+        data = []\n+        for k, v in enumerate(parcels):\n+            parcel_id, sender_name, sender_id, receiver_name, receiver_contact, weight, pickup_location, \\\n+                current_location, destination, \\\n+                price, status, time_created = v\n+            parcel = {\n+                \"parcel_id\": parcel_id,\n+                \"sender_id\": sender_id,\n+                \"sender_name\": sender_name,\n+                \"receiver_name\": receiver_name,\n+                \"receiver_contact\": receiver_contact,\n+                \"weight\": weight,\n+                \"pickup_location\": pickup_location,\n+                \"current_location\": current_location,\n+                \"destination\": destination,\n+                \"price\": price,\n+                \"status\": status,\n+                \"time_created\": time_created\n+            }\n+            data.append(parcel)\n+        return data\n+\n+        return {\"message\": \"no parcels available\"}\n+\n+    @staticmethod\n+    def get_single_order(order_id):\n+        \"\"\"function that allows user to get a single order\"\"\"\n+        db.cursor.execute(\n+            \"SELECT * FROM parcels WHERE parcel_id = %s \", (order_id,))\n+        parcels = db.cursor.fetchone()\n+        my_parcel = {\"parcel_id\": parcels[0],\n+                     \"sender_name\": parcels[1],\n+                     \"receiver_name\": parcels[2],\n+                     \"receiver_contact\": parcels[3],\n+                     \"weight\": parcels[4],\n+                     \"pickup_location\": parcels[5],\n+                     \"current_location\": parcels[6],\n+                     \"destination\": parcels[7],\n+                     \"price\": parcels[8],\n+                     \"status\": parcels[9],\n+                     }\n+        return my_parcel\n+\n+    @staticmethod\n+    def delete_order(parcel_id):\n+        \"\"\"delete an order\"\"\"\n+        db.cursor.execute(\n+            \"DELETE from parcels WHERE order_id = %s \", (parcel_id,))\n+\n+    @classmethod\n+    def cancel_order(cls, parcel_id):\n+        \"\"\"cancel an order only if its not delivered\"\"\"\n+        try:\n+            order = cls.cancelled_or_delivered(parcel_id)\n+            if order:\n+                db.cursor.execute(\"UPDATE parcels SET status=%s WHERE parcel_id = %s\",\n+                                  ('cancelled',\n+                                   parcel_id))\n+                db.commit()\n+                return {\"message\": \"order cancelled successfully\"}\n+            return {\"message\": \"order is either cancelled or already delivered\"}\n+        except Exception as e:\n+            return {\"Message\": e}\n+\n+    @classmethod\n+    def update_destination(cls, parcel_id, destination):\n+        \"\"\"change order destination\"\"\"\n+        order = cls.cancelled_or_delivered(parcel_id)\n+        if order:\n+            db.cursor.execute(\"\"\"UPDATE parcels SET destination =%s WHERE parcel_id = %s\"\"\", (destination,\n+                                                                                              parcel_id))\n+            db.commit()\n+            return {\"message\": \"order updated successfully\"}\n+        return {\"order is either cancelled or already delivered\"}\n+\n+    @classmethod\n+    def change_location(cls, parcel_id, current_location):\n+        \"\"\" function that allows the admin user to change current location\"\"\"\n+        order = cls.cancelled_or_delivered(parcel_id)\n+        if order:\n+            db.cursor.execute(\"\"\"UPDATE parcels SET current_location =%s WHERE parcel_id = %s\"\"\", (current_location,\n+                                                                                                   parcel_id))\n+            db.commit()\n+            return {\"message\": cls.get_single_order(parcel_id)}\n+\n+    @staticmethod\n+    def check_exists(parcel_id):\n+        try:\n+            db.cursor.execute(\n+                \"SELECT * FROM parcels WHERE parcel_id = %s \", (parcel_id,))\n+            if db.cursor.fetchone() is not None:\n+                return True\n+        except Exception as e:\n+            return {\"Message\": e}\n+\n+    @staticmethod\n+    def cancelled_or_delivered(parcel_id):\n+        db.cursor.execute(\"SELECT * FROM parcels WHERE parcel_id = %s AND status = 'on-transit'\",\n+                          (parcel_id,))\n+        order = db.cursor.fetchone()\n+        if order:\n+            return True\n+\n+    @classmethod\n+    def get_by_specific_user(cls, user_id):\n+        \"\"\"\"\"\"","path":"app/api/v2/models/orders_model.py","position":149,"original_position":149,"commit_id":"4cebafbd812a3957258038ae0e67ee9855794263","original_commit_id":"4cebafbd812a3957258038ae0e67ee9855794263","user":{"login":"cosmas28","id":24792513,"node_id":"MDQ6VXNlcjI0NzkyNTEz","avatar_url":"https://avatars0.githubusercontent.com/u/24792513?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmas28","html_url":"https://github.com/cosmas28","followers_url":"https://api.github.com/users/cosmas28/followers","following_url":"https://api.github.com/users/cosmas28/following{/other_user}","gists_url":"https://api.github.com/users/cosmas28/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmas28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmas28/subscriptions","organizations_url":"https://api.github.com/users/cosmas28/orgs","repos_url":"https://api.github.com/users/cosmas28/repos","events_url":"https://api.github.com/users/cosmas28/events{/privacy}","received_events_url":"https://api.github.com/users/cosmas28/received_events","type":"User","site_admin":false},"body":"This doc string is empty, please add a comment.","created_at":"2018-11-20T18:08:40Z","updated_at":"2018-11-20T18:08:40Z","html_url":"https://github.com/Kitingu/SendIT-Api/pull/23#discussion_r235112361","pull_request_url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/comments/235112361"},"html":{"href":"https://github.com/Kitingu/SendIT-Api/pull/23#discussion_r235112361"},"pull_request":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23","id":232093049,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMDkzMDQ5","html_url":"https://github.com/Kitingu/SendIT-Api/pull/23","diff_url":"https://github.com/Kitingu/SendIT-Api/pull/23.diff","patch_url":"https://github.com/Kitingu/SendIT-Api/pull/23.patch","issue_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/23","number":23,"state":"open","locked":false,"title":"#162031629 setup Api verison 2 models","user":{"login":"Kitingu","id":38378510,"node_id":"MDQ6VXNlcjM4Mzc4NTEw","avatar_url":"https://avatars0.githubusercontent.com/u/38378510?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitingu","html_url":"https://github.com/Kitingu","followers_url":"https://api.github.com/users/Kitingu/followers","following_url":"https://api.github.com/users/Kitingu/following{/other_user}","gists_url":"https://api.github.com/users/Kitingu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitingu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitingu/subscriptions","organizations_url":"https://api.github.com/users/Kitingu/orgs","repos_url":"https://api.github.com/users/Kitingu/repos","events_url":"https://api.github.com/users/Kitingu/events{/privacy}","received_events_url":"https://api.github.com/users/Kitingu/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\nSet up database and create user models\r\n\r\n**Description of Task to be completed?**\r\nInstall postgres\r\nInstall psycopg2\r\nDesign user and order models.\r\n\r\n**How should this be manually tested?**\r\nClone this repo\r\ncd into the main directory\r\nSet and activate your virtual environment\r\ngit checkout ch-setup-version2models-162031629\r\nRun python3 run.py\r\n\r\n**Pivotal tracker stories**\r\n#162031629","created_at":"2018-11-19T19:54:03Z","updated_at":"2018-11-20T18:08:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14e74200e03da455069f8743872580ffc7188e3c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23/commits","review_comments_url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23/comments","review_comment_url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/23/comments","statuses_url":"https://api.github.com/repos/Kitingu/SendIT-Api/statuses/4cebafbd812a3957258038ae0e67ee9855794263","head":{"label":"Kitingu:ch-setup-version2models-162031629","ref":"ch-setup-version2models-162031629","sha":"4cebafbd812a3957258038ae0e67ee9855794263","user":{"login":"Kitingu","id":38378510,"node_id":"MDQ6VXNlcjM4Mzc4NTEw","avatar_url":"https://avatars0.githubusercontent.com/u/38378510?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitingu","html_url":"https://github.com/Kitingu","followers_url":"https://api.github.com/users/Kitingu/followers","following_url":"https://api.github.com/users/Kitingu/following{/other_user}","gists_url":"https://api.github.com/users/Kitingu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitingu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitingu/subscriptions","organizations_url":"https://api.github.com/users/Kitingu/orgs","repos_url":"https://api.github.com/users/Kitingu/repos","events_url":"https://api.github.com/users/Kitingu/events{/privacy}","received_events_url":"https://api.github.com/users/Kitingu/received_events","type":"User","site_admin":false},"repo":{"id":156035140,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYwMzUxNDA=","name":"SendIT-Api","full_name":"Kitingu/SendIT-Api","private":false,"owner":{"login":"Kitingu","id":38378510,"node_id":"MDQ6VXNlcjM4Mzc4NTEw","avatar_url":"https://avatars0.githubusercontent.com/u/38378510?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitingu","html_url":"https://github.com/Kitingu","followers_url":"https://api.github.com/users/Kitingu/followers","following_url":"https://api.github.com/users/Kitingu/following{/other_user}","gists_url":"https://api.github.com/users/Kitingu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitingu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitingu/subscriptions","organizations_url":"https://api.github.com/users/Kitingu/orgs","repos_url":"https://api.github.com/users/Kitingu/repos","events_url":"https://api.github.com/users/Kitingu/events{/privacy}","received_events_url":"https://api.github.com/users/Kitingu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kitingu/SendIT-Api","description":"SendIT is a courier service that helps users deliver parcels to different destinations. SendIT provides courier quotes based on weight categories.","fork":false,"url":"https://api.github.com/repos/Kitingu/SendIT-Api","forks_url":"https://api.github.com/repos/Kitingu/SendIT-Api/forks","keys_url":"https://api.github.com/repos/Kitingu/SendIT-Api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitingu/SendIT-Api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitingu/SendIT-Api/teams","hooks_url":"https://api.github.com/repos/Kitingu/SendIT-Api/hooks","issue_events_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/events{/number}","events_url":"https://api.github.com/repos/Kitingu/SendIT-Api/events","assignees_url":"https://api.github.com/repos/Kitingu/SendIT-Api/assignees{/user}","branches_url":"https://api.github.com/repos/Kitingu/SendIT-Api/branches{/branch}","tags_url":"https://api.github.com/repos/Kitingu/SendIT-Api/tags","blobs_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitingu/SendIT-Api/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitingu/SendIT-Api/languages","stargazers_url":"https://api.github.com/repos/Kitingu/SendIT-Api/stargazers","contributors_url":"https://api.github.com/repos/Kitingu/SendIT-Api/contributors","subscribers_url":"https://api.github.com/repos/Kitingu/SendIT-Api/subscribers","subscription_url":"https://api.github.com/repos/Kitingu/SendIT-Api/subscription","commits_url":"https://api.github.com/repos/Kitingu/SendIT-Api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitingu/SendIT-Api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitingu/SendIT-Api/contents/{+path}","compare_url":"https://api.github.com/repos/Kitingu/SendIT-Api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitingu/SendIT-Api/merges","archive_url":"https://api.github.com/repos/Kitingu/SendIT-Api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitingu/SendIT-Api/downloads","issues_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues{/number}","pulls_url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitingu/SendIT-Api/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitingu/SendIT-Api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitingu/SendIT-Api/labels{/name}","releases_url":"https://api.github.com/repos/Kitingu/SendIT-Api/releases{/id}","deployments_url":"https://api.github.com/repos/Kitingu/SendIT-Api/deployments","created_at":"2018-11-04T00:17:11Z","updated_at":"2018-11-04T00:25:45Z","pushed_at":"2018-11-20T15:40:26Z","git_url":"git://github.com/Kitingu/SendIT-Api.git","ssh_url":"git@github.com:Kitingu/SendIT-Api.git","clone_url":"https://github.com/Kitingu/SendIT-Api.git","svn_url":"https://github.com/Kitingu/SendIT-Api","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":null,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Kitingu:develop","ref":"develop","sha":"dd290f74361d86cfe1b0cae02a4be9ad28d3face","user":{"login":"Kitingu","id":38378510,"node_id":"MDQ6VXNlcjM4Mzc4NTEw","avatar_url":"https://avatars0.githubusercontent.com/u/38378510?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitingu","html_url":"https://github.com/Kitingu","followers_url":"https://api.github.com/users/Kitingu/followers","following_url":"https://api.github.com/users/Kitingu/following{/other_user}","gists_url":"https://api.github.com/users/Kitingu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitingu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitingu/subscriptions","organizations_url":"https://api.github.com/users/Kitingu/orgs","repos_url":"https://api.github.com/users/Kitingu/repos","events_url":"https://api.github.com/users/Kitingu/events{/privacy}","received_events_url":"https://api.github.com/users/Kitingu/received_events","type":"User","site_admin":false},"repo":{"id":156035140,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYwMzUxNDA=","name":"SendIT-Api","full_name":"Kitingu/SendIT-Api","private":false,"owner":{"login":"Kitingu","id":38378510,"node_id":"MDQ6VXNlcjM4Mzc4NTEw","avatar_url":"https://avatars0.githubusercontent.com/u/38378510?v=4","gravatar_id":"","url":"https://api.github.com/users/Kitingu","html_url":"https://github.com/Kitingu","followers_url":"https://api.github.com/users/Kitingu/followers","following_url":"https://api.github.com/users/Kitingu/following{/other_user}","gists_url":"https://api.github.com/users/Kitingu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kitingu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kitingu/subscriptions","organizations_url":"https://api.github.com/users/Kitingu/orgs","repos_url":"https://api.github.com/users/Kitingu/repos","events_url":"https://api.github.com/users/Kitingu/events{/privacy}","received_events_url":"https://api.github.com/users/Kitingu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kitingu/SendIT-Api","description":"SendIT is a courier service that helps users deliver parcels to different destinations. SendIT provides courier quotes based on weight categories.","fork":false,"url":"https://api.github.com/repos/Kitingu/SendIT-Api","forks_url":"https://api.github.com/repos/Kitingu/SendIT-Api/forks","keys_url":"https://api.github.com/repos/Kitingu/SendIT-Api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kitingu/SendIT-Api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kitingu/SendIT-Api/teams","hooks_url":"https://api.github.com/repos/Kitingu/SendIT-Api/hooks","issue_events_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/events{/number}","events_url":"https://api.github.com/repos/Kitingu/SendIT-Api/events","assignees_url":"https://api.github.com/repos/Kitingu/SendIT-Api/assignees{/user}","branches_url":"https://api.github.com/repos/Kitingu/SendIT-Api/branches{/branch}","tags_url":"https://api.github.com/repos/Kitingu/SendIT-Api/tags","blobs_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kitingu/SendIT-Api/statuses/{sha}","languages_url":"https://api.github.com/repos/Kitingu/SendIT-Api/languages","stargazers_url":"https://api.github.com/repos/Kitingu/SendIT-Api/stargazers","contributors_url":"https://api.github.com/repos/Kitingu/SendIT-Api/contributors","subscribers_url":"https://api.github.com/repos/Kitingu/SendIT-Api/subscribers","subscription_url":"https://api.github.com/repos/Kitingu/SendIT-Api/subscription","commits_url":"https://api.github.com/repos/Kitingu/SendIT-Api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kitingu/SendIT-Api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kitingu/SendIT-Api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kitingu/SendIT-Api/contents/{+path}","compare_url":"https://api.github.com/repos/Kitingu/SendIT-Api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kitingu/SendIT-Api/merges","archive_url":"https://api.github.com/repos/Kitingu/SendIT-Api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kitingu/SendIT-Api/downloads","issues_url":"https://api.github.com/repos/Kitingu/SendIT-Api/issues{/number}","pulls_url":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls{/number}","milestones_url":"https://api.github.com/repos/Kitingu/SendIT-Api/milestones{/number}","notifications_url":"https://api.github.com/repos/Kitingu/SendIT-Api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kitingu/SendIT-Api/labels{/name}","releases_url":"https://api.github.com/repos/Kitingu/SendIT-Api/releases{/id}","deployments_url":"https://api.github.com/repos/Kitingu/SendIT-Api/deployments","created_at":"2018-11-04T00:17:11Z","updated_at":"2018-11-04T00:25:45Z","pushed_at":"2018-11-20T15:40:26Z","git_url":"git://github.com/Kitingu/SendIT-Api.git","ssh_url":"git@github.com:Kitingu/SendIT-Api.git","clone_url":"https://github.com/Kitingu/SendIT-Api.git","svn_url":"https://github.com/Kitingu/SendIT-Api","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":null,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23"},"html":{"href":"https://github.com/Kitingu/SendIT-Api/pull/23"},"issue":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/23"},"comments":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/Kitingu/SendIT-Api/statuses/4cebafbd812a3957258038ae0e67ee9855794263"}},"author_association":"OWNER"}}
{"actor":{"display_login":"cosmas28"}}