{"action":"created","comment":{"url":"https://api.github.com/repos/boutsko/qna/pulls/comments/30983214","id":30983214,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Api::V1::QuestionsController < Api::V1::BaseController\n+\n+  def index\n+\n+    respond_with(@questions = Question.all)\n+  end\n+\n+  def show\n+    respond_with @question\n+  end\n+  \n+  def create\n+    respond_with(@question = Question.create(question_params))","path":"app/controllers/api/v1/questions_controller.rb","position":13,"original_position":13,"commit_id":"840abe11bc454b63df458970e21c04040c2eea12","original_commit_id":"840abe11bc454b63df458970e21c04040c2eea12","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"И опять нет связи с пользователем","created_at":"2015-05-25T14:47:12Z","updated_at":"2015-05-25T14:47:12Z","html_url":"https://github.com/boutsko/qna/pull/14#discussion_r30983214","pull_request_url":"https://api.github.com/repos/boutsko/qna/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/boutsko/qna/pulls/comments/30983214"},"html":{"href":"https://github.com/boutsko/qna/pull/14#discussion_r30983214"},"pull_request":{"href":"https://api.github.com/repos/boutsko/qna/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/boutsko/qna/pulls/14","id":36143283,"html_url":"https://github.com/boutsko/qna/pull/14","diff_url":"https://github.com/boutsko/qna/pull/14.diff","patch_url":"https://github.com/boutsko/qna/pull/14.patch","issue_url":"https://api.github.com/repos/boutsko/qna/issues/14","number":14,"state":"open","locked":false,"title":"Lesson15","user":{"login":"boutsko","id":11396261,"avatar_url":"https://avatars.githubusercontent.com/u/11396261?v=3","gravatar_id":"","url":"https://api.github.com/users/boutsko","html_url":"https://github.com/boutsko","followers_url":"https://api.github.com/users/boutsko/followers","following_url":"https://api.github.com/users/boutsko/following{/other_user}","gists_url":"https://api.github.com/users/boutsko/gists{/gist_id}","starred_url":"https://api.github.com/users/boutsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boutsko/subscriptions","organizations_url":"https://api.github.com/users/boutsko/orgs","repos_url":"https://api.github.com/users/boutsko/repos","events_url":"https://api.github.com/users/boutsko/events{/privacy}","received_events_url":"https://api.github.com/users/boutsko/received_events","type":"User","site_admin":false},"body":"реализовал API функционал для вопросов и ответов","created_at":"2015-05-25T14:38:20Z","updated_at":"2015-05-25T14:47:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56a5202d21dabf7c74cf9817836953e4921d31ff","assignee":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/boutsko/qna/pulls/14/commits","review_comments_url":"https://api.github.com/repos/boutsko/qna/pulls/14/comments","review_comment_url":"https://api.github.com/repos/boutsko/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boutsko/qna/issues/14/comments","statuses_url":"https://api.github.com/repos/boutsko/qna/statuses/840abe11bc454b63df458970e21c04040c2eea12","head":{"label":"boutsko:lesson15","ref":"lesson15","sha":"840abe11bc454b63df458970e21c04040c2eea12","user":{"login":"boutsko","id":11396261,"avatar_url":"https://avatars.githubusercontent.com/u/11396261?v=3","gravatar_id":"","url":"https://api.github.com/users/boutsko","html_url":"https://github.com/boutsko","followers_url":"https://api.github.com/users/boutsko/followers","following_url":"https://api.github.com/users/boutsko/following{/other_user}","gists_url":"https://api.github.com/users/boutsko/gists{/gist_id}","starred_url":"https://api.github.com/users/boutsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boutsko/subscriptions","organizations_url":"https://api.github.com/users/boutsko/orgs","repos_url":"https://api.github.com/users/boutsko/repos","events_url":"https://api.github.com/users/boutsko/events{/privacy}","received_events_url":"https://api.github.com/users/boutsko/received_events","type":"User","site_admin":false},"repo":{"id":31931038,"name":"qna","full_name":"boutsko/qna","owner":{"login":"boutsko","id":11396261,"avatar_url":"https://avatars.githubusercontent.com/u/11396261?v=3","gravatar_id":"","url":"https://api.github.com/users/boutsko","html_url":"https://github.com/boutsko","followers_url":"https://api.github.com/users/boutsko/followers","following_url":"https://api.github.com/users/boutsko/following{/other_user}","gists_url":"https://api.github.com/users/boutsko/gists{/gist_id}","starred_url":"https://api.github.com/users/boutsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boutsko/subscriptions","organizations_url":"https://api.github.com/users/boutsko/orgs","repos_url":"https://api.github.com/users/boutsko/repos","events_url":"https://api.github.com/users/boutsko/events{/privacy}","received_events_url":"https://api.github.com/users/boutsko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boutsko/qna","description":"QnA sample","fork":false,"url":"https://api.github.com/repos/boutsko/qna","forks_url":"https://api.github.com/repos/boutsko/qna/forks","keys_url":"https://api.github.com/repos/boutsko/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boutsko/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boutsko/qna/teams","hooks_url":"https://api.github.com/repos/boutsko/qna/hooks","issue_events_url":"https://api.github.com/repos/boutsko/qna/issues/events{/number}","events_url":"https://api.github.com/repos/boutsko/qna/events","assignees_url":"https://api.github.com/repos/boutsko/qna/assignees{/user}","branches_url":"https://api.github.com/repos/boutsko/qna/branches{/branch}","tags_url":"https://api.github.com/repos/boutsko/qna/tags","blobs_url":"https://api.github.com/repos/boutsko/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boutsko/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boutsko/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/boutsko/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boutsko/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/boutsko/qna/languages","stargazers_url":"https://api.github.com/repos/boutsko/qna/stargazers","contributors_url":"https://api.github.com/repos/boutsko/qna/contributors","subscribers_url":"https://api.github.com/repos/boutsko/qna/subscribers","subscription_url":"https://api.github.com/repos/boutsko/qna/subscription","commits_url":"https://api.github.com/repos/boutsko/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/boutsko/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/boutsko/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/boutsko/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/boutsko/qna/contents/{+path}","compare_url":"https://api.github.com/repos/boutsko/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boutsko/qna/merges","archive_url":"https://api.github.com/repos/boutsko/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boutsko/qna/downloads","issues_url":"https://api.github.com/repos/boutsko/qna/issues{/number}","pulls_url":"https://api.github.com/repos/boutsko/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/boutsko/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/boutsko/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boutsko/qna/labels{/name}","releases_url":"https://api.github.com/repos/boutsko/qna/releases{/id}","created_at":"2015-03-10T01:01:45Z","updated_at":"2015-05-01T08:47:45Z","pushed_at":"2015-05-25T14:38:20Z","git_url":"git://github.com/boutsko/qna.git","ssh_url":"git@github.com:boutsko/qna.git","clone_url":"https://github.com/boutsko/qna.git","svn_url":"https://github.com/boutsko/qna","homepage":"","size":948,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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":"boutsko:master","ref":"master","sha":"c2c3787bd0726b0ebf18dd6996d624e0251268e2","user":{"login":"boutsko","id":11396261,"avatar_url":"https://avatars.githubusercontent.com/u/11396261?v=3","gravatar_id":"","url":"https://api.github.com/users/boutsko","html_url":"https://github.com/boutsko","followers_url":"https://api.github.com/users/boutsko/followers","following_url":"https://api.github.com/users/boutsko/following{/other_user}","gists_url":"https://api.github.com/users/boutsko/gists{/gist_id}","starred_url":"https://api.github.com/users/boutsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boutsko/subscriptions","organizations_url":"https://api.github.com/users/boutsko/orgs","repos_url":"https://api.github.com/users/boutsko/repos","events_url":"https://api.github.com/users/boutsko/events{/privacy}","received_events_url":"https://api.github.com/users/boutsko/received_events","type":"User","site_admin":false},"repo":{"id":31931038,"name":"qna","full_name":"boutsko/qna","owner":{"login":"boutsko","id":11396261,"avatar_url":"https://avatars.githubusercontent.com/u/11396261?v=3","gravatar_id":"","url":"https://api.github.com/users/boutsko","html_url":"https://github.com/boutsko","followers_url":"https://api.github.com/users/boutsko/followers","following_url":"https://api.github.com/users/boutsko/following{/other_user}","gists_url":"https://api.github.com/users/boutsko/gists{/gist_id}","starred_url":"https://api.github.com/users/boutsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boutsko/subscriptions","organizations_url":"https://api.github.com/users/boutsko/orgs","repos_url":"https://api.github.com/users/boutsko/repos","events_url":"https://api.github.com/users/boutsko/events{/privacy}","received_events_url":"https://api.github.com/users/boutsko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boutsko/qna","description":"QnA sample","fork":false,"url":"https://api.github.com/repos/boutsko/qna","forks_url":"https://api.github.com/repos/boutsko/qna/forks","keys_url":"https://api.github.com/repos/boutsko/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boutsko/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boutsko/qna/teams","hooks_url":"https://api.github.com/repos/boutsko/qna/hooks","issue_events_url":"https://api.github.com/repos/boutsko/qna/issues/events{/number}","events_url":"https://api.github.com/repos/boutsko/qna/events","assignees_url":"https://api.github.com/repos/boutsko/qna/assignees{/user}","branches_url":"https://api.github.com/repos/boutsko/qna/branches{/branch}","tags_url":"https://api.github.com/repos/boutsko/qna/tags","blobs_url":"https://api.github.com/repos/boutsko/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boutsko/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boutsko/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/boutsko/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boutsko/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/boutsko/qna/languages","stargazers_url":"https://api.github.com/repos/boutsko/qna/stargazers","contributors_url":"https://api.github.com/repos/boutsko/qna/contributors","subscribers_url":"https://api.github.com/repos/boutsko/qna/subscribers","subscription_url":"https://api.github.com/repos/boutsko/qna/subscription","commits_url":"https://api.github.com/repos/boutsko/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/boutsko/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/boutsko/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/boutsko/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/boutsko/qna/contents/{+path}","compare_url":"https://api.github.com/repos/boutsko/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boutsko/qna/merges","archive_url":"https://api.github.com/repos/boutsko/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boutsko/qna/downloads","issues_url":"https://api.github.com/repos/boutsko/qna/issues{/number}","pulls_url":"https://api.github.com/repos/boutsko/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/boutsko/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/boutsko/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boutsko/qna/labels{/name}","releases_url":"https://api.github.com/repos/boutsko/qna/releases{/id}","created_at":"2015-03-10T01:01:45Z","updated_at":"2015-05-01T08:47:45Z","pushed_at":"2015-05-25T14:38:20Z","git_url":"git://github.com/boutsko/qna.git","ssh_url":"git@github.com:boutsko/qna.git","clone_url":"https://github.com/boutsko/qna.git","svn_url":"https://github.com/boutsko/qna","homepage":"","size":948,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/boutsko/qna/pulls/14"},"html":{"href":"https://github.com/boutsko/qna/pull/14"},"issue":{"href":"https://api.github.com/repos/boutsko/qna/issues/14"},"comments":{"href":"https://api.github.com/repos/boutsko/qna/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/boutsko/qna/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/boutsko/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boutsko/qna/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/boutsko/qna/statuses/840abe11bc454b63df458970e21c04040c2eea12"}}}}