{"action":"created","comment":{"url":"https://api.github.com/repos/ion-channel/ionic/pulls/comments/193890261","pull_request_review_id":126958248,"id":193890261,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Mzg5MDI2MQ==","diff_hunk":"@@ -34,6 +34,21 @@ func TestAnalysis(t *testing.T) {\n \t\t\tExpect(len(analysis.ScanSummaries)).To(Equal(2))\n \t\t})\n \n+\t\tg.It(\"should get a public analysis\", func() {\n+\t\t\tserver.AddPath(\"/v1/animal/getPublicAnalysis\").\n+\t\t\t\tSetMethods(\"GET\").\n+\t\t\t\tSetPayload([]byte(SampleValidAnalysis)).\n+\t\t\t\tSetStatus(http.StatusOK)\n+\n+\t\t\tanalysis, err := client.GetPublicAnalysis(\"f9bca953-80ac-46c4-b195-d37f3bc4f498\")\n+\t\t\tExpect(err).To(BeNil())\n+\t\t\tExpect(analysis.ID).To(Equal(\"f9bca953-80ac-46c4-b195-d37f3bc4f498\"))\n+\t\t\tExpect(analysis.Status).To(Equal(\"finished\"))\n+\t\t\tExpect(analysis.Type).To(Equal(\"git\"))\n+\t\t\tExpect(analysis.TriggerAuthor).To(Equal(\"Daniel Hess\"))\n+\t\t\tExpect(len(analysis.ScanSummaries)).To(Equal(2))","path":"analysis_test.go","position":16,"original_position":16,"commit_id":"5298180873580c748ef5add843cb3c9efa505eea","original_commit_id":"5298180873580c748ef5add843cb3c9efa505eea","user":{"login":"danieltmiles","id":938904,"node_id":"MDQ6VXNlcjkzODkwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/938904?v=4","gravatar_id":"","url":"https://api.github.com/users/danieltmiles","html_url":"https://github.com/danieltmiles","followers_url":"https://api.github.com/users/danieltmiles/followers","following_url":"https://api.github.com/users/danieltmiles/following{/other_user}","gists_url":"https://api.github.com/users/danieltmiles/gists{/gist_id}","starred_url":"https://api.github.com/users/danieltmiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieltmiles/subscriptions","organizations_url":"https://api.github.com/users/danieltmiles/orgs","repos_url":"https://api.github.com/users/danieltmiles/repos","events_url":"https://api.github.com/users/danieltmiles/events{/privacy}","received_events_url":"https://api.github.com/users/danieltmiles/received_events","type":"User","site_admin":false},"body":"worth checking the hitrecords on your bogus server to make sure Ionic formed the request in the correct way?","created_at":"2018-06-07T21:10:57Z","updated_at":"2018-06-07T21:11:06Z","html_url":"https://github.com/ion-channel/ionic/pull/148#discussion_r193890261","pull_request_url":"https://api.github.com/repos/ion-channel/ionic/pulls/148","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ion-channel/ionic/pulls/comments/193890261"},"html":{"href":"https://github.com/ion-channel/ionic/pull/148#discussion_r193890261"},"pull_request":{"href":"https://api.github.com/repos/ion-channel/ionic/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/ion-channel/ionic/pulls/148","id":193445313,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDQ1MzEz","html_url":"https://github.com/ion-channel/ionic/pull/148","diff_url":"https://github.com/ion-channel/ionic/pull/148.diff","patch_url":"https://github.com/ion-channel/ionic/pull/148.patch","issue_url":"https://api.github.com/repos/ion-channel/ionic/issues/148","number":148,"state":"open","locked":false,"title":"Add public analysis","user":{"login":"kellyp","id":69952,"node_id":"MDQ6VXNlcjY5OTUy","avatar_url":"https://avatars3.githubusercontent.com/u/69952?v=4","gravatar_id":"","url":"https://api.github.com/users/kellyp","html_url":"https://github.com/kellyp","followers_url":"https://api.github.com/users/kellyp/followers","following_url":"https://api.github.com/users/kellyp/following{/other_user}","gists_url":"https://api.github.com/users/kellyp/gists{/gist_id}","starred_url":"https://api.github.com/users/kellyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellyp/subscriptions","organizations_url":"https://api.github.com/users/kellyp/orgs","repos_url":"https://api.github.com/users/kellyp/repos","events_url":"https://api.github.com/users/kellyp/events{/privacy}","received_events_url":"https://api.github.com/users/kellyp/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-07T20:57:51Z","updated_at":"2018-06-07T21:11:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0adc681e3bc02b31dd8097f317611fe9bf776d7d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ion-channel/ionic/pulls/148/commits","review_comments_url":"https://api.github.com/repos/ion-channel/ionic/pulls/148/comments","review_comment_url":"https://api.github.com/repos/ion-channel/ionic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ion-channel/ionic/issues/148/comments","statuses_url":"https://api.github.com/repos/ion-channel/ionic/statuses/5298180873580c748ef5add843cb3c9efa505eea","head":{"label":"ion-channel:add-public-analysis","ref":"add-public-analysis","sha":"5298180873580c748ef5add843cb3c9efa505eea","user":{"login":"ion-channel","id":15133246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTMzMjQ2","avatar_url":"https://avatars2.githubusercontent.com/u/15133246?v=4","gravatar_id":"","url":"https://api.github.com/users/ion-channel","html_url":"https://github.com/ion-channel","followers_url":"https://api.github.com/users/ion-channel/followers","following_url":"https://api.github.com/users/ion-channel/following{/other_user}","gists_url":"https://api.github.com/users/ion-channel/gists{/gist_id}","starred_url":"https://api.github.com/users/ion-channel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ion-channel/subscriptions","organizations_url":"https://api.github.com/users/ion-channel/orgs","repos_url":"https://api.github.com/users/ion-channel/repos","events_url":"https://api.github.com/users/ion-channel/events{/privacy}","received_events_url":"https://api.github.com/users/ion-channel/received_events","type":"Organization","site_admin":false},"repo":{"id":88432886,"node_id":"MDEwOlJlcG9zaXRvcnk4ODQzMjg4Ng==","name":"ionic","full_name":"ion-channel/ionic","owner":{"login":"ion-channel","id":15133246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTMzMjQ2","avatar_url":"https://avatars2.githubusercontent.com/u/15133246?v=4","gravatar_id":"","url":"https://api.github.com/users/ion-channel","html_url":"https://github.com/ion-channel","followers_url":"https://api.github.com/users/ion-channel/followers","following_url":"https://api.github.com/users/ion-channel/following{/other_user}","gists_url":"https://api.github.com/users/ion-channel/gists{/gist_id}","starred_url":"https://api.github.com/users/ion-channel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ion-channel/subscriptions","organizations_url":"https://api.github.com/users/ion-channel/orgs","repos_url":"https://api.github.com/users/ion-channel/repos","events_url":"https://api.github.com/users/ion-channel/events{/privacy}","received_events_url":"https://api.github.com/users/ion-channel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ion-channel/ionic","description":"A Golang SDK for the Ion Channel API","fork":false,"url":"https://api.github.com/repos/ion-channel/ionic","forks_url":"https://api.github.com/repos/ion-channel/ionic/forks","keys_url":"https://api.github.com/repos/ion-channel/ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ion-channel/ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ion-channel/ionic/teams","hooks_url":"https://api.github.com/repos/ion-channel/ionic/hooks","issue_events_url":"https://api.github.com/repos/ion-channel/ionic/issues/events{/number}","events_url":"https://api.github.com/repos/ion-channel/ionic/events","assignees_url":"https://api.github.com/repos/ion-channel/ionic/assignees{/user}","branches_url":"https://api.github.com/repos/ion-channel/ionic/branches{/branch}","tags_url":"https://api.github.com/repos/ion-channel/ionic/tags","blobs_url":"https://api.github.com/repos/ion-channel/ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ion-channel/ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ion-channel/ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ion-channel/ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ion-channel/ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/ion-channel/ionic/languages","stargazers_url":"https://api.github.com/repos/ion-channel/ionic/stargazers","contributors_url":"https://api.github.com/repos/ion-channel/ionic/contributors","subscribers_url":"https://api.github.com/repos/ion-channel/ionic/subscribers","subscription_url":"https://api.github.com/repos/ion-channel/ionic/subscription","commits_url":"https://api.github.com/repos/ion-channel/ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ion-channel/ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ion-channel/ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ion-channel/ionic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ion-channel/ionic/contents/{+path}","compare_url":"https://api.github.com/repos/ion-channel/ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ion-channel/ionic/merges","archive_url":"https://api.github.com/repos/ion-channel/ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ion-channel/ionic/downloads","issues_url":"https://api.github.com/repos/ion-channel/ionic/issues{/number}","pulls_url":"https://api.github.com/repos/ion-channel/ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/ion-channel/ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/ion-channel/ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ion-channel/ionic/labels{/name}","releases_url":"https://api.github.com/repos/ion-channel/ionic/releases{/id}","deployments_url":"https://api.github.com/repos/ion-channel/ionic/deployments","created_at":"2017-04-16T18:03:32Z","updated_at":"2018-05-31T22:44:50Z","pushed_at":"2018-06-07T20:57:52Z","git_url":"git://github.com/ion-channel/ionic.git","ssh_url":"git@github.com:ion-channel/ionic.git","clone_url":"https://github.com/ion-channel/ionic.git","svn_url":"https://github.com/ion-channel/ionic","homepage":null,"size":8950,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"ion-channel:master","ref":"master","sha":"8ff011c92bc516b9e75b3bd687fb1adbf9cf32a5","user":{"login":"ion-channel","id":15133246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTMzMjQ2","avatar_url":"https://avatars2.githubusercontent.com/u/15133246?v=4","gravatar_id":"","url":"https://api.github.com/users/ion-channel","html_url":"https://github.com/ion-channel","followers_url":"https://api.github.com/users/ion-channel/followers","following_url":"https://api.github.com/users/ion-channel/following{/other_user}","gists_url":"https://api.github.com/users/ion-channel/gists{/gist_id}","starred_url":"https://api.github.com/users/ion-channel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ion-channel/subscriptions","organizations_url":"https://api.github.com/users/ion-channel/orgs","repos_url":"https://api.github.com/users/ion-channel/repos","events_url":"https://api.github.com/users/ion-channel/events{/privacy}","received_events_url":"https://api.github.com/users/ion-channel/received_events","type":"Organization","site_admin":false},"repo":{"id":88432886,"node_id":"MDEwOlJlcG9zaXRvcnk4ODQzMjg4Ng==","name":"ionic","full_name":"ion-channel/ionic","owner":{"login":"ion-channel","id":15133246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTMzMjQ2","avatar_url":"https://avatars2.githubusercontent.com/u/15133246?v=4","gravatar_id":"","url":"https://api.github.com/users/ion-channel","html_url":"https://github.com/ion-channel","followers_url":"https://api.github.com/users/ion-channel/followers","following_url":"https://api.github.com/users/ion-channel/following{/other_user}","gists_url":"https://api.github.com/users/ion-channel/gists{/gist_id}","starred_url":"https://api.github.com/users/ion-channel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ion-channel/subscriptions","organizations_url":"https://api.github.com/users/ion-channel/orgs","repos_url":"https://api.github.com/users/ion-channel/repos","events_url":"https://api.github.com/users/ion-channel/events{/privacy}","received_events_url":"https://api.github.com/users/ion-channel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ion-channel/ionic","description":"A Golang SDK for the Ion Channel API","fork":false,"url":"https://api.github.com/repos/ion-channel/ionic","forks_url":"https://api.github.com/repos/ion-channel/ionic/forks","keys_url":"https://api.github.com/repos/ion-channel/ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ion-channel/ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ion-channel/ionic/teams","hooks_url":"https://api.github.com/repos/ion-channel/ionic/hooks","issue_events_url":"https://api.github.com/repos/ion-channel/ionic/issues/events{/number}","events_url":"https://api.github.com/repos/ion-channel/ionic/events","assignees_url":"https://api.github.com/repos/ion-channel/ionic/assignees{/user}","branches_url":"https://api.github.com/repos/ion-channel/ionic/branches{/branch}","tags_url":"https://api.github.com/repos/ion-channel/ionic/tags","blobs_url":"https://api.github.com/repos/ion-channel/ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ion-channel/ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ion-channel/ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ion-channel/ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ion-channel/ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/ion-channel/ionic/languages","stargazers_url":"https://api.github.com/repos/ion-channel/ionic/stargazers","contributors_url":"https://api.github.com/repos/ion-channel/ionic/contributors","subscribers_url":"https://api.github.com/repos/ion-channel/ionic/subscribers","subscription_url":"https://api.github.com/repos/ion-channel/ionic/subscription","commits_url":"https://api.github.com/repos/ion-channel/ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ion-channel/ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ion-channel/ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ion-channel/ionic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ion-channel/ionic/contents/{+path}","compare_url":"https://api.github.com/repos/ion-channel/ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ion-channel/ionic/merges","archive_url":"https://api.github.com/repos/ion-channel/ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ion-channel/ionic/downloads","issues_url":"https://api.github.com/repos/ion-channel/ionic/issues{/number}","pulls_url":"https://api.github.com/repos/ion-channel/ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/ion-channel/ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/ion-channel/ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ion-channel/ionic/labels{/name}","releases_url":"https://api.github.com/repos/ion-channel/ionic/releases{/id}","deployments_url":"https://api.github.com/repos/ion-channel/ionic/deployments","created_at":"2017-04-16T18:03:32Z","updated_at":"2018-05-31T22:44:50Z","pushed_at":"2018-06-07T20:57:52Z","git_url":"git://github.com/ion-channel/ionic.git","ssh_url":"git@github.com:ion-channel/ionic.git","clone_url":"https://github.com/ion-channel/ionic.git","svn_url":"https://github.com/ion-channel/ionic","homepage":null,"size":8950,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ion-channel/ionic/pulls/148"},"html":{"href":"https://github.com/ion-channel/ionic/pull/148"},"issue":{"href":"https://api.github.com/repos/ion-channel/ionic/issues/148"},"comments":{"href":"https://api.github.com/repos/ion-channel/ionic/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/ion-channel/ionic/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/ion-channel/ionic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ion-channel/ionic/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/ion-channel/ionic/statuses/5298180873580c748ef5add843cb3c9efa505eea"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"danieltmiles"}}