{"action":"created","comment":{"url":"https://api.github.com/repos/muccg/rdrf/pulls/comments/62047398","id":62047398,"diff_hunk":"@@ -0,0 +1,23 @@\n+from django.conf.urls import patterns, url, include\n+from rest_framework.routers import DefaultRouter\n+from rdrf import api_views\n+from rdrf.custom_rest_router import DefaultRouterWithSimpleViews\n+\n+router = DefaultRouterWithSimpleViews()\n+router.register(r'registries', api_views.RegistryList, base_name='registry')\n+router.register(r'users', api_views.CustomUserViewSet)\n+router.register(r'workinggroups', api_views.WorkingGroupViewSet)\n+router.register(r'countries', api_views.ListCountries, base_name='country')\n+router.register(r'genes', api_views.LookupGenes, base_name='gene')\n+router.register(r'laboratories', api_views.LookupLaboratories, base_name='laboratory')\n+router.register(r'registries/(?P<registry_code>\\w+)/indexes', api_views.LookupIndex, base_name='index')\n+router.register(r'registries/(?P<registry_code>\\w+)/clinitians', api_views.ListClinitians, base_name='clinitian')","path":"rdrf/rdrf/api_urls.py","position":14,"original_position":14,"commit_id":"96a5cc5a3c53e96a988a25811ba0ed7f7aa8191d","original_commit_id":"96a5cc5a3c53e96a988a25811ba0ed7f7aa8191d","user":{"login":"rvl","id":1019641,"avatar_url":"https://avatars.githubusercontent.com/u/1019641?v=3","gravatar_id":"","url":"https://api.github.com/users/rvl","html_url":"https://github.com/rvl","followers_url":"https://api.github.com/users/rvl/followers","following_url":"https://api.github.com/users/rvl/following{/other_user}","gists_url":"https://api.github.com/users/rvl/gists{/gist_id}","starred_url":"https://api.github.com/users/rvl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvl/subscriptions","organizations_url":"https://api.github.com/users/rvl/orgs","repos_url":"https://api.github.com/users/rvl/repos","events_url":"https://api.github.com/users/rvl/events{/privacy}","received_events_url":"https://api.github.com/users/rvl/received_events","type":"User","site_admin":false},"body":"The spelling is *clinician* isn't it? Also the plural of index is indices.","created_at":"2016-05-04T14:24:13Z","updated_at":"2016-05-04T14:24:13Z","html_url":"https://github.com/muccg/rdrf/pull/1#discussion_r62047398","pull_request_url":"https://api.github.com/repos/muccg/rdrf/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/muccg/rdrf/pulls/comments/62047398"},"html":{"href":"https://github.com/muccg/rdrf/pull/1#discussion_r62047398"},"pull_request":{"href":"https://api.github.com/repos/muccg/rdrf/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/muccg/rdrf/pulls/1","id":67181401,"html_url":"https://github.com/muccg/rdrf/pull/1","diff_url":"https://github.com/muccg/rdrf/pull/1.diff","patch_url":"https://github.com/muccg/rdrf/pull/1.patch","issue_url":"https://api.github.com/repos/muccg/rdrf/issues/1","number":1,"state":"open","locked":false,"title":"Rest api","user":{"login":"sztamas","id":973139,"avatar_url":"https://avatars.githubusercontent.com/u/973139?v=3","gravatar_id":"","url":"https://api.github.com/users/sztamas","html_url":"https://github.com/sztamas","followers_url":"https://api.github.com/users/sztamas/followers","following_url":"https://api.github.com/users/sztamas/following{/other_user}","gists_url":"https://api.github.com/users/sztamas/gists{/gist_id}","starred_url":"https://api.github.com/users/sztamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztamas/subscriptions","organizations_url":"https://api.github.com/users/sztamas/orgs","repos_url":"https://api.github.com/users/sztamas/repos","events_url":"https://api.github.com/users/sztamas/events{/privacy}","received_events_url":"https://api.github.com/users/sztamas/received_events","type":"User","site_admin":false},"body":"@id2359 @mradochonski can you please have a look/review my changes?\r\nIt might be also useful for you guys to check out the rest_api branch and then just start exploring from /api/v1/.\r\n\r\nYou will see the endpoints in there + I made some extra effort to make the API more browsable. For example you go to registries, you will have patients_url and clinitian_url which are endpoint for patients/clinitians in a given registry.\r\n\r\nI'm also open to meet over video conference. Maybe that will be the easiest for me to take you through the changes I've made, you ask questions, make suggestions etc.\r\n\r\nThanks,\r\n\r\nTamas\r\n\r\n","created_at":"2016-04-20T12:55:07Z","updated_at":"2016-05-04T14:24:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5591d0773f6279f90f2c2b51adfbfc7421d94796","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/muccg/rdrf/pulls/1/commits","review_comments_url":"https://api.github.com/repos/muccg/rdrf/pulls/1/comments","review_comment_url":"https://api.github.com/repos/muccg/rdrf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/muccg/rdrf/issues/1/comments","statuses_url":"https://api.github.com/repos/muccg/rdrf/statuses/96a5cc5a3c53e96a988a25811ba0ed7f7aa8191d","head":{"label":"muccg:rest_api","ref":"rest_api","sha":"96a5cc5a3c53e96a988a25811ba0ed7f7aa8191d","user":{"login":"muccg","id":2595123,"avatar_url":"https://avatars.githubusercontent.com/u/2595123?v=3","gravatar_id":"","url":"https://api.github.com/users/muccg","html_url":"https://github.com/muccg","followers_url":"https://api.github.com/users/muccg/followers","following_url":"https://api.github.com/users/muccg/following{/other_user}","gists_url":"https://api.github.com/users/muccg/gists{/gist_id}","starred_url":"https://api.github.com/users/muccg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muccg/subscriptions","organizations_url":"https://api.github.com/users/muccg/orgs","repos_url":"https://api.github.com/users/muccg/repos","events_url":"https://api.github.com/users/muccg/events{/privacy}","received_events_url":"https://api.github.com/users/muccg/received_events","type":"Organization","site_admin":false},"repo":{"id":48199721,"name":"rdrf","full_name":"muccg/rdrf","owner":{"login":"muccg","id":2595123,"avatar_url":"https://avatars.githubusercontent.com/u/2595123?v=3","gravatar_id":"","url":"https://api.github.com/users/muccg","html_url":"https://github.com/muccg","followers_url":"https://api.github.com/users/muccg/followers","following_url":"https://api.github.com/users/muccg/following{/other_user}","gists_url":"https://api.github.com/users/muccg/gists{/gist_id}","starred_url":"https://api.github.com/users/muccg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muccg/subscriptions","organizations_url":"https://api.github.com/users/muccg/orgs","repos_url":"https://api.github.com/users/muccg/repos","events_url":"https://api.github.com/users/muccg/events{/privacy}","received_events_url":"https://api.github.com/users/muccg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/muccg/rdrf","description":"The Rare Disease Registry Framework (RDRF) is an open source tool for the creation of web-based patient registries.","fork":false,"url":"https://api.github.com/repos/muccg/rdrf","forks_url":"https://api.github.com/repos/muccg/rdrf/forks","keys_url":"https://api.github.com/repos/muccg/rdrf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muccg/rdrf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muccg/rdrf/teams","hooks_url":"https://api.github.com/repos/muccg/rdrf/hooks","issue_events_url":"https://api.github.com/repos/muccg/rdrf/issues/events{/number}","events_url":"https://api.github.com/repos/muccg/rdrf/events","assignees_url":"https://api.github.com/repos/muccg/rdrf/assignees{/user}","branches_url":"https://api.github.com/repos/muccg/rdrf/branches{/branch}","tags_url":"https://api.github.com/repos/muccg/rdrf/tags","blobs_url":"https://api.github.com/repos/muccg/rdrf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muccg/rdrf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muccg/rdrf/git/refs{/sha}","trees_url":"https://api.github.com/repos/muccg/rdrf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muccg/rdrf/statuses/{sha}","languages_url":"https://api.github.com/repos/muccg/rdrf/languages","stargazers_url":"https://api.github.com/repos/muccg/rdrf/stargazers","contributors_url":"https://api.github.com/repos/muccg/rdrf/contributors","subscribers_url":"https://api.github.com/repos/muccg/rdrf/subscribers","subscription_url":"https://api.github.com/repos/muccg/rdrf/subscription","commits_url":"https://api.github.com/repos/muccg/rdrf/commits{/sha}","git_commits_url":"https://api.github.com/repos/muccg/rdrf/git/commits{/sha}","comments_url":"https://api.github.com/repos/muccg/rdrf/comments{/number}","issue_comment_url":"https://api.github.com/repos/muccg/rdrf/issues/comments{/number}","contents_url":"https://api.github.com/repos/muccg/rdrf/contents/{+path}","compare_url":"https://api.github.com/repos/muccg/rdrf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muccg/rdrf/merges","archive_url":"https://api.github.com/repos/muccg/rdrf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muccg/rdrf/downloads","issues_url":"https://api.github.com/repos/muccg/rdrf/issues{/number}","pulls_url":"https://api.github.com/repos/muccg/rdrf/pulls{/number}","milestones_url":"https://api.github.com/repos/muccg/rdrf/milestones{/number}","notifications_url":"https://api.github.com/repos/muccg/rdrf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muccg/rdrf/labels{/name}","releases_url":"https://api.github.com/repos/muccg/rdrf/releases{/id}","deployments_url":"https://api.github.com/repos/muccg/rdrf/deployments","created_at":"2015-12-17T21:41:17Z","updated_at":"2016-03-12T11:12:52Z","pushed_at":"2016-05-04T09:04:01Z","git_url":"git://github.com/muccg/rdrf.git","ssh_url":"git@github.com:muccg/rdrf.git","clone_url":"https://github.com/muccg/rdrf.git","svn_url":"https://github.com/muccg/rdrf","homepage":null,"size":29731,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"next_release"}},"base":{"label":"muccg:next_release","ref":"next_release","sha":"edd5b0fc386ee626baef6c047fd3c0ce73716957","user":{"login":"muccg","id":2595123,"avatar_url":"https://avatars.githubusercontent.com/u/2595123?v=3","gravatar_id":"","url":"https://api.github.com/users/muccg","html_url":"https://github.com/muccg","followers_url":"https://api.github.com/users/muccg/followers","following_url":"https://api.github.com/users/muccg/following{/other_user}","gists_url":"https://api.github.com/users/muccg/gists{/gist_id}","starred_url":"https://api.github.com/users/muccg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muccg/subscriptions","organizations_url":"https://api.github.com/users/muccg/orgs","repos_url":"https://api.github.com/users/muccg/repos","events_url":"https://api.github.com/users/muccg/events{/privacy}","received_events_url":"https://api.github.com/users/muccg/received_events","type":"Organization","site_admin":false},"repo":{"id":48199721,"name":"rdrf","full_name":"muccg/rdrf","owner":{"login":"muccg","id":2595123,"avatar_url":"https://avatars.githubusercontent.com/u/2595123?v=3","gravatar_id":"","url":"https://api.github.com/users/muccg","html_url":"https://github.com/muccg","followers_url":"https://api.github.com/users/muccg/followers","following_url":"https://api.github.com/users/muccg/following{/other_user}","gists_url":"https://api.github.com/users/muccg/gists{/gist_id}","starred_url":"https://api.github.com/users/muccg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muccg/subscriptions","organizations_url":"https://api.github.com/users/muccg/orgs","repos_url":"https://api.github.com/users/muccg/repos","events_url":"https://api.github.com/users/muccg/events{/privacy}","received_events_url":"https://api.github.com/users/muccg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/muccg/rdrf","description":"The Rare Disease Registry Framework (RDRF) is an open source tool for the creation of web-based patient registries.","fork":false,"url":"https://api.github.com/repos/muccg/rdrf","forks_url":"https://api.github.com/repos/muccg/rdrf/forks","keys_url":"https://api.github.com/repos/muccg/rdrf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muccg/rdrf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muccg/rdrf/teams","hooks_url":"https://api.github.com/repos/muccg/rdrf/hooks","issue_events_url":"https://api.github.com/repos/muccg/rdrf/issues/events{/number}","events_url":"https://api.github.com/repos/muccg/rdrf/events","assignees_url":"https://api.github.com/repos/muccg/rdrf/assignees{/user}","branches_url":"https://api.github.com/repos/muccg/rdrf/branches{/branch}","tags_url":"https://api.github.com/repos/muccg/rdrf/tags","blobs_url":"https://api.github.com/repos/muccg/rdrf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muccg/rdrf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muccg/rdrf/git/refs{/sha}","trees_url":"https://api.github.com/repos/muccg/rdrf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muccg/rdrf/statuses/{sha}","languages_url":"https://api.github.com/repos/muccg/rdrf/languages","stargazers_url":"https://api.github.com/repos/muccg/rdrf/stargazers","contributors_url":"https://api.github.com/repos/muccg/rdrf/contributors","subscribers_url":"https://api.github.com/repos/muccg/rdrf/subscribers","subscription_url":"https://api.github.com/repos/muccg/rdrf/subscription","commits_url":"https://api.github.com/repos/muccg/rdrf/commits{/sha}","git_commits_url":"https://api.github.com/repos/muccg/rdrf/git/commits{/sha}","comments_url":"https://api.github.com/repos/muccg/rdrf/comments{/number}","issue_comment_url":"https://api.github.com/repos/muccg/rdrf/issues/comments{/number}","contents_url":"https://api.github.com/repos/muccg/rdrf/contents/{+path}","compare_url":"https://api.github.com/repos/muccg/rdrf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muccg/rdrf/merges","archive_url":"https://api.github.com/repos/muccg/rdrf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muccg/rdrf/downloads","issues_url":"https://api.github.com/repos/muccg/rdrf/issues{/number}","pulls_url":"https://api.github.com/repos/muccg/rdrf/pulls{/number}","milestones_url":"https://api.github.com/repos/muccg/rdrf/milestones{/number}","notifications_url":"https://api.github.com/repos/muccg/rdrf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muccg/rdrf/labels{/name}","releases_url":"https://api.github.com/repos/muccg/rdrf/releases{/id}","deployments_url":"https://api.github.com/repos/muccg/rdrf/deployments","created_at":"2015-12-17T21:41:17Z","updated_at":"2016-03-12T11:12:52Z","pushed_at":"2016-05-04T09:04:01Z","git_url":"git://github.com/muccg/rdrf.git","ssh_url":"git@github.com:muccg/rdrf.git","clone_url":"https://github.com/muccg/rdrf.git","svn_url":"https://github.com/muccg/rdrf","homepage":null,"size":29731,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"next_release"}},"_links":{"self":{"href":"https://api.github.com/repos/muccg/rdrf/pulls/1"},"html":{"href":"https://github.com/muccg/rdrf/pull/1"},"issue":{"href":"https://api.github.com/repos/muccg/rdrf/issues/1"},"comments":{"href":"https://api.github.com/repos/muccg/rdrf/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/muccg/rdrf/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/muccg/rdrf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/muccg/rdrf/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/muccg/rdrf/statuses/96a5cc5a3c53e96a988a25811ba0ed7f7aa8191d"}}}}