{"action":"created","comment":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments/94743340","pull_request_review_id":15277239,"id":94743340,"diff_hunk":"@@ -0,0 +1,125 @@\n+package design\n+\n+import (\n+\td \"github.com/goadesign/goa/design\"\n+\ta \"github.com/goadesign/goa/design/apidsl\"\n+)\n+\n+var trackerData = a.Type(\"TrackerData\", func() {\n+\ta.Attribute(\"attributes\", trackerAttributes)\n+\ta.Attribute(\"type\", d.String, func() {\n+\t\ta.Enum(\"trackers\")\n+\t})\n+\ta.Attribute(\"id\", d.String, \"ID of the tracker record\", func() {\n+\t\ta.Example(\"42\")\n+\t})\n+\ta.Attribute(\"links\", genericLinks)\n+\ta.Required(\"type\", \"attributes\")\n+})\n+\n+var trackerLinks = a.Type(\"TrackerLinks\", func() {\n+\ta.Attribute(\"self\", d.String, func() {\n+\t\ta.Example(\"http://api.almighty.io/api/trackers/42\")\n+\t})\n+\ta.Required(\"self\")\n+})\n+\n+// Defines a Media Type for Single Tracker Object\n+var TrackerObject = JSONSingle(\"TrackerObject\", \"Single Tracker Payload\", trackerData, trackerLinks)","path":"design/trackers.go","position":28,"original_position":28,"commit_id":"6313a53d7da6c898f2525273b78738c28edf97d8","original_commit_id":"6313a53d7da6c898f2525273b78738c28edf97d8","user":{"login":"aslakknutsen","id":132158,"avatar_url":"https://avatars.githubusercontent.com/u/132158?v=3","gravatar_id":"","url":"https://api.github.com/users/aslakknutsen","html_url":"https://github.com/aslakknutsen","followers_url":"https://api.github.com/users/aslakknutsen/followers","following_url":"https://api.github.com/users/aslakknutsen/following{/other_user}","gists_url":"https://api.github.com/users/aslakknutsen/gists{/gist_id}","starred_url":"https://api.github.com/users/aslakknutsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslakknutsen/subscriptions","organizations_url":"https://api.github.com/users/aslakknutsen/orgs","repos_url":"https://api.github.com/users/aslakknutsen/repos","events_url":"https://api.github.com/users/aslakknutsen/events{/privacy}","received_events_url":"https://api.github.com/users/aslakknutsen/received_events","type":"User","site_admin":false},"body":"TrackerLinks does not define a relationship object\r\n\r\nTrackerQueries would be a relationship","created_at":"2017-01-05T10:18:09Z","updated_at":"2017-01-05T10:33:55Z","html_url":"https://github.com/almighty/almighty-core/pull/626#discussion_r94743340","pull_request_url":"https://api.github.com/repos/almighty/almighty-core/pulls/626","_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments/94743340"},"html":{"href":"https://github.com/almighty/almighty-core/pull/626#discussion_r94743340"},"pull_request":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/626"}}},"pull_request":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/626","id":99407504,"html_url":"https://github.com/almighty/almighty-core/pull/626","diff_url":"https://github.com/almighty/almighty-core/pull/626.diff","patch_url":"https://github.com/almighty/almighty-core/pull/626.patch","issue_url":"https://api.github.com/repos/almighty/almighty-core/issues/626","number":626,"state":"open","locked":false,"title":"Making Create Tracker API jsonapi compatible.","user":{"login":"pranavgore09","id":2026565,"avatar_url":"https://avatars.githubusercontent.com/u/2026565?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavgore09","html_url":"https://github.com/pranavgore09","followers_url":"https://api.github.com/users/pranavgore09/followers","following_url":"https://api.github.com/users/pranavgore09/following{/other_user}","gists_url":"https://api.github.com/users/pranavgore09/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavgore09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavgore09/subscriptions","organizations_url":"https://api.github.com/users/pranavgore09/orgs","repos_url":"https://api.github.com/users/pranavgore09/repos","events_url":"https://api.github.com/users/pranavgore09/events{/privacy}","received_events_url":"https://api.github.com/users/pranavgore09/received_events","type":"User","site_admin":false},"body":"Fixes #468\r\n\r\nMoved tracker related design stuff to design/trackers.go\r\nMake Create API jsonapi compatible\r\nUpdate existing Test Cases to use new create payload.\r\n","created_at":"2016-12-27T05:41:58Z","updated_at":"2017-01-05T10:33:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d54264fee1cbbbfee656f066eaa2262de38c8637","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/almighty/almighty-core/pulls/626/commits","review_comments_url":"https://api.github.com/repos/almighty/almighty-core/pulls/626/comments","review_comment_url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/almighty/almighty-core/issues/626/comments","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/6313a53d7da6c898f2525273b78738c28edf97d8","head":{"label":"pranavgore09:iss-468","ref":"iss-468","sha":"6313a53d7da6c898f2525273b78738c28edf97d8","user":{"login":"pranavgore09","id":2026565,"avatar_url":"https://avatars.githubusercontent.com/u/2026565?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavgore09","html_url":"https://github.com/pranavgore09","followers_url":"https://api.github.com/users/pranavgore09/followers","following_url":"https://api.github.com/users/pranavgore09/following{/other_user}","gists_url":"https://api.github.com/users/pranavgore09/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavgore09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavgore09/subscriptions","organizations_url":"https://api.github.com/users/pranavgore09/orgs","repos_url":"https://api.github.com/users/pranavgore09/repos","events_url":"https://api.github.com/users/pranavgore09/events{/privacy}","received_events_url":"https://api.github.com/users/pranavgore09/received_events","type":"User","site_admin":false},"repo":{"id":64831426,"name":"almighty-core","full_name":"pranavgore09/almighty-core","owner":{"login":"pranavgore09","id":2026565,"avatar_url":"https://avatars.githubusercontent.com/u/2026565?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavgore09","html_url":"https://github.com/pranavgore09","followers_url":"https://api.github.com/users/pranavgore09/followers","following_url":"https://api.github.com/users/pranavgore09/following{/other_user}","gists_url":"https://api.github.com/users/pranavgore09/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavgore09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavgore09/subscriptions","organizations_url":"https://api.github.com/users/pranavgore09/orgs","repos_url":"https://api.github.com/users/pranavgore09/repos","events_url":"https://api.github.com/users/pranavgore09/events{/privacy}","received_events_url":"https://api.github.com/users/pranavgore09/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pranavgore09/almighty-core","description":null,"fork":true,"url":"https://api.github.com/repos/pranavgore09/almighty-core","forks_url":"https://api.github.com/repos/pranavgore09/almighty-core/forks","keys_url":"https://api.github.com/repos/pranavgore09/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pranavgore09/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pranavgore09/almighty-core/teams","hooks_url":"https://api.github.com/repos/pranavgore09/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/pranavgore09/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/pranavgore09/almighty-core/events","assignees_url":"https://api.github.com/repos/pranavgore09/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/pranavgore09/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/pranavgore09/almighty-core/tags","blobs_url":"https://api.github.com/repos/pranavgore09/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pranavgore09/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pranavgore09/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/pranavgore09/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pranavgore09/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/pranavgore09/almighty-core/languages","stargazers_url":"https://api.github.com/repos/pranavgore09/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/pranavgore09/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/pranavgore09/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/pranavgore09/almighty-core/subscription","commits_url":"https://api.github.com/repos/pranavgore09/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/pranavgore09/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/pranavgore09/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/pranavgore09/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/pranavgore09/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/pranavgore09/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pranavgore09/almighty-core/merges","archive_url":"https://api.github.com/repos/pranavgore09/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pranavgore09/almighty-core/downloads","issues_url":"https://api.github.com/repos/pranavgore09/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/pranavgore09/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/pranavgore09/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/pranavgore09/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pranavgore09/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/pranavgore09/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/pranavgore09/almighty-core/deployments","created_at":"2016-08-03T09:01:01Z","updated_at":"2016-08-03T09:01:02Z","pushed_at":"2017-01-04T11:35:59Z","git_url":"git://github.com/pranavgore09/almighty-core.git","ssh_url":"git@github.com:pranavgore09/almighty-core.git","clone_url":"https://github.com/pranavgore09/almighty-core.git","svn_url":"https://github.com/pranavgore09/almighty-core","homepage":null,"size":4904,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"almighty:master","ref":"master","sha":"be9de7feb782a00ae19b97fa2c1d1242571a130e","user":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"repo":{"id":54260706,"name":"almighty-core","full_name":"almighty/almighty-core","owner":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/almighty/almighty-core","description":null,"fork":false,"url":"https://api.github.com/repos/almighty/almighty-core","forks_url":"https://api.github.com/repos/almighty/almighty-core/forks","keys_url":"https://api.github.com/repos/almighty/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/almighty/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/almighty/almighty-core/teams","hooks_url":"https://api.github.com/repos/almighty/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/almighty/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/almighty/almighty-core/events","assignees_url":"https://api.github.com/repos/almighty/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/almighty/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/almighty/almighty-core/tags","blobs_url":"https://api.github.com/repos/almighty/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/almighty/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/almighty/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/almighty/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/almighty/almighty-core/languages","stargazers_url":"https://api.github.com/repos/almighty/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/almighty/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/almighty/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/almighty/almighty-core/subscription","commits_url":"https://api.github.com/repos/almighty/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/almighty/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/almighty/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/almighty/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/almighty/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/almighty/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/almighty/almighty-core/merges","archive_url":"https://api.github.com/repos/almighty/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/almighty/almighty-core/downloads","issues_url":"https://api.github.com/repos/almighty/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/almighty/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/almighty/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/almighty/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/almighty/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/almighty/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/almighty/almighty-core/deployments","created_at":"2016-03-19T10:42:15Z","updated_at":"2016-12-21T08:42:11Z","pushed_at":"2017-01-05T09:21:13Z","git_url":"git://github.com/almighty/almighty-core.git","ssh_url":"git@github.com:almighty/almighty-core.git","clone_url":"https://github.com/almighty/almighty-core.git","svn_url":"https://github.com/almighty/almighty-core","homepage":"http://devdoc.almighty.io/","size":5215,"stargazers_count":16,"watchers_count":16,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":187,"forks":36,"open_issues":187,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/626"},"html":{"href":"https://github.com/almighty/almighty-core/pull/626"},"issue":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/626"},"comments":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/626/comments"},"review_comments":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/626/comments"},"review_comment":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/626/commits"},"statuses":{"href":"https://api.github.com/repos/almighty/almighty-core/statuses/6313a53d7da6c898f2525273b78738c28edf97d8"}}}}
{"actor":{"display_login":"aslakknutsen"}}