{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/content-data-admin/pulls/comments/243825447","pull_request_review_id":187692786,"id":243825447,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzgyNTQ0Nw==","diff_hunk":"@@ -230,7 +230,8 @@\n         content_id: 'content-id',\n         publishing_app: 'whitehall',\n         base_path: '/the/base/path',\n-        document_type: 'news_story'\n+        document_type: 'news_story',\n+        parent_content_id: nil","path":"spec/presenters/single_content_item_presenter_spec.rb","position":6,"original_position":6,"commit_id":"9420194d086b46953a1cd79e6c2e32089f27340f","original_commit_id":"9420194d086b46953a1cd79e6c2e32089f27340f","user":{"login":"chao-xian","id":424772,"node_id":"MDQ6VXNlcjQyNDc3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/424772?v=4","gravatar_id":"","url":"https://api.github.com/users/chao-xian","html_url":"https://github.com/chao-xian","followers_url":"https://api.github.com/users/chao-xian/followers","following_url":"https://api.github.com/users/chao-xian/following{/other_user}","gists_url":"https://api.github.com/users/chao-xian/gists{/gist_id}","starred_url":"https://api.github.com/users/chao-xian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chao-xian/subscriptions","organizations_url":"https://api.github.com/users/chao-xian/orgs","repos_url":"https://api.github.com/users/chao-xian/repos","events_url":"https://api.github.com/users/chao-xian/events{/privacy}","received_events_url":"https://api.github.com/users/chao-xian/received_events","type":"User","site_admin":false},"body":"Eek good spot.","created_at":"2018-12-24T12:59:30Z","updated_at":"2018-12-24T12:59:30Z","html_url":"https://github.com/alphagov/content-data-admin/pull/292#discussion_r243825447","pull_request_url":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/alphagov/content-data-admin/pulls/comments/243825447"},"html":{"href":"https://github.com/alphagov/content-data-admin/pull/292#discussion_r243825447"},"pull_request":{"href":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292"}},"in_reply_to_id":243815686},"pull_request":{"url":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292","id":240759075,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNzU5MDc1","html_url":"https://github.com/alphagov/content-data-admin/pull/292","diff_url":"https://github.com/alphagov/content-data-admin/pull/292.diff","patch_url":"https://github.com/alphagov/content-data-admin/pull/292.patch","issue_url":"https://api.github.com/repos/alphagov/content-data-admin/issues/292","number":292,"state":"open","locked":false,"title":"Fix link to Manuals Publisher for manual_section","user":{"login":"chao-xian","id":424772,"node_id":"MDQ6VXNlcjQyNDc3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/424772?v=4","gravatar_id":"","url":"https://api.github.com/users/chao-xian","html_url":"https://github.com/chao-xian","followers_url":"https://api.github.com/users/chao-xian/followers","following_url":"https://api.github.com/users/chao-xian/following{/other_user}","gists_url":"https://api.github.com/users/chao-xian/gists{/gist_id}","starred_url":"https://api.github.com/users/chao-xian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chao-xian/subscriptions","organizations_url":"https://api.github.com/users/chao-xian/orgs","repos_url":"https://api.github.com/users/chao-xian/repos","events_url":"https://api.github.com/users/chao-xian/events{/privacy}","received_events_url":"https://api.github.com/users/chao-xian/received_events","type":"User","site_admin":false},"body":"# What/Why\r\n\r\nLinks to edit `manual_sections` in Manuals Publisher require the\r\n`content_id` of it's parent `manual`. This is now sent as\r\n`parent_content_id` from the API.\r\n\r\n# Screenshots\r\n\r\n## Before\r\n<img width=\"757\" alt=\"screen shot 2018-12-24 at 11 06 22 am\" src=\"https://user-images.githubusercontent.com/424772/50397991-1f082280-076c-11e9-81db-5c7447276bd5.png\">\r\n\r\n## After\r\n<img width=\"878\" alt=\"screen shot 2018-12-24 at 11 06 36 am\" src=\"https://user-images.githubusercontent.com/424772/50397998-31825c00-076c-11e9-8270-7f7f9d392c77.png\">\r\n\r\n---\r\n# Review Checklist\r\n* [ ] Changes in scope.\r\n* [ ] Added/updated unit tests.\r\n* [ ] Added/updated feature tests.\r\n* [ ] Added/updated relevant documentation.\r\n* [ ] Added to Trello card.\r\n","created_at":"2018-12-24T11:08:28Z","updated_at":"2018-12-24T12:59:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00c6c4c59842fab33fa5795517a39c56cab6c1cd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292/commits","review_comments_url":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292/comments","review_comment_url":"https://api.github.com/repos/alphagov/content-data-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/content-data-admin/issues/292/comments","statuses_url":"https://api.github.com/repos/alphagov/content-data-admin/statuses/9420194d086b46953a1cd79e6c2e32089f27340f","head":{"label":"alphagov:fix-link-to-manuals","ref":"fix-link-to-manuals","sha":"9420194d086b46953a1cd79e6c2e32089f27340f","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":142429907,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0Mjk5MDc=","name":"content-data-admin","full_name":"alphagov/content-data-admin","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/content-data-admin","description":"A front end for the data warehouse","fork":false,"url":"https://api.github.com/repos/alphagov/content-data-admin","forks_url":"https://api.github.com/repos/alphagov/content-data-admin/forks","keys_url":"https://api.github.com/repos/alphagov/content-data-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/content-data-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/content-data-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/content-data-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/content-data-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/content-data-admin/events","assignees_url":"https://api.github.com/repos/alphagov/content-data-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/content-data-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/content-data-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/content-data-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/content-data-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/content-data-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/content-data-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/content-data-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/content-data-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/content-data-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/content-data-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/content-data-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/content-data-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/content-data-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/content-data-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/content-data-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/content-data-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/content-data-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/content-data-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/content-data-admin/merges","archive_url":"https://api.github.com/repos/alphagov/content-data-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/content-data-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/content-data-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/content-data-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/content-data-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/content-data-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/content-data-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/content-data-admin/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/content-data-admin/deployments","created_at":"2018-07-26T11:09:09Z","updated_at":"2018-12-20T09:42:45Z","pushed_at":"2018-12-24T11:08:28Z","git_url":"git://github.com/alphagov/content-data-admin.git","ssh_url":"git@github.com:alphagov/content-data-admin.git","clone_url":"https://github.com/alphagov/content-data-admin.git","svn_url":"https://github.com/alphagov/content-data-admin","homepage":"https://docs.publishing.service.gov.uk/apps/content-data-admin.html","size":945,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"52e28245ece7b47aefefcd951650021e335ae415","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":142429907,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI0Mjk5MDc=","name":"content-data-admin","full_name":"alphagov/content-data-admin","private":false,"owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alphagov/content-data-admin","description":"A front end for the data warehouse","fork":false,"url":"https://api.github.com/repos/alphagov/content-data-admin","forks_url":"https://api.github.com/repos/alphagov/content-data-admin/forks","keys_url":"https://api.github.com/repos/alphagov/content-data-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/content-data-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/content-data-admin/teams","hooks_url":"https://api.github.com/repos/alphagov/content-data-admin/hooks","issue_events_url":"https://api.github.com/repos/alphagov/content-data-admin/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/content-data-admin/events","assignees_url":"https://api.github.com/repos/alphagov/content-data-admin/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/content-data-admin/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/content-data-admin/tags","blobs_url":"https://api.github.com/repos/alphagov/content-data-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/content-data-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/content-data-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/content-data-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/content-data-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/content-data-admin/languages","stargazers_url":"https://api.github.com/repos/alphagov/content-data-admin/stargazers","contributors_url":"https://api.github.com/repos/alphagov/content-data-admin/contributors","subscribers_url":"https://api.github.com/repos/alphagov/content-data-admin/subscribers","subscription_url":"https://api.github.com/repos/alphagov/content-data-admin/subscription","commits_url":"https://api.github.com/repos/alphagov/content-data-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/content-data-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/content-data-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/content-data-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/content-data-admin/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/content-data-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/content-data-admin/merges","archive_url":"https://api.github.com/repos/alphagov/content-data-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/content-data-admin/downloads","issues_url":"https://api.github.com/repos/alphagov/content-data-admin/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/content-data-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/content-data-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/content-data-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/content-data-admin/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/content-data-admin/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/content-data-admin/deployments","created_at":"2018-07-26T11:09:09Z","updated_at":"2018-12-20T09:42:45Z","pushed_at":"2018-12-24T11:08:28Z","git_url":"git://github.com/alphagov/content-data-admin.git","ssh_url":"git@github.com:alphagov/content-data-admin.git","clone_url":"https://github.com/alphagov/content-data-admin.git","svn_url":"https://github.com/alphagov/content-data-admin","homepage":"https://docs.publishing.service.gov.uk/apps/content-data-admin.html","size":945,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292"},"html":{"href":"https://github.com/alphagov/content-data-admin/pull/292"},"issue":{"href":"https://api.github.com/repos/alphagov/content-data-admin/issues/292"},"comments":{"href":"https://api.github.com/repos/alphagov/content-data-admin/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/content-data-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/content-data-admin/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/content-data-admin/statuses/9420194d086b46953a1cd79e6c2e32089f27340f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"chao-xian"}}