{"action":"created","comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/86877774","pull_request_review_id":7512812,"id":86877774,"diff_hunk":"@@ -94,6 +94,7 @@\n     ScreenPlateLinkI, AnnotationAnnotationLinkI, TagAnnotationI\n from omero import ApiUsageException, ServerError, CmdError\n from omero.rtypes import rlong, rlist\n+from omeroweb.api.views import LoginView","path":"components/tools/OmeroWeb/omeroweb/webclient/views.py","position":4,"original_position":4,"commit_id":"d4bca4721c0b3b90019f3a59323f0b939a1338bc","original_commit_id":"d4bca4721c0b3b90019f3a59323f0b939a1338bc","user":{"login":"chris-allan","id":487082,"avatar_url":"https://avatars.githubusercontent.com/u/487082?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-allan","html_url":"https://github.com/chris-allan","followers_url":"https://api.github.com/users/chris-allan/followers","following_url":"https://api.github.com/users/chris-allan/following{/other_user}","gists_url":"https://api.github.com/users/chris-allan/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-allan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-allan/subscriptions","organizations_url":"https://api.github.com/users/chris-allan/orgs","repos_url":"https://api.github.com/users/chris-allan/repos","events_url":"https://api.github.com/users/chris-allan/events{/privacy}","received_events_url":"https://api.github.com/users/chris-allan/received_events","type":"User","site_admin":false},"body":"The base class should be left in the webgateway. Having interdependence between the `api` and `webclient` application seems like a bad idea. Especially if we decide to move the `api` application into its own repository.","created_at":"2016-11-07T21:51:48Z","updated_at":"2016-11-07T21:52:19Z","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4920#discussion_r86877774","pull_request_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920","_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/86877774"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4920#discussion_r86877774"},"pull_request":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920"}}},"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920","id":91973882,"html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4920","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4920.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4920.patch","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4920","number":4920,"state":"open","locked":false,"title":"web api app","user":{"login":"will-moore","id":900055,"avatar_url":"https://avatars.githubusercontent.com/u/900055?v=3","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"body":"# What this PR does\r\n\r\nMoves the new ```/api/``` urls and functionality from #4708 to a new ```api``` app.\r\n\r\nAll the tests in ```OmeroWeb/test/integration/test_api_login.py```, ```test_api_projects.py``` and ```test_api_errors.py``` remain unchanged and should still be green.\r\n\r\nMost changes are to fix pep8 warnings (since I now have them \"ON\" by default in SublimeText 3) including LoginRequired and JsonResponseHandler for class-based decorator names. I could revert these if preferred.\r\n","created_at":"2016-11-02T13:55:57Z","updated_at":"2016-11-07T21:52:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04a644d7b42f88d861542e5f06ea5f065966ef89","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4920/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/d4bca4721c0b3b90019f3a59323f0b939a1338bc","head":{"label":"will-moore:web_api_app","ref":"web_api_app","sha":"d4bca4721c0b3b90019f3a59323f0b939a1338bc","user":{"login":"will-moore","id":900055,"avatar_url":"https://avatars.githubusercontent.com/u/900055?v=3","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"repo":{"id":2423057,"name":"openmicroscopy","full_name":"will-moore/openmicroscopy","owner":{"login":"will-moore","id":900055,"avatar_url":"https://avatars.githubusercontent.com/u/900055?v=3","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/will-moore/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":true,"url":"https://api.github.com/repos/will-moore/openmicroscopy","forks_url":"https://api.github.com/repos/will-moore/openmicroscopy/forks","keys_url":"https://api.github.com/repos/will-moore/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/will-moore/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/will-moore/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/will-moore/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/will-moore/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/will-moore/openmicroscopy/events","assignees_url":"https://api.github.com/repos/will-moore/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/will-moore/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/will-moore/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/will-moore/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/will-moore/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/will-moore/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/will-moore/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/will-moore/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/will-moore/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/will-moore/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/will-moore/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/will-moore/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/will-moore/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/will-moore/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/will-moore/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/will-moore/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/will-moore/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/will-moore/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/will-moore/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/will-moore/openmicroscopy/merges","archive_url":"https://api.github.com/repos/will-moore/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/will-moore/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/will-moore/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/will-moore/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/will-moore/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/will-moore/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/will-moore/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/will-moore/openmicroscopy/releases{/id}","deployments_url":"https://api.github.com/repos/will-moore/openmicroscopy/deployments","created_at":"2011-09-20T14:52:46Z","updated_at":"2014-08-05T08:53:49Z","pushed_at":"2016-11-07T16:17:42Z","git_url":"git://github.com/will-moore/openmicroscopy.git","ssh_url":"git@github.com:will-moore/openmicroscopy.git","clone_url":"https://github.com/will-moore/openmicroscopy.git","svn_url":"https://github.com/will-moore/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2082346,"stargazers_count":2,"watchers_count":2,"language":"Java","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":2,"default_branch":"develop"}},"base":{"label":"openmicroscopy:develop","ref":"develop","sha":"1cdf75066c02d3e55e48d3ee98233d11fb6c9a06","user":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"repo":{"id":2228226,"name":"openmicroscopy","full_name":"openmicroscopy/openmicroscopy","owner":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmicroscopy/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":false,"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy","forks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/forks","keys_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/events","assignees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/merges","archive_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/releases{/id}","deployments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/deployments","created_at":"2011-08-18T14:26:02Z","updated_at":"2016-11-07T21:29:38Z","pushed_at":"2016-11-07T16:17:43Z","git_url":"git://github.com/openmicroscopy/openmicroscopy.git","ssh_url":"git@github.com:openmicroscopy/openmicroscopy.git","clone_url":"https://github.com/openmicroscopy/openmicroscopy.git","svn_url":"https://github.com/openmicroscopy/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2123700,"stargazers_count":89,"watchers_count":89,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":27,"forks":77,"open_issues":27,"watchers":89,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4920"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4920"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4920/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4920/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/d4bca4721c0b3b90019f3a59323f0b939a1338bc"}}}}
{"actor":{"display_login":"chris-allan"}}