{"action":"created","comment":{"url":"https://api.github.com/repos/samsarahq/api-docs/pulls/comments/234061377","pull_request_review_id":175623146,"id":234061377,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDA2MTM3Nw==","diff_hunk":"@@ -5796,6 +5861,44 @@\n             \"items\": {\n                 \"$ref\": \"#/definitions/DocumentType\"\n             }\n+        },\n+        \"Contact\": {\n+            \"type\": \"object\",\n+            \"description\": \"Information about a contact.\",\n+            \"properties\": {\n+                \"id\": {\n+                    \"type\": \"integer\",\n+                    \"description\": \"ID of the contact\",\n+                    \"format\": \"int64\",\n+                    \"example\": 123\n+                },\n+                \"userId\": {","path":"swagger.json","position":87,"original_position":87,"commit_id":"2784337c6b3701a60f754cae79236b4c4f6cd81d","original_commit_id":"2784337c6b3701a60f754cae79236b4c4f6cd81d","user":{"login":"sjain28","id":9773036,"node_id":"MDQ6VXNlcjk3NzMwMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/9773036?v=4","gravatar_id":"","url":"https://api.github.com/users/sjain28","html_url":"https://github.com/sjain28","followers_url":"https://api.github.com/users/sjain28/followers","following_url":"https://api.github.com/users/sjain28/following{/other_user}","gists_url":"https://api.github.com/users/sjain28/gists{/gist_id}","starred_url":"https://api.github.com/users/sjain28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjain28/subscriptions","organizations_url":"https://api.github.com/users/sjain28/orgs","repos_url":"https://api.github.com/users/sjain28/repos","events_url":"https://api.github.com/users/sjain28/events{/privacy}","received_events_url":"https://api.github.com/users/sjain28/received_events","type":"User","site_admin":false},"body":"`contacts` does in fact have a FK to `users`","created_at":"2018-11-16T01:00:48Z","updated_at":"2018-11-16T01:00:48Z","html_url":"https://github.com/samsarahq/api-docs/pull/80#discussion_r234061377","pull_request_url":"https://api.github.com/repos/samsarahq/api-docs/pulls/80","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/samsarahq/api-docs/pulls/comments/234061377"},"html":{"href":"https://github.com/samsarahq/api-docs/pull/80#discussion_r234061377"},"pull_request":{"href":"https://api.github.com/repos/samsarahq/api-docs/pulls/80"}},"in_reply_to_id":234060538},"pull_request":{"url":"https://api.github.com/repos/samsarahq/api-docs/pulls/80","id":230953278,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwOTUzMjc4","html_url":"https://github.com/samsarahq/api-docs/pull/80","diff_url":"https://github.com/samsarahq/api-docs/pull/80.diff","patch_url":"https://github.com/samsarahq/api-docs/pull/80.patch","issue_url":"https://api.github.com/repos/samsarahq/api-docs/issues/80","number":80,"state":"open","locked":false,"title":"swagger: API spec for /contacts/ endpoints","user":{"login":"sjain28","id":9773036,"node_id":"MDQ6VXNlcjk3NzMwMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/9773036?v=4","gravatar_id":"","url":"https://api.github.com/users/sjain28","html_url":"https://github.com/sjain28","followers_url":"https://api.github.com/users/sjain28/followers","following_url":"https://api.github.com/users/sjain28/following{/other_user}","gists_url":"https://api.github.com/users/sjain28/gists{/gist_id}","starred_url":"https://api.github.com/users/sjain28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjain28/subscriptions","organizations_url":"https://api.github.com/users/sjain28/orgs","repos_url":"https://api.github.com/users/sjain28/repos","events_url":"https://api.github.com/users/sjain28/events{/privacy}","received_events_url":"https://api.github.com/users/sjain28/received_events","type":"User","site_admin":false},"body":"Adds documentation for newly added `/contacts/` GET endpoints. Contacts API supports \r\n* GET organization contacts\r\n* GET contact by id","created_at":"2018-11-14T19:26:33Z","updated_at":"2018-11-16T01:00:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7ba0411fff0192ac46b513cde16cec9f68825e1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ehzhang","id":3484848,"node_id":"MDQ6VXNlcjM0ODQ4NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3484848?v=4","gravatar_id":"","url":"https://api.github.com/users/ehzhang","html_url":"https://github.com/ehzhang","followers_url":"https://api.github.com/users/ehzhang/followers","following_url":"https://api.github.com/users/ehzhang/following{/other_user}","gists_url":"https://api.github.com/users/ehzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/ehzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehzhang/subscriptions","organizations_url":"https://api.github.com/users/ehzhang/orgs","repos_url":"https://api.github.com/users/ehzhang/repos","events_url":"https://api.github.com/users/ehzhang/events{/privacy}","received_events_url":"https://api.github.com/users/ehzhang/received_events","type":"User","site_admin":false},{"login":"AChelikani","id":4915950,"node_id":"MDQ6VXNlcjQ5MTU5NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4915950?v=4","gravatar_id":"","url":"https://api.github.com/users/AChelikani","html_url":"https://github.com/AChelikani","followers_url":"https://api.github.com/users/AChelikani/followers","following_url":"https://api.github.com/users/AChelikani/following{/other_user}","gists_url":"https://api.github.com/users/AChelikani/gists{/gist_id}","starred_url":"https://api.github.com/users/AChelikani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AChelikani/subscriptions","organizations_url":"https://api.github.com/users/AChelikani/orgs","repos_url":"https://api.github.com/users/AChelikani/repos","events_url":"https://api.github.com/users/AChelikani/events{/privacy}","received_events_url":"https://api.github.com/users/AChelikani/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/samsarahq/api-docs/pulls/80/commits","review_comments_url":"https://api.github.com/repos/samsarahq/api-docs/pulls/80/comments","review_comment_url":"https://api.github.com/repos/samsarahq/api-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samsarahq/api-docs/issues/80/comments","statuses_url":"https://api.github.com/repos/samsarahq/api-docs/statuses/2784337c6b3701a60f754cae79236b4c4f6cd81d","head":{"label":"samsarahq:sjain28/contacts-api","ref":"sjain28/contacts-api","sha":"2784337c6b3701a60f754cae79236b4c4f6cd81d","user":{"login":"samsarahq","id":14863620,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODYzNjIw","avatar_url":"https://avatars1.githubusercontent.com/u/14863620?v=4","gravatar_id":"","url":"https://api.github.com/users/samsarahq","html_url":"https://github.com/samsarahq","followers_url":"https://api.github.com/users/samsarahq/followers","following_url":"https://api.github.com/users/samsarahq/following{/other_user}","gists_url":"https://api.github.com/users/samsarahq/gists{/gist_id}","starred_url":"https://api.github.com/users/samsarahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsarahq/subscriptions","organizations_url":"https://api.github.com/users/samsarahq/orgs","repos_url":"https://api.github.com/users/samsarahq/repos","events_url":"https://api.github.com/users/samsarahq/events{/privacy}","received_events_url":"https://api.github.com/users/samsarahq/received_events","type":"Organization","site_admin":false},"repo":{"id":67077150,"node_id":"MDEwOlJlcG9zaXRvcnk2NzA3NzE1MA==","name":"api-docs","full_name":"samsarahq/api-docs","private":false,"owner":{"login":"samsarahq","id":14863620,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODYzNjIw","avatar_url":"https://avatars1.githubusercontent.com/u/14863620?v=4","gravatar_id":"","url":"https://api.github.com/users/samsarahq","html_url":"https://github.com/samsarahq","followers_url":"https://api.github.com/users/samsarahq/followers","following_url":"https://api.github.com/users/samsarahq/following{/other_user}","gists_url":"https://api.github.com/users/samsarahq/gists{/gist_id}","starred_url":"https://api.github.com/users/samsarahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsarahq/subscriptions","organizations_url":"https://api.github.com/users/samsarahq/orgs","repos_url":"https://api.github.com/users/samsarahq/repos","events_url":"https://api.github.com/users/samsarahq/events{/privacy}","received_events_url":"https://api.github.com/users/samsarahq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/samsarahq/api-docs","description":null,"fork":false,"url":"https://api.github.com/repos/samsarahq/api-docs","forks_url":"https://api.github.com/repos/samsarahq/api-docs/forks","keys_url":"https://api.github.com/repos/samsarahq/api-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samsarahq/api-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samsarahq/api-docs/teams","hooks_url":"https://api.github.com/repos/samsarahq/api-docs/hooks","issue_events_url":"https://api.github.com/repos/samsarahq/api-docs/issues/events{/number}","events_url":"https://api.github.com/repos/samsarahq/api-docs/events","assignees_url":"https://api.github.com/repos/samsarahq/api-docs/assignees{/user}","branches_url":"https://api.github.com/repos/samsarahq/api-docs/branches{/branch}","tags_url":"https://api.github.com/repos/samsarahq/api-docs/tags","blobs_url":"https://api.github.com/repos/samsarahq/api-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samsarahq/api-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samsarahq/api-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/samsarahq/api-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samsarahq/api-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/samsarahq/api-docs/languages","stargazers_url":"https://api.github.com/repos/samsarahq/api-docs/stargazers","contributors_url":"https://api.github.com/repos/samsarahq/api-docs/contributors","subscribers_url":"https://api.github.com/repos/samsarahq/api-docs/subscribers","subscription_url":"https://api.github.com/repos/samsarahq/api-docs/subscription","commits_url":"https://api.github.com/repos/samsarahq/api-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/samsarahq/api-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/samsarahq/api-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/samsarahq/api-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/samsarahq/api-docs/contents/{+path}","compare_url":"https://api.github.com/repos/samsarahq/api-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samsarahq/api-docs/merges","archive_url":"https://api.github.com/repos/samsarahq/api-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samsarahq/api-docs/downloads","issues_url":"https://api.github.com/repos/samsarahq/api-docs/issues{/number}","pulls_url":"https://api.github.com/repos/samsarahq/api-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/samsarahq/api-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/samsarahq/api-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samsarahq/api-docs/labels{/name}","releases_url":"https://api.github.com/repos/samsarahq/api-docs/releases{/id}","deployments_url":"https://api.github.com/repos/samsarahq/api-docs/deployments","created_at":"2016-08-31T22:11:01Z","updated_at":"2018-11-07T17:48:37Z","pushed_at":"2018-11-16T00:45:44Z","git_url":"git://github.com/samsarahq/api-docs.git","ssh_url":"git@github.com:samsarahq/api-docs.git","clone_url":"https://github.com/samsarahq/api-docs.git","svn_url":"https://github.com/samsarahq/api-docs","homepage":null,"size":203,"stargazers_count":5,"watchers_count":5,"language":null,"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":11,"license":null,"forks":2,"open_issues":11,"watchers":5,"default_branch":"master"}},"base":{"label":"samsarahq:master","ref":"master","sha":"95f62a53717da2d8c86aef06d7b7e54a3e09f60c","user":{"login":"samsarahq","id":14863620,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODYzNjIw","avatar_url":"https://avatars1.githubusercontent.com/u/14863620?v=4","gravatar_id":"","url":"https://api.github.com/users/samsarahq","html_url":"https://github.com/samsarahq","followers_url":"https://api.github.com/users/samsarahq/followers","following_url":"https://api.github.com/users/samsarahq/following{/other_user}","gists_url":"https://api.github.com/users/samsarahq/gists{/gist_id}","starred_url":"https://api.github.com/users/samsarahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsarahq/subscriptions","organizations_url":"https://api.github.com/users/samsarahq/orgs","repos_url":"https://api.github.com/users/samsarahq/repos","events_url":"https://api.github.com/users/samsarahq/events{/privacy}","received_events_url":"https://api.github.com/users/samsarahq/received_events","type":"Organization","site_admin":false},"repo":{"id":67077150,"node_id":"MDEwOlJlcG9zaXRvcnk2NzA3NzE1MA==","name":"api-docs","full_name":"samsarahq/api-docs","private":false,"owner":{"login":"samsarahq","id":14863620,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODYzNjIw","avatar_url":"https://avatars1.githubusercontent.com/u/14863620?v=4","gravatar_id":"","url":"https://api.github.com/users/samsarahq","html_url":"https://github.com/samsarahq","followers_url":"https://api.github.com/users/samsarahq/followers","following_url":"https://api.github.com/users/samsarahq/following{/other_user}","gists_url":"https://api.github.com/users/samsarahq/gists{/gist_id}","starred_url":"https://api.github.com/users/samsarahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsarahq/subscriptions","organizations_url":"https://api.github.com/users/samsarahq/orgs","repos_url":"https://api.github.com/users/samsarahq/repos","events_url":"https://api.github.com/users/samsarahq/events{/privacy}","received_events_url":"https://api.github.com/users/samsarahq/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/samsarahq/api-docs","description":null,"fork":false,"url":"https://api.github.com/repos/samsarahq/api-docs","forks_url":"https://api.github.com/repos/samsarahq/api-docs/forks","keys_url":"https://api.github.com/repos/samsarahq/api-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samsarahq/api-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samsarahq/api-docs/teams","hooks_url":"https://api.github.com/repos/samsarahq/api-docs/hooks","issue_events_url":"https://api.github.com/repos/samsarahq/api-docs/issues/events{/number}","events_url":"https://api.github.com/repos/samsarahq/api-docs/events","assignees_url":"https://api.github.com/repos/samsarahq/api-docs/assignees{/user}","branches_url":"https://api.github.com/repos/samsarahq/api-docs/branches{/branch}","tags_url":"https://api.github.com/repos/samsarahq/api-docs/tags","blobs_url":"https://api.github.com/repos/samsarahq/api-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samsarahq/api-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samsarahq/api-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/samsarahq/api-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samsarahq/api-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/samsarahq/api-docs/languages","stargazers_url":"https://api.github.com/repos/samsarahq/api-docs/stargazers","contributors_url":"https://api.github.com/repos/samsarahq/api-docs/contributors","subscribers_url":"https://api.github.com/repos/samsarahq/api-docs/subscribers","subscription_url":"https://api.github.com/repos/samsarahq/api-docs/subscription","commits_url":"https://api.github.com/repos/samsarahq/api-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/samsarahq/api-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/samsarahq/api-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/samsarahq/api-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/samsarahq/api-docs/contents/{+path}","compare_url":"https://api.github.com/repos/samsarahq/api-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samsarahq/api-docs/merges","archive_url":"https://api.github.com/repos/samsarahq/api-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samsarahq/api-docs/downloads","issues_url":"https://api.github.com/repos/samsarahq/api-docs/issues{/number}","pulls_url":"https://api.github.com/repos/samsarahq/api-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/samsarahq/api-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/samsarahq/api-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samsarahq/api-docs/labels{/name}","releases_url":"https://api.github.com/repos/samsarahq/api-docs/releases{/id}","deployments_url":"https://api.github.com/repos/samsarahq/api-docs/deployments","created_at":"2016-08-31T22:11:01Z","updated_at":"2018-11-07T17:48:37Z","pushed_at":"2018-11-16T00:45:44Z","git_url":"git://github.com/samsarahq/api-docs.git","ssh_url":"git@github.com:samsarahq/api-docs.git","clone_url":"https://github.com/samsarahq/api-docs.git","svn_url":"https://github.com/samsarahq/api-docs","homepage":null,"size":203,"stargazers_count":5,"watchers_count":5,"language":null,"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":11,"license":null,"forks":2,"open_issues":11,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samsarahq/api-docs/pulls/80"},"html":{"href":"https://github.com/samsarahq/api-docs/pull/80"},"issue":{"href":"https://api.github.com/repos/samsarahq/api-docs/issues/80"},"comments":{"href":"https://api.github.com/repos/samsarahq/api-docs/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/samsarahq/api-docs/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/samsarahq/api-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samsarahq/api-docs/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/samsarahq/api-docs/statuses/2784337c6b3701a60f754cae79236b4c4f6cd81d"}},"author_association":"NONE"}}
{"actor":{"display_login":"sjain28"}}