{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/comments/145427978","pull_request_review_id":70225855,"id":145427978,"diff_hunk":"@@ -21,7 +21,7 @@ import java.util.UUID\n import uk.gov.hmrc.apisubscriptionfields.model.{Fields, SubscriptionIdentifier}\n \n object SubscriptionFields {\n-  def apply(id: SubscriptionIdentifier, fieldsId: UUID, customFields: Fields) : SubscriptionFields = SubscriptionFields(id.encode(), fieldsId, customFields)\n+  def apply(id: SubscriptionIdentifier, fieldsId: UUID, customFields: Fields) : SubscriptionFields = new SubscriptionFields(id.encode(), id.applicationId.value, fieldsId, customFields)","path":"app/uk/gov/hmrc/apisubscriptionfields/repository/SubscriptionFields.scala","position":5,"original_position":5,"commit_id":"568bfcae02b61794db23de19a077d20ff4b9c536","original_commit_id":"568bfcae02b61794db23de19a077d20ff4b9c536","user":{"login":"gokyo","id":6510179,"avatar_url":"https://avatars2.githubusercontent.com/u/6510179?v=4","gravatar_id":"","url":"https://api.github.com/users/gokyo","html_url":"https://github.com/gokyo","followers_url":"https://api.github.com/users/gokyo/followers","following_url":"https://api.github.com/users/gokyo/following{/other_user}","gists_url":"https://api.github.com/users/gokyo/gists{/gist_id}","starred_url":"https://api.github.com/users/gokyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gokyo/subscriptions","organizations_url":"https://api.github.com/users/gokyo/orgs","repos_url":"https://api.github.com/users/gokyo/repos","events_url":"https://api.github.com/users/gokyo/events{/privacy}","received_events_url":"https://api.github.com/users/gokyo/received_events","type":"User","site_admin":false},"body":"could you rename `customFields` to `fields`?","created_at":"2017-10-18T14:15:48Z","updated_at":"2017-10-18T14:15:49Z","html_url":"https://github.com/hmrc/api-subscription-fields/pull/10#discussion_r145427978","pull_request_url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/comments/145427978"},"html":{"href":"https://github.com/hmrc/api-subscription-fields/pull/10#discussion_r145427978"},"pull_request":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10","id":147279573,"html_url":"https://github.com/hmrc/api-subscription-fields/pull/10","diff_url":"https://github.com/hmrc/api-subscription-fields/pull/10.diff","patch_url":"https://github.com/hmrc/api-subscription-fields/pull/10.patch","issue_url":"https://api.github.com/repos/hmrc/api-subscription-fields/issues/10","number":10,"state":"open","locked":false,"title":"API-2532: Addition of fields definition endpoint and subscription fie…","user":{"login":"googley42","id":18615122,"avatar_url":"https://avatars1.githubusercontent.com/u/18615122?v=4","gravatar_id":"","url":"https://api.github.com/users/googley42","html_url":"https://github.com/googley42","followers_url":"https://api.github.com/users/googley42/followers","following_url":"https://api.github.com/users/googley42/following{/other_user}","gists_url":"https://api.github.com/users/googley42/gists{/gist_id}","starred_url":"https://api.github.com/users/googley42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googley42/subscriptions","organizations_url":"https://api.github.com/users/googley42/orgs","repos_url":"https://api.github.com/users/googley42/repos","events_url":"https://api.github.com/users/googley42/events{/privacy}","received_events_url":"https://api.github.com/users/googley42/received_events","type":"User","site_admin":false},"body":"…lds bulk GET endpoint","created_at":"2017-10-18T11:53:14Z","updated_at":"2017-10-18T14:15:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"199b9a9d713eccc91dc09579fdbe4ea6f375fd92","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10/commits","review_comments_url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10/comments","review_comment_url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/api-subscription-fields/issues/10/comments","statuses_url":"https://api.github.com/repos/hmrc/api-subscription-fields/statuses/568bfcae02b61794db23de19a077d20ff4b9c536","head":{"label":"googley42:API-2532_pr5_squashed","ref":"API-2532_pr5_squashed","sha":"568bfcae02b61794db23de19a077d20ff4b9c536","user":{"login":"googley42","id":18615122,"avatar_url":"https://avatars1.githubusercontent.com/u/18615122?v=4","gravatar_id":"","url":"https://api.github.com/users/googley42","html_url":"https://github.com/googley42","followers_url":"https://api.github.com/users/googley42/followers","following_url":"https://api.github.com/users/googley42/following{/other_user}","gists_url":"https://api.github.com/users/googley42/gists{/gist_id}","starred_url":"https://api.github.com/users/googley42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googley42/subscriptions","organizations_url":"https://api.github.com/users/googley42/orgs","repos_url":"https://api.github.com/users/googley42/repos","events_url":"https://api.github.com/users/googley42/events{/privacy}","received_events_url":"https://api.github.com/users/googley42/received_events","type":"User","site_admin":false},"repo":{"id":105250121,"name":"api-subscription-fields","full_name":"googley42/api-subscription-fields","owner":{"login":"googley42","id":18615122,"avatar_url":"https://avatars1.githubusercontent.com/u/18615122?v=4","gravatar_id":"","url":"https://api.github.com/users/googley42","html_url":"https://github.com/googley42","followers_url":"https://api.github.com/users/googley42/followers","following_url":"https://api.github.com/users/googley42/following{/other_user}","gists_url":"https://api.github.com/users/googley42/gists{/gist_id}","starred_url":"https://api.github.com/users/googley42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googley42/subscriptions","organizations_url":"https://api.github.com/users/googley42/orgs","repos_url":"https://api.github.com/users/googley42/repos","events_url":"https://api.github.com/users/googley42/events{/privacy}","received_events_url":"https://api.github.com/users/googley42/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/googley42/api-subscription-fields","description":null,"fork":true,"url":"https://api.github.com/repos/googley42/api-subscription-fields","forks_url":"https://api.github.com/repos/googley42/api-subscription-fields/forks","keys_url":"https://api.github.com/repos/googley42/api-subscription-fields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googley42/api-subscription-fields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googley42/api-subscription-fields/teams","hooks_url":"https://api.github.com/repos/googley42/api-subscription-fields/hooks","issue_events_url":"https://api.github.com/repos/googley42/api-subscription-fields/issues/events{/number}","events_url":"https://api.github.com/repos/googley42/api-subscription-fields/events","assignees_url":"https://api.github.com/repos/googley42/api-subscription-fields/assignees{/user}","branches_url":"https://api.github.com/repos/googley42/api-subscription-fields/branches{/branch}","tags_url":"https://api.github.com/repos/googley42/api-subscription-fields/tags","blobs_url":"https://api.github.com/repos/googley42/api-subscription-fields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googley42/api-subscription-fields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googley42/api-subscription-fields/git/refs{/sha}","trees_url":"https://api.github.com/repos/googley42/api-subscription-fields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googley42/api-subscription-fields/statuses/{sha}","languages_url":"https://api.github.com/repos/googley42/api-subscription-fields/languages","stargazers_url":"https://api.github.com/repos/googley42/api-subscription-fields/stargazers","contributors_url":"https://api.github.com/repos/googley42/api-subscription-fields/contributors","subscribers_url":"https://api.github.com/repos/googley42/api-subscription-fields/subscribers","subscription_url":"https://api.github.com/repos/googley42/api-subscription-fields/subscription","commits_url":"https://api.github.com/repos/googley42/api-subscription-fields/commits{/sha}","git_commits_url":"https://api.github.com/repos/googley42/api-subscription-fields/git/commits{/sha}","comments_url":"https://api.github.com/repos/googley42/api-subscription-fields/comments{/number}","issue_comment_url":"https://api.github.com/repos/googley42/api-subscription-fields/issues/comments{/number}","contents_url":"https://api.github.com/repos/googley42/api-subscription-fields/contents/{+path}","compare_url":"https://api.github.com/repos/googley42/api-subscription-fields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googley42/api-subscription-fields/merges","archive_url":"https://api.github.com/repos/googley42/api-subscription-fields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googley42/api-subscription-fields/downloads","issues_url":"https://api.github.com/repos/googley42/api-subscription-fields/issues{/number}","pulls_url":"https://api.github.com/repos/googley42/api-subscription-fields/pulls{/number}","milestones_url":"https://api.github.com/repos/googley42/api-subscription-fields/milestones{/number}","notifications_url":"https://api.github.com/repos/googley42/api-subscription-fields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googley42/api-subscription-fields/labels{/name}","releases_url":"https://api.github.com/repos/googley42/api-subscription-fields/releases{/id}","deployments_url":"https://api.github.com/repos/googley42/api-subscription-fields/deployments","created_at":"2017-09-29T08:41:38Z","updated_at":"2017-09-29T08:41:40Z","pushed_at":"2017-10-18T11:52:18Z","git_url":"git://github.com/googley42/api-subscription-fields.git","ssh_url":"git@github.com:googley42/api-subscription-fields.git","clone_url":"https://github.com/googley42/api-subscription-fields.git","svn_url":"https://github.com/googley42/api-subscription-fields","homepage":"","size":138,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"cb6b3fe59d2ea5c9a7d2d660d595ea4b75681aae","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":95216443,"name":"api-subscription-fields","full_name":"hmrc/api-subscription-fields","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmrc/api-subscription-fields","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/api-subscription-fields","forks_url":"https://api.github.com/repos/hmrc/api-subscription-fields/forks","keys_url":"https://api.github.com/repos/hmrc/api-subscription-fields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/api-subscription-fields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/api-subscription-fields/teams","hooks_url":"https://api.github.com/repos/hmrc/api-subscription-fields/hooks","issue_events_url":"https://api.github.com/repos/hmrc/api-subscription-fields/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/api-subscription-fields/events","assignees_url":"https://api.github.com/repos/hmrc/api-subscription-fields/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/api-subscription-fields/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/api-subscription-fields/tags","blobs_url":"https://api.github.com/repos/hmrc/api-subscription-fields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/api-subscription-fields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/api-subscription-fields/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/api-subscription-fields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/api-subscription-fields/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/api-subscription-fields/languages","stargazers_url":"https://api.github.com/repos/hmrc/api-subscription-fields/stargazers","contributors_url":"https://api.github.com/repos/hmrc/api-subscription-fields/contributors","subscribers_url":"https://api.github.com/repos/hmrc/api-subscription-fields/subscribers","subscription_url":"https://api.github.com/repos/hmrc/api-subscription-fields/subscription","commits_url":"https://api.github.com/repos/hmrc/api-subscription-fields/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/api-subscription-fields/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/api-subscription-fields/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/api-subscription-fields/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/api-subscription-fields/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/api-subscription-fields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/api-subscription-fields/merges","archive_url":"https://api.github.com/repos/hmrc/api-subscription-fields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/api-subscription-fields/downloads","issues_url":"https://api.github.com/repos/hmrc/api-subscription-fields/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/api-subscription-fields/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/api-subscription-fields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/api-subscription-fields/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/api-subscription-fields/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/api-subscription-fields/deployments","created_at":"2017-06-23T12:03:17Z","updated_at":"2017-06-23T12:03:35Z","pushed_at":"2017-10-18T11:53:15Z","git_url":"git://github.com/hmrc/api-subscription-fields.git","ssh_url":"git@github.com:hmrc/api-subscription-fields.git","clone_url":"https://github.com/hmrc/api-subscription-fields.git","svn_url":"https://github.com/hmrc/api-subscription-fields","homepage":"","size":133,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10"},"html":{"href":"https://github.com/hmrc/api-subscription-fields/pull/10"},"issue":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/issues/10"},"comments":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/api-subscription-fields/statuses/568bfcae02b61794db23de19a077d20ff4b9c536"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gokyo"}}