{"action":"created","comment":{"url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/comments/197732956","pull_request_review_id":131531586,"id":197732956,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzczMjk1Ng==","diff_hunk":"@@ -109,13 +110,13 @@ def test_api_content_aggregations_endpoint_status(flask_app, monkeypatch):\n     monkeypatch.setattr(api, 'db_client_classes', {'mock_db_client': MockDBClient})\n     monkeypatch.setattr(api, 'DB_CLIENT', 'mock_db_client')","path":"tests/test_api.py","position":8,"original_position":8,"commit_id":"2fe32f74beb402860437c2621cc1510ffa4812c1","original_commit_id":"2fe32f74beb402860437c2621cc1510ffa4812c1","user":{"login":"felixmercermoss","id":32336193,"node_id":"MDQ6VXNlcjMyMzM2MTkz","avatar_url":"https://avatars0.githubusercontent.com/u/32336193?v=4","gravatar_id":"","url":"https://api.github.com/users/felixmercermoss","html_url":"https://github.com/felixmercermoss","followers_url":"https://api.github.com/users/felixmercermoss/followers","following_url":"https://api.github.com/users/felixmercermoss/following{/other_user}","gists_url":"https://api.github.com/users/felixmercermoss/gists{/gist_id}","starred_url":"https://api.github.com/users/felixmercermoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixmercermoss/subscriptions","organizations_url":"https://api.github.com/users/felixmercermoss/orgs","repos_url":"https://api.github.com/users/felixmercermoss/repos","events_url":"https://api.github.com/users/felixmercermoss/events{/privacy}","received_events_url":"https://api.github.com/users/felixmercermoss/received_events","type":"User","site_admin":false},"body":"More a point of interest to me but - why are we using monkey patch here and not the @patch decorator?","created_at":"2018-06-25T09:30:35Z","updated_at":"2018-06-25T09:30:35Z","html_url":"https://github.com/bbc/connected-data-amanita/pull/25#discussion_r197732956","pull_request_url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/comments/197732956"},"html":{"href":"https://github.com/bbc/connected-data-amanita/pull/25#discussion_r197732956"},"pull_request":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25","id":196847645,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODQ3NjQ1","html_url":"https://github.com/bbc/connected-data-amanita/pull/25","diff_url":"https://github.com/bbc/connected-data-amanita/pull/25.diff","patch_url":"https://github.com/bbc/connected-data-amanita/pull/25.patch","issue_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues/25","number":25,"state":"open","locked":false,"title":"DATALAB-425: Change bulk and aggregation endpoints to accept payload","user":{"login":"tatiana","id":272048,"node_id":"MDQ6VXNlcjI3MjA0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/272048?v=4","gravatar_id":"","url":"https://api.github.com/users/tatiana","html_url":"https://github.com/tatiana","followers_url":"https://api.github.com/users/tatiana/followers","following_url":"https://api.github.com/users/tatiana/following{/other_user}","gists_url":"https://api.github.com/users/tatiana/gists{/gist_id}","starred_url":"https://api.github.com/users/tatiana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatiana/subscriptions","organizations_url":"https://api.github.com/users/tatiana/orgs","repos_url":"https://api.github.com/users/tatiana/repos","events_url":"https://api.github.com/users/tatiana/events{/privacy}","received_events_url":"https://api.github.com/users/tatiana/received_events","type":"User","site_admin":false},"body":"Before these two endpoints:\r\n- bulk\r\n- aggregate\r\nWould receive all the parameters in query strings. However, for some users, these URLs became massive - so we needed to change to pass the parameters in the body of the request.\r\n\r\nThis PR is the second, in a trilogy of PRs:\r\n1. [Specs](https://github.com/bbc/datalab-architecture/pull/41)\r\n2. [Amanita](https://github.com/bbc/connected-data-amanita/pull/25)\r\n3. [Rubus](https://github.com/bbc/connected-data-rubus/pull/12)","created_at":"2018-06-22T21:17:59Z","updated_at":"2018-06-25T09:30:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48e753cfe01d63b3bb07a2b5a4fefc98b90fc64c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"maria-panteli","id":38426129,"node_id":"MDQ6VXNlcjM4NDI2MTI5","avatar_url":"https://avatars0.githubusercontent.com/u/38426129?v=4","gravatar_id":"","url":"https://api.github.com/users/maria-panteli","html_url":"https://github.com/maria-panteli","followers_url":"https://api.github.com/users/maria-panteli/followers","following_url":"https://api.github.com/users/maria-panteli/following{/other_user}","gists_url":"https://api.github.com/users/maria-panteli/gists{/gist_id}","starred_url":"https://api.github.com/users/maria-panteli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maria-panteli/subscriptions","organizations_url":"https://api.github.com/users/maria-panteli/orgs","repos_url":"https://api.github.com/users/maria-panteli/repos","events_url":"https://api.github.com/users/maria-panteli/events{/privacy}","received_events_url":"https://api.github.com/users/maria-panteli/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25/commits","review_comments_url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25/comments","review_comment_url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues/25/comments","statuses_url":"https://api.github.com/repos/bbc/connected-data-amanita/statuses/2fe32f74beb402860437c2621cc1510ffa4812c1","head":{"label":"bbc:DATALAB-425","ref":"DATALAB-425","sha":"2fe32f74beb402860437c2621cc1510ffa4812c1","user":{"login":"bbc","id":828722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyODcyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/828722?v=4","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"repo":{"id":120640202,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2NDAyMDI=","name":"connected-data-amanita","full_name":"bbc/connected-data-amanita","owner":{"login":"bbc","id":828722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyODcyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/828722?v=4","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbc/connected-data-amanita","description":"API for Content Graph","fork":false,"url":"https://api.github.com/repos/bbc/connected-data-amanita","forks_url":"https://api.github.com/repos/bbc/connected-data-amanita/forks","keys_url":"https://api.github.com/repos/bbc/connected-data-amanita/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbc/connected-data-amanita/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbc/connected-data-amanita/teams","hooks_url":"https://api.github.com/repos/bbc/connected-data-amanita/hooks","issue_events_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues/events{/number}","events_url":"https://api.github.com/repos/bbc/connected-data-amanita/events","assignees_url":"https://api.github.com/repos/bbc/connected-data-amanita/assignees{/user}","branches_url":"https://api.github.com/repos/bbc/connected-data-amanita/branches{/branch}","tags_url":"https://api.github.com/repos/bbc/connected-data-amanita/tags","blobs_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbc/connected-data-amanita/statuses/{sha}","languages_url":"https://api.github.com/repos/bbc/connected-data-amanita/languages","stargazers_url":"https://api.github.com/repos/bbc/connected-data-amanita/stargazers","contributors_url":"https://api.github.com/repos/bbc/connected-data-amanita/contributors","subscribers_url":"https://api.github.com/repos/bbc/connected-data-amanita/subscribers","subscription_url":"https://api.github.com/repos/bbc/connected-data-amanita/subscription","commits_url":"https://api.github.com/repos/bbc/connected-data-amanita/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbc/connected-data-amanita/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbc/connected-data-amanita/contents/{+path}","compare_url":"https://api.github.com/repos/bbc/connected-data-amanita/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbc/connected-data-amanita/merges","archive_url":"https://api.github.com/repos/bbc/connected-data-amanita/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbc/connected-data-amanita/downloads","issues_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues{/number}","pulls_url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls{/number}","milestones_url":"https://api.github.com/repos/bbc/connected-data-amanita/milestones{/number}","notifications_url":"https://api.github.com/repos/bbc/connected-data-amanita/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbc/connected-data-amanita/labels{/name}","releases_url":"https://api.github.com/repos/bbc/connected-data-amanita/releases{/id}","deployments_url":"https://api.github.com/repos/bbc/connected-data-amanita/deployments","created_at":"2018-02-07T16:23:54Z","updated_at":"2018-06-20T21:22:45Z","pushed_at":"2018-06-22T21:18:00Z","git_url":"git://github.com/bbc/connected-data-amanita.git","ssh_url":"git@github.com:bbc/connected-data-amanita.git","clone_url":"https://github.com/bbc/connected-data-amanita.git","svn_url":"https://github.com/bbc/connected-data-amanita","homepage":null,"size":303,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"bbc:master","ref":"master","sha":"a02cd4bc660f0923faa5188ff5152cb8e3cf690e","user":{"login":"bbc","id":828722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyODcyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/828722?v=4","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"repo":{"id":120640202,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2NDAyMDI=","name":"connected-data-amanita","full_name":"bbc/connected-data-amanita","owner":{"login":"bbc","id":828722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyODcyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/828722?v=4","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbc/connected-data-amanita","description":"API for Content Graph","fork":false,"url":"https://api.github.com/repos/bbc/connected-data-amanita","forks_url":"https://api.github.com/repos/bbc/connected-data-amanita/forks","keys_url":"https://api.github.com/repos/bbc/connected-data-amanita/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbc/connected-data-amanita/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbc/connected-data-amanita/teams","hooks_url":"https://api.github.com/repos/bbc/connected-data-amanita/hooks","issue_events_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues/events{/number}","events_url":"https://api.github.com/repos/bbc/connected-data-amanita/events","assignees_url":"https://api.github.com/repos/bbc/connected-data-amanita/assignees{/user}","branches_url":"https://api.github.com/repos/bbc/connected-data-amanita/branches{/branch}","tags_url":"https://api.github.com/repos/bbc/connected-data-amanita/tags","blobs_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbc/connected-data-amanita/statuses/{sha}","languages_url":"https://api.github.com/repos/bbc/connected-data-amanita/languages","stargazers_url":"https://api.github.com/repos/bbc/connected-data-amanita/stargazers","contributors_url":"https://api.github.com/repos/bbc/connected-data-amanita/contributors","subscribers_url":"https://api.github.com/repos/bbc/connected-data-amanita/subscribers","subscription_url":"https://api.github.com/repos/bbc/connected-data-amanita/subscription","commits_url":"https://api.github.com/repos/bbc/connected-data-amanita/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbc/connected-data-amanita/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbc/connected-data-amanita/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbc/connected-data-amanita/contents/{+path}","compare_url":"https://api.github.com/repos/bbc/connected-data-amanita/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbc/connected-data-amanita/merges","archive_url":"https://api.github.com/repos/bbc/connected-data-amanita/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbc/connected-data-amanita/downloads","issues_url":"https://api.github.com/repos/bbc/connected-data-amanita/issues{/number}","pulls_url":"https://api.github.com/repos/bbc/connected-data-amanita/pulls{/number}","milestones_url":"https://api.github.com/repos/bbc/connected-data-amanita/milestones{/number}","notifications_url":"https://api.github.com/repos/bbc/connected-data-amanita/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbc/connected-data-amanita/labels{/name}","releases_url":"https://api.github.com/repos/bbc/connected-data-amanita/releases{/id}","deployments_url":"https://api.github.com/repos/bbc/connected-data-amanita/deployments","created_at":"2018-02-07T16:23:54Z","updated_at":"2018-06-20T21:22:45Z","pushed_at":"2018-06-22T21:18:00Z","git_url":"git://github.com/bbc/connected-data-amanita.git","ssh_url":"git@github.com:bbc/connected-data-amanita.git","clone_url":"https://github.com/bbc/connected-data-amanita.git","svn_url":"https://github.com/bbc/connected-data-amanita","homepage":null,"size":303,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25"},"html":{"href":"https://github.com/bbc/connected-data-amanita/pull/25"},"issue":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/issues/25"},"comments":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/bbc/connected-data-amanita/statuses/2fe32f74beb402860437c2621cc1510ffa4812c1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"felixmercermoss"}}