{"action":"created","comment":{"url":"https://api.github.com/repos/spbgti/it-workshop/pulls/comments/140641430","pull_request_review_id":64747409,"id":140641430,"diff_hunk":"@@ -0,0 +1,44 @@\n+from flask import request, current_app\n+from flask_restful import Resource, abort\n+\n+from workshop.database import db\n+from workshop.models.user import User\n+\n+\n+class UsersListApi(Resource):\n+    \"\"\"\n+    API Resource class for User entity\n+    \"\"\"\n+    def get(self):\n+        query = User.query.all()\n+        return {\n+                'status': 'OK',\n+                'users': [i.serialized for i in query]","path":"workshop/resources/users.py","position":16,"original_position":16,"commit_id":"b58fc884b2ddd1332f90e57f04a418d3516798ef","original_commit_id":"b58fc884b2ddd1332f90e57f04a418d3516798ef","user":{"login":"b0g3r","id":19777948,"avatar_url":"https://avatars3.githubusercontent.com/u/19777948?v=4","gravatar_id":"","url":"https://api.github.com/users/b0g3r","html_url":"https://github.com/b0g3r","followers_url":"https://api.github.com/users/b0g3r/followers","following_url":"https://api.github.com/users/b0g3r/following{/other_user}","gists_url":"https://api.github.com/users/b0g3r/gists{/gist_id}","starred_url":"https://api.github.com/users/b0g3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b0g3r/subscriptions","organizations_url":"https://api.github.com/users/b0g3r/orgs","repos_url":"https://api.github.com/users/b0g3r/repos","events_url":"https://api.github.com/users/b0g3r/events{/privacy}","received_events_url":"https://api.github.com/users/b0g3r/received_events","type":"User","site_admin":false},"body":"не `i`, лучше хотя бы `u`","created_at":"2017-09-23T20:49:28Z","updated_at":"2017-09-23T20:50:43Z","html_url":"https://github.com/spbgti/it-workshop/pull/9#discussion_r140641430","pull_request_url":"https://api.github.com/repos/spbgti/it-workshop/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/spbgti/it-workshop/pulls/comments/140641430"},"html":{"href":"https://github.com/spbgti/it-workshop/pull/9#discussion_r140641430"},"pull_request":{"href":"https://api.github.com/repos/spbgti/it-workshop/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/spbgti/it-workshop/pulls/9","id":142725910,"html_url":"https://github.com/spbgti/it-workshop/pull/9","diff_url":"https://github.com/spbgti/it-workshop/pull/9.diff","patch_url":"https://github.com/spbgti/it-workshop/pull/9.patch","issue_url":"https://api.github.com/repos/spbgti/it-workshop/issues/9","number":9,"state":"open","locked":false,"title":"Fixes #3. Implemented basic REST functions (Create/Read)","user":{"login":"ishmuro","id":7119351,"avatar_url":"https://avatars0.githubusercontent.com/u/7119351?v=4","gravatar_id":"","url":"https://api.github.com/users/ishmuro","html_url":"https://github.com/ishmuro","followers_url":"https://api.github.com/users/ishmuro/followers","following_url":"https://api.github.com/users/ishmuro/following{/other_user}","gists_url":"https://api.github.com/users/ishmuro/gists{/gist_id}","starred_url":"https://api.github.com/users/ishmuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishmuro/subscriptions","organizations_url":"https://api.github.com/users/ishmuro/orgs","repos_url":"https://api.github.com/users/ishmuro/repos","events_url":"https://api.github.com/users/ishmuro/events{/privacy}","received_events_url":"https://api.github.com/users/ishmuro/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-23T19:14:28Z","updated_at":"2017-09-23T20:50:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77ba2e8ad46012d154da28ce6656177c03feed5c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/spbgti/it-workshop/milestones/1","html_url":"https://github.com/spbgti/it-workshop/milestone/1","labels_url":"https://api.github.com/repos/spbgti/it-workshop/milestones/1/labels","id":2712609,"number":1,"title":"0.1","description":"Базовые модели. Базовое рест-апи","creator":{"login":"b0g3r","id":19777948,"avatar_url":"https://avatars3.githubusercontent.com/u/19777948?v=4","gravatar_id":"","url":"https://api.github.com/users/b0g3r","html_url":"https://github.com/b0g3r","followers_url":"https://api.github.com/users/b0g3r/followers","following_url":"https://api.github.com/users/b0g3r/following{/other_user}","gists_url":"https://api.github.com/users/b0g3r/gists{/gist_id}","starred_url":"https://api.github.com/users/b0g3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b0g3r/subscriptions","organizations_url":"https://api.github.com/users/b0g3r/orgs","repos_url":"https://api.github.com/users/b0g3r/repos","events_url":"https://api.github.com/users/b0g3r/events{/privacy}","received_events_url":"https://api.github.com/users/b0g3r/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2017-08-21T08:06:17Z","updated_at":"2017-09-23T19:14:28Z","due_on":"2017-09-04T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/spbgti/it-workshop/pulls/9/commits","review_comments_url":"https://api.github.com/repos/spbgti/it-workshop/pulls/9/comments","review_comment_url":"https://api.github.com/repos/spbgti/it-workshop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spbgti/it-workshop/issues/9/comments","statuses_url":"https://api.github.com/repos/spbgti/it-workshop/statuses/b58fc884b2ddd1332f90e57f04a418d3516798ef","head":{"label":"spbgti:issue3","ref":"issue3","sha":"b58fc884b2ddd1332f90e57f04a418d3516798ef","user":{"login":"spbgti","id":15635987,"avatar_url":"https://avatars1.githubusercontent.com/u/15635987?v=4","gravatar_id":"","url":"https://api.github.com/users/spbgti","html_url":"https://github.com/spbgti","followers_url":"https://api.github.com/users/spbgti/followers","following_url":"https://api.github.com/users/spbgti/following{/other_user}","gists_url":"https://api.github.com/users/spbgti/gists{/gist_id}","starred_url":"https://api.github.com/users/spbgti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbgti/subscriptions","organizations_url":"https://api.github.com/users/spbgti/orgs","repos_url":"https://api.github.com/users/spbgti/repos","events_url":"https://api.github.com/users/spbgti/events{/privacy}","received_events_url":"https://api.github.com/users/spbgti/received_events","type":"Organization","site_admin":false},"repo":{"id":100879182,"name":"it-workshop","full_name":"spbgti/it-workshop","owner":{"login":"spbgti","id":15635987,"avatar_url":"https://avatars1.githubusercontent.com/u/15635987?v=4","gravatar_id":"","url":"https://api.github.com/users/spbgti","html_url":"https://github.com/spbgti","followers_url":"https://api.github.com/users/spbgti/followers","following_url":"https://api.github.com/users/spbgti/following{/other_user}","gists_url":"https://api.github.com/users/spbgti/gists{/gist_id}","starred_url":"https://api.github.com/users/spbgti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbgti/subscriptions","organizations_url":"https://api.github.com/users/spbgti/orgs","repos_url":"https://api.github.com/users/spbgti/repos","events_url":"https://api.github.com/users/spbgti/events{/privacy}","received_events_url":"https://api.github.com/users/spbgti/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spbgti/it-workshop","description":null,"fork":false,"url":"https://api.github.com/repos/spbgti/it-workshop","forks_url":"https://api.github.com/repos/spbgti/it-workshop/forks","keys_url":"https://api.github.com/repos/spbgti/it-workshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spbgti/it-workshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spbgti/it-workshop/teams","hooks_url":"https://api.github.com/repos/spbgti/it-workshop/hooks","issue_events_url":"https://api.github.com/repos/spbgti/it-workshop/issues/events{/number}","events_url":"https://api.github.com/repos/spbgti/it-workshop/events","assignees_url":"https://api.github.com/repos/spbgti/it-workshop/assignees{/user}","branches_url":"https://api.github.com/repos/spbgti/it-workshop/branches{/branch}","tags_url":"https://api.github.com/repos/spbgti/it-workshop/tags","blobs_url":"https://api.github.com/repos/spbgti/it-workshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spbgti/it-workshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spbgti/it-workshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/spbgti/it-workshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spbgti/it-workshop/statuses/{sha}","languages_url":"https://api.github.com/repos/spbgti/it-workshop/languages","stargazers_url":"https://api.github.com/repos/spbgti/it-workshop/stargazers","contributors_url":"https://api.github.com/repos/spbgti/it-workshop/contributors","subscribers_url":"https://api.github.com/repos/spbgti/it-workshop/subscribers","subscription_url":"https://api.github.com/repos/spbgti/it-workshop/subscription","commits_url":"https://api.github.com/repos/spbgti/it-workshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/spbgti/it-workshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/spbgti/it-workshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/spbgti/it-workshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/spbgti/it-workshop/contents/{+path}","compare_url":"https://api.github.com/repos/spbgti/it-workshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spbgti/it-workshop/merges","archive_url":"https://api.github.com/repos/spbgti/it-workshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spbgti/it-workshop/downloads","issues_url":"https://api.github.com/repos/spbgti/it-workshop/issues{/number}","pulls_url":"https://api.github.com/repos/spbgti/it-workshop/pulls{/number}","milestones_url":"https://api.github.com/repos/spbgti/it-workshop/milestones{/number}","notifications_url":"https://api.github.com/repos/spbgti/it-workshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spbgti/it-workshop/labels{/name}","releases_url":"https://api.github.com/repos/spbgti/it-workshop/releases{/id}","deployments_url":"https://api.github.com/repos/spbgti/it-workshop/deployments","created_at":"2017-08-20T17:56:39Z","updated_at":"2017-09-07T13:01:08Z","pushed_at":"2017-09-23T19:14:29Z","git_url":"git://github.com/spbgti/it-workshop.git","ssh_url":"git@github.com:spbgti/it-workshop.git","clone_url":"https://github.com/spbgti/it-workshop.git","svn_url":"https://github.com/spbgti/it-workshop","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"spbgti:master","ref":"master","sha":"eec31acac4baabff474d8b2fb8f40ee4bb80c609","user":{"login":"spbgti","id":15635987,"avatar_url":"https://avatars1.githubusercontent.com/u/15635987?v=4","gravatar_id":"","url":"https://api.github.com/users/spbgti","html_url":"https://github.com/spbgti","followers_url":"https://api.github.com/users/spbgti/followers","following_url":"https://api.github.com/users/spbgti/following{/other_user}","gists_url":"https://api.github.com/users/spbgti/gists{/gist_id}","starred_url":"https://api.github.com/users/spbgti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbgti/subscriptions","organizations_url":"https://api.github.com/users/spbgti/orgs","repos_url":"https://api.github.com/users/spbgti/repos","events_url":"https://api.github.com/users/spbgti/events{/privacy}","received_events_url":"https://api.github.com/users/spbgti/received_events","type":"Organization","site_admin":false},"repo":{"id":100879182,"name":"it-workshop","full_name":"spbgti/it-workshop","owner":{"login":"spbgti","id":15635987,"avatar_url":"https://avatars1.githubusercontent.com/u/15635987?v=4","gravatar_id":"","url":"https://api.github.com/users/spbgti","html_url":"https://github.com/spbgti","followers_url":"https://api.github.com/users/spbgti/followers","following_url":"https://api.github.com/users/spbgti/following{/other_user}","gists_url":"https://api.github.com/users/spbgti/gists{/gist_id}","starred_url":"https://api.github.com/users/spbgti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbgti/subscriptions","organizations_url":"https://api.github.com/users/spbgti/orgs","repos_url":"https://api.github.com/users/spbgti/repos","events_url":"https://api.github.com/users/spbgti/events{/privacy}","received_events_url":"https://api.github.com/users/spbgti/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spbgti/it-workshop","description":null,"fork":false,"url":"https://api.github.com/repos/spbgti/it-workshop","forks_url":"https://api.github.com/repos/spbgti/it-workshop/forks","keys_url":"https://api.github.com/repos/spbgti/it-workshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spbgti/it-workshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spbgti/it-workshop/teams","hooks_url":"https://api.github.com/repos/spbgti/it-workshop/hooks","issue_events_url":"https://api.github.com/repos/spbgti/it-workshop/issues/events{/number}","events_url":"https://api.github.com/repos/spbgti/it-workshop/events","assignees_url":"https://api.github.com/repos/spbgti/it-workshop/assignees{/user}","branches_url":"https://api.github.com/repos/spbgti/it-workshop/branches{/branch}","tags_url":"https://api.github.com/repos/spbgti/it-workshop/tags","blobs_url":"https://api.github.com/repos/spbgti/it-workshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spbgti/it-workshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spbgti/it-workshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/spbgti/it-workshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spbgti/it-workshop/statuses/{sha}","languages_url":"https://api.github.com/repos/spbgti/it-workshop/languages","stargazers_url":"https://api.github.com/repos/spbgti/it-workshop/stargazers","contributors_url":"https://api.github.com/repos/spbgti/it-workshop/contributors","subscribers_url":"https://api.github.com/repos/spbgti/it-workshop/subscribers","subscription_url":"https://api.github.com/repos/spbgti/it-workshop/subscription","commits_url":"https://api.github.com/repos/spbgti/it-workshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/spbgti/it-workshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/spbgti/it-workshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/spbgti/it-workshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/spbgti/it-workshop/contents/{+path}","compare_url":"https://api.github.com/repos/spbgti/it-workshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spbgti/it-workshop/merges","archive_url":"https://api.github.com/repos/spbgti/it-workshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spbgti/it-workshop/downloads","issues_url":"https://api.github.com/repos/spbgti/it-workshop/issues{/number}","pulls_url":"https://api.github.com/repos/spbgti/it-workshop/pulls{/number}","milestones_url":"https://api.github.com/repos/spbgti/it-workshop/milestones{/number}","notifications_url":"https://api.github.com/repos/spbgti/it-workshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spbgti/it-workshop/labels{/name}","releases_url":"https://api.github.com/repos/spbgti/it-workshop/releases{/id}","deployments_url":"https://api.github.com/repos/spbgti/it-workshop/deployments","created_at":"2017-08-20T17:56:39Z","updated_at":"2017-09-07T13:01:08Z","pushed_at":"2017-09-23T19:14:29Z","git_url":"git://github.com/spbgti/it-workshop.git","ssh_url":"git@github.com:spbgti/it-workshop.git","clone_url":"https://github.com/spbgti/it-workshop.git","svn_url":"https://github.com/spbgti/it-workshop","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spbgti/it-workshop/pulls/9"},"html":{"href":"https://github.com/spbgti/it-workshop/pull/9"},"issue":{"href":"https://api.github.com/repos/spbgti/it-workshop/issues/9"},"comments":{"href":"https://api.github.com/repos/spbgti/it-workshop/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/spbgti/it-workshop/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/spbgti/it-workshop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spbgti/it-workshop/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/spbgti/it-workshop/statuses/b58fc884b2ddd1332f90e57f04a418d3516798ef"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"b0g3r"}}