{"action":"created","comment":{"url":"https://api.github.com/repos/opentrials/api/pulls/comments/77853216","id":77853216,"diff_hunk":"@@ -294,6 +294,23 @@ paths:\n           schema:\n             $ref: \"#/definitions/ErrorResponse\"\n \n+  /sources:\n+    x-swagger-router-controller: sources\n+    get:\n+      tags:\n+        - sources\n+      description: Returns list of sources\n+      operationId: list","path":"api/swagger/swagger.yaml","position":10,"original_position":10,"commit_id":"47397af9956a394d65893b646cf4dfe12fb6d2bc","original_commit_id":"47397af9956a394d65893b646cf4dfe12fb6d2bc","user":{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false},"body":"In the same time, swagger disagrees with reused `operationId`s and outputs red errors in the editor if it finds more of the same.\r\nIt also has a point in being able to identify the operations by ID if needed, hence the name. The main idea is, actually, that we should not reuse `operationId`s, as we're not reusing IDs in any of the other specifications we're using (databases, markup etc.)","created_at":"2016-09-07T16:04:22Z","updated_at":"2016-09-07T16:04:22Z","html_url":"https://github.com/opentrials/api/pull/81#discussion_r77853216","pull_request_url":"https://api.github.com/repos/opentrials/api/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/opentrials/api/pulls/comments/77853216"},"html":{"href":"https://github.com/opentrials/api/pull/81#discussion_r77853216"},"pull_request":{"href":"https://api.github.com/repos/opentrials/api/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/opentrials/api/pulls/81","id":84312335,"html_url":"https://github.com/opentrials/api/pull/81","diff_url":"https://github.com/opentrials/api/pull/81.diff","patch_url":"https://github.com/opentrials/api/pull/81.patch","issue_url":"https://api.github.com/repos/opentrials/api/issues/81","number":81,"state":"open","locked":false,"title":"[#281] Add \"url\" and \"terms_and_conditions_url\" to Source","user":{"login":"vitorbaptista","id":76945,"avatar_url":"https://avatars.githubusercontent.com/u/76945?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorbaptista","html_url":"https://github.com/vitorbaptista","followers_url":"https://api.github.com/users/vitorbaptista/followers","following_url":"https://api.github.com/users/vitorbaptista/following{/other_user}","gists_url":"https://api.github.com/users/vitorbaptista/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbaptista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbaptista/subscriptions","organizations_url":"https://api.github.com/users/vitorbaptista/orgs","repos_url":"https://api.github.com/users/vitorbaptista/repos","events_url":"https://api.github.com/users/vitorbaptista/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbaptista/received_events","type":"User","site_admin":false},"body":"opentrials/opentrials#281","created_at":"2016-09-07T14:37:38Z","updated_at":"2016-09-07T16:04:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea11be1cb0dcefde4a592fb5761406f2afd3e6d2","assignee":{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false},"assignees":[{"login":"nightsh","id":1579997,"avatar_url":"https://avatars.githubusercontent.com/u/1579997?v=3","gravatar_id":"","url":"https://api.github.com/users/nightsh","html_url":"https://github.com/nightsh","followers_url":"https://api.github.com/users/nightsh/followers","following_url":"https://api.github.com/users/nightsh/following{/other_user}","gists_url":"https://api.github.com/users/nightsh/gists{/gist_id}","starred_url":"https://api.github.com/users/nightsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightsh/subscriptions","organizations_url":"https://api.github.com/users/nightsh/orgs","repos_url":"https://api.github.com/users/nightsh/repos","events_url":"https://api.github.com/users/nightsh/events{/privacy}","received_events_url":"https://api.github.com/users/nightsh/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/opentrials/api/pulls/81/commits","review_comments_url":"https://api.github.com/repos/opentrials/api/pulls/81/comments","review_comment_url":"https://api.github.com/repos/opentrials/api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opentrials/api/issues/81/comments","statuses_url":"https://api.github.com/repos/opentrials/api/statuses/47397af9956a394d65893b646cf4dfe12fb6d2bc","head":{"label":"opentrials:add-sources-terms-and-conditions","ref":"add-sources-terms-and-conditions","sha":"47397af9956a394d65893b646cf4dfe12fb6d2bc","user":{"login":"opentrials","id":13900836,"avatar_url":"https://avatars.githubusercontent.com/u/13900836?v=3","gravatar_id":"","url":"https://api.github.com/users/opentrials","html_url":"https://github.com/opentrials","followers_url":"https://api.github.com/users/opentrials/followers","following_url":"https://api.github.com/users/opentrials/following{/other_user}","gists_url":"https://api.github.com/users/opentrials/gists{/gist_id}","starred_url":"https://api.github.com/users/opentrials/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentrials/subscriptions","organizations_url":"https://api.github.com/users/opentrials/orgs","repos_url":"https://api.github.com/users/opentrials/repos","events_url":"https://api.github.com/users/opentrials/events{/privacy}","received_events_url":"https://api.github.com/users/opentrials/received_events","type":"Organization","site_admin":false},"repo":{"id":50277110,"name":"api","full_name":"opentrials/api","owner":{"login":"opentrials","id":13900836,"avatar_url":"https://avatars.githubusercontent.com/u/13900836?v=3","gravatar_id":"","url":"https://api.github.com/users/opentrials","html_url":"https://github.com/opentrials","followers_url":"https://api.github.com/users/opentrials/followers","following_url":"https://api.github.com/users/opentrials/following{/other_user}","gists_url":"https://api.github.com/users/opentrials/gists{/gist_id}","starred_url":"https://api.github.com/users/opentrials/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentrials/subscriptions","organizations_url":"https://api.github.com/users/opentrials/orgs","repos_url":"https://api.github.com/users/opentrials/repos","events_url":"https://api.github.com/users/opentrials/events{/privacy}","received_events_url":"https://api.github.com/users/opentrials/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opentrials/api","description":"The OpenTrials API service + database schema definition.","fork":false,"url":"https://api.github.com/repos/opentrials/api","forks_url":"https://api.github.com/repos/opentrials/api/forks","keys_url":"https://api.github.com/repos/opentrials/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opentrials/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opentrials/api/teams","hooks_url":"https://api.github.com/repos/opentrials/api/hooks","issue_events_url":"https://api.github.com/repos/opentrials/api/issues/events{/number}","events_url":"https://api.github.com/repos/opentrials/api/events","assignees_url":"https://api.github.com/repos/opentrials/api/assignees{/user}","branches_url":"https://api.github.com/repos/opentrials/api/branches{/branch}","tags_url":"https://api.github.com/repos/opentrials/api/tags","blobs_url":"https://api.github.com/repos/opentrials/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opentrials/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opentrials/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/opentrials/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opentrials/api/statuses/{sha}","languages_url":"https://api.github.com/repos/opentrials/api/languages","stargazers_url":"https://api.github.com/repos/opentrials/api/stargazers","contributors_url":"https://api.github.com/repos/opentrials/api/contributors","subscribers_url":"https://api.github.com/repos/opentrials/api/subscribers","subscription_url":"https://api.github.com/repos/opentrials/api/subscription","commits_url":"https://api.github.com/repos/opentrials/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/opentrials/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/opentrials/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/opentrials/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/opentrials/api/contents/{+path}","compare_url":"https://api.github.com/repos/opentrials/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opentrials/api/merges","archive_url":"https://api.github.com/repos/opentrials/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opentrials/api/downloads","issues_url":"https://api.github.com/repos/opentrials/api/issues{/number}","pulls_url":"https://api.github.com/repos/opentrials/api/pulls{/number}","milestones_url":"https://api.github.com/repos/opentrials/api/milestones{/number}","notifications_url":"https://api.github.com/repos/opentrials/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opentrials/api/labels{/name}","releases_url":"https://api.github.com/repos/opentrials/api/releases{/id}","deployments_url":"https://api.github.com/repos/opentrials/api/deployments","created_at":"2016-01-24T07:24:21Z","updated_at":"2016-06-28T21:24:22Z","pushed_at":"2016-09-07T14:37:38Z","git_url":"git://github.com/opentrials/api.git","ssh_url":"git@github.com:opentrials/api.git","clone_url":"https://github.com/opentrials/api.git","svn_url":"https://github.com/opentrials/api","homepage":"http://api.opentrials.net/","size":2767,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"opentrials:master","ref":"master","sha":"cbb02bfdb3f3437f9a0520da74c107255464521e","user":{"login":"opentrials","id":13900836,"avatar_url":"https://avatars.githubusercontent.com/u/13900836?v=3","gravatar_id":"","url":"https://api.github.com/users/opentrials","html_url":"https://github.com/opentrials","followers_url":"https://api.github.com/users/opentrials/followers","following_url":"https://api.github.com/users/opentrials/following{/other_user}","gists_url":"https://api.github.com/users/opentrials/gists{/gist_id}","starred_url":"https://api.github.com/users/opentrials/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentrials/subscriptions","organizations_url":"https://api.github.com/users/opentrials/orgs","repos_url":"https://api.github.com/users/opentrials/repos","events_url":"https://api.github.com/users/opentrials/events{/privacy}","received_events_url":"https://api.github.com/users/opentrials/received_events","type":"Organization","site_admin":false},"repo":{"id":50277110,"name":"api","full_name":"opentrials/api","owner":{"login":"opentrials","id":13900836,"avatar_url":"https://avatars.githubusercontent.com/u/13900836?v=3","gravatar_id":"","url":"https://api.github.com/users/opentrials","html_url":"https://github.com/opentrials","followers_url":"https://api.github.com/users/opentrials/followers","following_url":"https://api.github.com/users/opentrials/following{/other_user}","gists_url":"https://api.github.com/users/opentrials/gists{/gist_id}","starred_url":"https://api.github.com/users/opentrials/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentrials/subscriptions","organizations_url":"https://api.github.com/users/opentrials/orgs","repos_url":"https://api.github.com/users/opentrials/repos","events_url":"https://api.github.com/users/opentrials/events{/privacy}","received_events_url":"https://api.github.com/users/opentrials/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opentrials/api","description":"The OpenTrials API service + database schema definition.","fork":false,"url":"https://api.github.com/repos/opentrials/api","forks_url":"https://api.github.com/repos/opentrials/api/forks","keys_url":"https://api.github.com/repos/opentrials/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opentrials/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opentrials/api/teams","hooks_url":"https://api.github.com/repos/opentrials/api/hooks","issue_events_url":"https://api.github.com/repos/opentrials/api/issues/events{/number}","events_url":"https://api.github.com/repos/opentrials/api/events","assignees_url":"https://api.github.com/repos/opentrials/api/assignees{/user}","branches_url":"https://api.github.com/repos/opentrials/api/branches{/branch}","tags_url":"https://api.github.com/repos/opentrials/api/tags","blobs_url":"https://api.github.com/repos/opentrials/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opentrials/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opentrials/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/opentrials/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opentrials/api/statuses/{sha}","languages_url":"https://api.github.com/repos/opentrials/api/languages","stargazers_url":"https://api.github.com/repos/opentrials/api/stargazers","contributors_url":"https://api.github.com/repos/opentrials/api/contributors","subscribers_url":"https://api.github.com/repos/opentrials/api/subscribers","subscription_url":"https://api.github.com/repos/opentrials/api/subscription","commits_url":"https://api.github.com/repos/opentrials/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/opentrials/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/opentrials/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/opentrials/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/opentrials/api/contents/{+path}","compare_url":"https://api.github.com/repos/opentrials/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opentrials/api/merges","archive_url":"https://api.github.com/repos/opentrials/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opentrials/api/downloads","issues_url":"https://api.github.com/repos/opentrials/api/issues{/number}","pulls_url":"https://api.github.com/repos/opentrials/api/pulls{/number}","milestones_url":"https://api.github.com/repos/opentrials/api/milestones{/number}","notifications_url":"https://api.github.com/repos/opentrials/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opentrials/api/labels{/name}","releases_url":"https://api.github.com/repos/opentrials/api/releases{/id}","deployments_url":"https://api.github.com/repos/opentrials/api/deployments","created_at":"2016-01-24T07:24:21Z","updated_at":"2016-06-28T21:24:22Z","pushed_at":"2016-09-07T14:37:38Z","git_url":"git://github.com/opentrials/api.git","ssh_url":"git@github.com:opentrials/api.git","clone_url":"https://github.com/opentrials/api.git","svn_url":"https://github.com/opentrials/api","homepage":"http://api.opentrials.net/","size":2767,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opentrials/api/pulls/81"},"html":{"href":"https://github.com/opentrials/api/pull/81"},"issue":{"href":"https://api.github.com/repos/opentrials/api/issues/81"},"comments":{"href":"https://api.github.com/repos/opentrials/api/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/opentrials/api/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/opentrials/api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opentrials/api/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/opentrials/api/statuses/47397af9956a394d65893b646cf4dfe12fb6d2bc"}}}}
{"actor":{"display_login":"nightsh"}}