{"action":"created","comment":{"url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/comments/244209060","pull_request_review_id":188150504,"id":244209060,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDIwOTA2MA==","diff_hunk":"@@ -0,0 +1,238 @@\n+import argparse\n+import json\n+import logging\n+import requests\n+import sys\n+\n+\n+# Handler for parsing command-line arguments\n+def parse_arguments():\n+    parser = argparse.ArgumentParser()\n+    parser.add_argument(\n+        '--config',\n+        dest='config_path',\n+        help='Path to json formatted config file containing API credentials',\n+        required=True)\n+    parser.add_argument(\n+        '--openapi',\n+        dest='openapi_path',\n+        help='Path to yaml formatted OpenAPI specification',\n+        required=True)\n+    parser.add_argument(\n+        '--debug',\n+        dest='debug',\n+        help='Enable debug logging mode',\n+        action='store_true')\n+    arguments, unittest_args = parser.parse_known_args()\n+    return arguments, sys.argv[:1] + unittest_args\n+\n+\n+# Setup base URL from configuration file\n+def setup_base_url(config):\n+    api = config['api']\n+    return api['local_base_url'] if config['local_test'] else api['base_url']\n+\n+\n+# Setup request session from configuration file\n+def setup_session(config):\n+    session = requests.Session()\n+\n+    if config['local_test']:\n+        basic_auth = config['auth']['basic_auth']\n+        session.auth = (basic_auth['username'], basic_auth['password'])\n+        session.verify = False\n+    else:\n+        oauth2 = config['auth']['oauth2']\n+        data = {\n+            'client_id': oauth2['client_id'],\n+            'client_secret': oauth2['client_secret'],\n+            'grant_type': 'client_credentials'\n+        }\n+        try:\n+            res = requests.post(url=oauth2['token_api_url'], data=data)\n+            token = res.json()['access_token']\n+        except KeyError:\n+            sys.exit('Error: invalid OAuth2 credentials')\n+        session.headers = {'Authorization': f'Bearer {token}'}\n+\n+    return session\n+\n+\n+# Get response content in JSON format\n+def get_json_content(self, response):\n+    try:\n+        return response.json()\n+    except json.decoder.JSONDecodeError:\n+        self.fail('Response not in JSON format')\n+\n+\n+# Get resource schema from OpenAPI specification\n+def get_resource_schema(self, resource):\n+    return self.openapi['definitions'][resource]['properties']\n+\n+\n+# Helper function to make a web request and lightly validate the response\n+def make_request(self, endpoint, expected_status_code,\n+                 params=None,\n+                 max_elapsed_seconds=5):\n+    \"\"\"\n+    Keyword arguments:\n+    * endpoint -- the endpoint to request\n+    * expected_status_code -- expected HTTP status code\n+    * params -- [optional] key-value pairs parameters (default: None)\n+    * max_elapsed_seconds -- [optional] maximum elapsed times (default: 5)\n+    Return:\n+    A response object contains a server’s response to an HTTP request\n+    \"\"\"\n+\n+    requested_url = f'{self.base_url}{endpoint}'\n+    response = self.session.get(requested_url, params=params)\n+    logging.debug(f'Sent request to {requested_url}')\n+    # Response status code should be as expected\n+    status_code = response.status_code\n+    self.assertEqual(status_code, expected_status_code)\n+\n+    # Response time should less then max_elapsed_seconds\n+    elapsed_seconds = response.elapsed.total_seconds()\n+    logging.debug(f'Request took {elapsed_seconds} second(s)')\n+    self.assertLess(elapsed_seconds, max_elapsed_seconds)\n+\n+    return response\n+\n+\n+# Check the schema of response match OpenAPI specification\n+def check_schema(self, response, schema):\n+    # Helper function to get attributes of the schema\n+    def __get_schema_attributes():\n+        return schema['attributes']['properties']\n+\n+    # Helper function to map between OpenAPI data types and python data types\n+    def __get_attribute_type(attribute):\n+        types_dict = {\n+            'string': str,\n+            'integer': int,\n+            'int32': int,\n+            'int64': int,\n+            'float': float,\n+            'double': float,\n+            'boolean': bool,\n+            'array': list,\n+            'object': dict\n+        }\n+        if '$ref' in attribute:\n+            openapi_type = __get_object_type(attribute['$ref'])\n+        elif 'properties' in attribute:\n+            return dict\n+        elif 'format' in attribute and attribute['format'] in types_dict:\n+            openapi_type = attribute['format']\n+        elif 'type' in attribute:\n+            openapi_type = attribute['type']\n+        else:\n+            logging.warning('OpenAPI property contains no type or properties')\n+            return None\n+\n+        return types_dict[openapi_type]\n+\n+    # Helper function to get type of referenced object\n+    def __get_object_type(object_path, root_object_path=None):\n+        if root_object_path is None:\n+            root_object_path = object_path\n+        keys = object_path.split(\"#/\")[-1].split(\"/\")\n+        obj = self.openapi\n+        for key in keys:\n+            obj = obj[key]\n+\n+        if('format' in obj and obj['format'] in\n+           __get_attribute_type.types_dict):\n+            openapi_type = obj['format']\n+        elif 'type' in obj:\n+            openapi_type = obj['type']\n+        elif '$ref' in obj:\n+            # Avoid infinte recursion\n+            if obj['$ref'] != root_object_path:\n+                return __get_object_type(obj['$ref'], root_object_path)\n+        else:\n+            logging.warning('OpenAPI property contains no type or properties')\n+            return None\n+\n+        return openapi_type\n+\n+    # Helper function to check resource object schema\n+    def __check_resource_schema(resource):\n+        # Check resource type\n+        self.assertEqual(resource['type'], schema['type']['enum'][0])\n+        # Check resource attributes\n+        actual_attributes = resource['attributes']\n+        expected_attributes = __get_schema_attributes()\n+        __check_attributes_schema(actual_attributes, expected_attributes)\n+\n+    # Helper function to check error object schema\n+    def __check_error_schema(error):\n+        # Check error attributes\n+        actual_attributes = error\n+        expected_attributes = schema\n+        __check_attributes_schema(actual_attributes, expected_attributes)\n+\n+    # Helper function to check through all attributes\n+    def __check_attributes_schema(actual_attributes, expected_attributes):\n+        for field, actual_value in actual_attributes.items():\n+            expected_attribute = expected_attributes[field]\n+            expected_type = __get_attribute_type(expected_attribute)\n+            if (actual_value):","path":"tests/integration/utils.py","position":181,"original_position":181,"commit_id":"f8358c6cb4f7975336d8ca13464c8db5db8e832b","original_commit_id":"f8358c6cb4f7975336d8ca13464c8db5db8e832b","user":{"login":"ianbrown9475","id":32145829,"node_id":"MDQ6VXNlcjMyMTQ1ODI5","avatar_url":"https://avatars2.githubusercontent.com/u/32145829?v=4","gravatar_id":"","url":"https://api.github.com/users/ianbrown9475","html_url":"https://github.com/ianbrown9475","followers_url":"https://api.github.com/users/ianbrown9475/followers","following_url":"https://api.github.com/users/ianbrown9475/following{/other_user}","gists_url":"https://api.github.com/users/ianbrown9475/gists{/gist_id}","starred_url":"https://api.github.com/users/ianbrown9475/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianbrown9475/subscriptions","organizations_url":"https://api.github.com/users/ianbrown9475/orgs","repos_url":"https://api.github.com/users/ianbrown9475/repos","events_url":"https://api.github.com/users/ianbrown9475/events{/privacy}","received_events_url":"https://api.github.com/users/ianbrown9475/received_events","type":"User","site_admin":false},"body":"You should be able to remove the parentheses here","created_at":"2018-12-27T19:02:01Z","updated_at":"2018-12-27T19:38:35Z","html_url":"https://github.com/osu-mist/financial-index-api/pull/2#discussion_r244209060","pull_request_url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/comments/244209060"},"html":{"href":"https://github.com/osu-mist/financial-index-api/pull/2#discussion_r244209060"},"pull_request":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2","id":239921686,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5OTIxNjg2","html_url":"https://github.com/osu-mist/financial-index-api/pull/2","diff_url":"https://github.com/osu-mist/financial-index-api/pull/2.diff","patch_url":"https://github.com/osu-mist/financial-index-api/pull/2.patch","issue_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues/2","number":2,"state":"open","locked":false,"title":"Feature/co 1310 integration tests","user":{"login":"wilsonia","id":39310585,"node_id":"MDQ6VXNlcjM5MzEwNTg1","avatar_url":"https://avatars3.githubusercontent.com/u/39310585?v=4","gravatar_id":"","url":"https://api.github.com/users/wilsonia","html_url":"https://github.com/wilsonia","followers_url":"https://api.github.com/users/wilsonia/followers","following_url":"https://api.github.com/users/wilsonia/following{/other_user}","gists_url":"https://api.github.com/users/wilsonia/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonia/subscriptions","organizations_url":"https://api.github.com/users/wilsonia/orgs","repos_url":"https://api.github.com/users/wilsonia/repos","events_url":"https://api.github.com/users/wilsonia/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonia/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-19T17:44:46Z","updated_at":"2018-12-27T19:38:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab6d8a19fcd9dc8abd49415cc4fb13b736ed0ac7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues/2/comments","statuses_url":"https://api.github.com/repos/osu-mist/financial-index-api/statuses/f8358c6cb4f7975336d8ca13464c8db5db8e832b","head":{"label":"osu-mist:feature/CO-1310-integration-tests","ref":"feature/CO-1310-integration-tests","sha":"f8358c6cb4f7975336d8ca13464c8db5db8e832b","user":{"login":"osu-mist","id":6473936,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzM5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6473936?v=4","gravatar_id":"","url":"https://api.github.com/users/osu-mist","html_url":"https://github.com/osu-mist","followers_url":"https://api.github.com/users/osu-mist/followers","following_url":"https://api.github.com/users/osu-mist/following{/other_user}","gists_url":"https://api.github.com/users/osu-mist/gists{/gist_id}","starred_url":"https://api.github.com/users/osu-mist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osu-mist/subscriptions","organizations_url":"https://api.github.com/users/osu-mist/orgs","repos_url":"https://api.github.com/users/osu-mist/repos","events_url":"https://api.github.com/users/osu-mist/events{/privacy}","received_events_url":"https://api.github.com/users/osu-mist/received_events","type":"Organization","site_admin":false},"repo":{"id":152619191,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI2MTkxOTE=","name":"financial-index-api","full_name":"osu-mist/financial-index-api","private":false,"owner":{"login":"osu-mist","id":6473936,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzM5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6473936?v=4","gravatar_id":"","url":"https://api.github.com/users/osu-mist","html_url":"https://github.com/osu-mist","followers_url":"https://api.github.com/users/osu-mist/followers","following_url":"https://api.github.com/users/osu-mist/following{/other_user}","gists_url":"https://api.github.com/users/osu-mist/gists{/gist_id}","starred_url":"https://api.github.com/users/osu-mist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osu-mist/subscriptions","organizations_url":"https://api.github.com/users/osu-mist/orgs","repos_url":"https://api.github.com/users/osu-mist/repos","events_url":"https://api.github.com/users/osu-mist/events{/privacy}","received_events_url":"https://api.github.com/users/osu-mist/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/osu-mist/financial-index-api","description":"API to validate financial index codes, used for purchasing.","fork":false,"url":"https://api.github.com/repos/osu-mist/financial-index-api","forks_url":"https://api.github.com/repos/osu-mist/financial-index-api/forks","keys_url":"https://api.github.com/repos/osu-mist/financial-index-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osu-mist/financial-index-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osu-mist/financial-index-api/teams","hooks_url":"https://api.github.com/repos/osu-mist/financial-index-api/hooks","issue_events_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues/events{/number}","events_url":"https://api.github.com/repos/osu-mist/financial-index-api/events","assignees_url":"https://api.github.com/repos/osu-mist/financial-index-api/assignees{/user}","branches_url":"https://api.github.com/repos/osu-mist/financial-index-api/branches{/branch}","tags_url":"https://api.github.com/repos/osu-mist/financial-index-api/tags","blobs_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osu-mist/financial-index-api/statuses/{sha}","languages_url":"https://api.github.com/repos/osu-mist/financial-index-api/languages","stargazers_url":"https://api.github.com/repos/osu-mist/financial-index-api/stargazers","contributors_url":"https://api.github.com/repos/osu-mist/financial-index-api/contributors","subscribers_url":"https://api.github.com/repos/osu-mist/financial-index-api/subscribers","subscription_url":"https://api.github.com/repos/osu-mist/financial-index-api/subscription","commits_url":"https://api.github.com/repos/osu-mist/financial-index-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/osu-mist/financial-index-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/osu-mist/financial-index-api/contents/{+path}","compare_url":"https://api.github.com/repos/osu-mist/financial-index-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osu-mist/financial-index-api/merges","archive_url":"https://api.github.com/repos/osu-mist/financial-index-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osu-mist/financial-index-api/downloads","issues_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues{/number}","pulls_url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls{/number}","milestones_url":"https://api.github.com/repos/osu-mist/financial-index-api/milestones{/number}","notifications_url":"https://api.github.com/repos/osu-mist/financial-index-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osu-mist/financial-index-api/labels{/name}","releases_url":"https://api.github.com/repos/osu-mist/financial-index-api/releases{/id}","deployments_url":"https://api.github.com/repos/osu-mist/financial-index-api/deployments","created_at":"2018-10-11T16:02:25Z","updated_at":"2018-11-01T16:01:26Z","pushed_at":"2018-12-21T22:46:15Z","git_url":"git://github.com/osu-mist/financial-index-api.git","ssh_url":"git@github.com:osu-mist/financial-index-api.git","clone_url":"https://github.com/osu-mist/financial-index-api.git","svn_url":"https://github.com/osu-mist/financial-index-api","homepage":null,"size":204,"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":1,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"osu-mist:master","ref":"master","sha":"fffab190f6775801316518ef2c138f8d962b54b1","user":{"login":"osu-mist","id":6473936,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzM5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6473936?v=4","gravatar_id":"","url":"https://api.github.com/users/osu-mist","html_url":"https://github.com/osu-mist","followers_url":"https://api.github.com/users/osu-mist/followers","following_url":"https://api.github.com/users/osu-mist/following{/other_user}","gists_url":"https://api.github.com/users/osu-mist/gists{/gist_id}","starred_url":"https://api.github.com/users/osu-mist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osu-mist/subscriptions","organizations_url":"https://api.github.com/users/osu-mist/orgs","repos_url":"https://api.github.com/users/osu-mist/repos","events_url":"https://api.github.com/users/osu-mist/events{/privacy}","received_events_url":"https://api.github.com/users/osu-mist/received_events","type":"Organization","site_admin":false},"repo":{"id":152619191,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI2MTkxOTE=","name":"financial-index-api","full_name":"osu-mist/financial-index-api","private":false,"owner":{"login":"osu-mist","id":6473936,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzM5MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6473936?v=4","gravatar_id":"","url":"https://api.github.com/users/osu-mist","html_url":"https://github.com/osu-mist","followers_url":"https://api.github.com/users/osu-mist/followers","following_url":"https://api.github.com/users/osu-mist/following{/other_user}","gists_url":"https://api.github.com/users/osu-mist/gists{/gist_id}","starred_url":"https://api.github.com/users/osu-mist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osu-mist/subscriptions","organizations_url":"https://api.github.com/users/osu-mist/orgs","repos_url":"https://api.github.com/users/osu-mist/repos","events_url":"https://api.github.com/users/osu-mist/events{/privacy}","received_events_url":"https://api.github.com/users/osu-mist/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/osu-mist/financial-index-api","description":"API to validate financial index codes, used for purchasing.","fork":false,"url":"https://api.github.com/repos/osu-mist/financial-index-api","forks_url":"https://api.github.com/repos/osu-mist/financial-index-api/forks","keys_url":"https://api.github.com/repos/osu-mist/financial-index-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osu-mist/financial-index-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osu-mist/financial-index-api/teams","hooks_url":"https://api.github.com/repos/osu-mist/financial-index-api/hooks","issue_events_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues/events{/number}","events_url":"https://api.github.com/repos/osu-mist/financial-index-api/events","assignees_url":"https://api.github.com/repos/osu-mist/financial-index-api/assignees{/user}","branches_url":"https://api.github.com/repos/osu-mist/financial-index-api/branches{/branch}","tags_url":"https://api.github.com/repos/osu-mist/financial-index-api/tags","blobs_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osu-mist/financial-index-api/statuses/{sha}","languages_url":"https://api.github.com/repos/osu-mist/financial-index-api/languages","stargazers_url":"https://api.github.com/repos/osu-mist/financial-index-api/stargazers","contributors_url":"https://api.github.com/repos/osu-mist/financial-index-api/contributors","subscribers_url":"https://api.github.com/repos/osu-mist/financial-index-api/subscribers","subscription_url":"https://api.github.com/repos/osu-mist/financial-index-api/subscription","commits_url":"https://api.github.com/repos/osu-mist/financial-index-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/osu-mist/financial-index-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/osu-mist/financial-index-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/osu-mist/financial-index-api/contents/{+path}","compare_url":"https://api.github.com/repos/osu-mist/financial-index-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osu-mist/financial-index-api/merges","archive_url":"https://api.github.com/repos/osu-mist/financial-index-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osu-mist/financial-index-api/downloads","issues_url":"https://api.github.com/repos/osu-mist/financial-index-api/issues{/number}","pulls_url":"https://api.github.com/repos/osu-mist/financial-index-api/pulls{/number}","milestones_url":"https://api.github.com/repos/osu-mist/financial-index-api/milestones{/number}","notifications_url":"https://api.github.com/repos/osu-mist/financial-index-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osu-mist/financial-index-api/labels{/name}","releases_url":"https://api.github.com/repos/osu-mist/financial-index-api/releases{/id}","deployments_url":"https://api.github.com/repos/osu-mist/financial-index-api/deployments","created_at":"2018-10-11T16:02:25Z","updated_at":"2018-11-01T16:01:26Z","pushed_at":"2018-12-21T22:46:15Z","git_url":"git://github.com/osu-mist/financial-index-api.git","ssh_url":"git@github.com:osu-mist/financial-index-api.git","clone_url":"https://github.com/osu-mist/financial-index-api.git","svn_url":"https://github.com/osu-mist/financial-index-api","homepage":null,"size":204,"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":1,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2"},"html":{"href":"https://github.com/osu-mist/financial-index-api/pull/2"},"issue":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/issues/2"},"comments":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/osu-mist/financial-index-api/statuses/f8358c6cb4f7975336d8ca13464c8db5db8e832b"}},"author_association":"NONE"}}
{"actor":{"display_login":"ianbrown9475"}}