{"action":"created","comment":{"url":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/22781556","id":22781556,"diff_hunk":"@@ -0,0 +1,12 @@\n+<?php\n+\n+$plugin = array(\n+  'label' => t('Files'),\n+  'resource' => 'files',\n+  'name' => 'files__1_0',\n+  'entity_type' => 'file',\n+  'description' => t('Export the file entity type with \"cookie\" authentication.'),\n+  'class' => 'OsFilesResource',\n+  'authentication_types' => TRUE,\n+  'authentication_optional' => TRUE,\n+);","path":"openscholar/modules/os/modules/os_files/plugins/restful/file/1.0/files__1_0.inc","position":12,"original_position":12,"commit_id":"ec519d596033fa7a72b89c41c66c1bace75df94e","original_commit_id":"ec519d596033fa7a72b89c41c66c1bace75df94e","user":{"login":"RoySegall","id":1222368,"avatar_url":"https://avatars.githubusercontent.com/u/1222368?v=3","gravatar_id":"","url":"https://api.github.com/users/RoySegall","html_url":"https://github.com/RoySegall","followers_url":"https://api.github.com/users/RoySegall/followers","following_url":"https://api.github.com/users/RoySegall/following{/other_user}","gists_url":"https://api.github.com/users/RoySegall/gists{/gist_id}","starred_url":"https://api.github.com/users/RoySegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoySegall/subscriptions","organizations_url":"https://api.github.com/users/RoySegall/orgs","repos_url":"https://api.github.com/users/RoySegall/repos","events_url":"https://api.github.com/users/RoySegall/events{/privacy}","received_events_url":"https://api.github.com/users/RoySegall/received_events","type":"User","site_admin":false},"body":"Missing line in the end of the file.","created_at":"2015-01-12T09:57:15Z","updated_at":"2015-01-12T09:57:15Z","html_url":"https://github.com/openscholar/openscholar/pull/6851#discussion_r22781556","pull_request_url":"https://api.github.com/repos/openscholar/openscholar/pulls/6851","_links":{"self":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/22781556"},"html":{"href":"https://github.com/openscholar/openscholar/pull/6851#discussion_r22781556"},"pull_request":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6851"}}},"pull_request":{"url":"https://api.github.com/repos/openscholar/openscholar/pulls/6851","id":25903983,"html_url":"https://github.com/openscholar/openscholar/pull/6851","diff_url":"https://github.com/openscholar/openscholar/pull/6851.diff","patch_url":"https://github.com/openscholar/openscholar/pull/6851.patch","issue_url":"https://api.github.com/repos/openscholar/openscholar/issues/6851","number":6851,"state":"open","locked":false,"title":"WIP File Endpoint","user":{"login":"mpetrovic","id":611447,"avatar_url":"https://avatars.githubusercontent.com/u/611447?v=3","gravatar_id":"","url":"https://api.github.com/users/mpetrovic","html_url":"https://github.com/mpetrovic","followers_url":"https://api.github.com/users/mpetrovic/followers","following_url":"https://api.github.com/users/mpetrovic/following{/other_user}","gists_url":"https://api.github.com/users/mpetrovic/gists{/gist_id}","starred_url":"https://api.github.com/users/mpetrovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpetrovic/subscriptions","organizations_url":"https://api.github.com/users/mpetrovic/orgs","repos_url":"https://api.github.com/users/mpetrovic/repos","events_url":"https://api.github.com/users/mpetrovic/events{/privacy}","received_events_url":"https://api.github.com/users/mpetrovic/received_events","type":"User","site_admin":false},"body":"From #6818.","created_at":"2014-12-11T14:41:48Z","updated_at":"2015-01-12T09:57:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b2b25adfa9647fd48c7f436ab117bf090aff884","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openscholar/openscholar/pulls/6851/commits","review_comments_url":"https://api.github.com/repos/openscholar/openscholar/pulls/6851/comments","review_comment_url":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openscholar/openscholar/issues/6851/comments","statuses_url":"https://api.github.com/repos/openscholar/openscholar/statuses/ec519d596033fa7a72b89c41c66c1bace75df94e","head":{"label":"openscholar:6818-file_api","ref":"6818-file_api","sha":"ec519d596033fa7a72b89c41c66c1bace75df94e","user":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?v=3","gravatar_id":"","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"repo":{"id":1440092,"name":"openscholar","full_name":"openscholar/openscholar","owner":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?v=3","gravatar_id":"","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openscholar/openscholar","description":"OpenScholar project ","fork":false,"url":"https://api.github.com/repos/openscholar/openscholar","forks_url":"https://api.github.com/repos/openscholar/openscholar/forks","keys_url":"https://api.github.com/repos/openscholar/openscholar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openscholar/openscholar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openscholar/openscholar/teams","hooks_url":"https://api.github.com/repos/openscholar/openscholar/hooks","issue_events_url":"https://api.github.com/repos/openscholar/openscholar/issues/events{/number}","events_url":"https://api.github.com/repos/openscholar/openscholar/events","assignees_url":"https://api.github.com/repos/openscholar/openscholar/assignees{/user}","branches_url":"https://api.github.com/repos/openscholar/openscholar/branches{/branch}","tags_url":"https://api.github.com/repos/openscholar/openscholar/tags","blobs_url":"https://api.github.com/repos/openscholar/openscholar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openscholar/openscholar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openscholar/openscholar/git/refs{/sha}","trees_url":"https://api.github.com/repos/openscholar/openscholar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openscholar/openscholar/statuses/{sha}","languages_url":"https://api.github.com/repos/openscholar/openscholar/languages","stargazers_url":"https://api.github.com/repos/openscholar/openscholar/stargazers","contributors_url":"https://api.github.com/repos/openscholar/openscholar/contributors","subscribers_url":"https://api.github.com/repos/openscholar/openscholar/subscribers","subscription_url":"https://api.github.com/repos/openscholar/openscholar/subscription","commits_url":"https://api.github.com/repos/openscholar/openscholar/commits{/sha}","git_commits_url":"https://api.github.com/repos/openscholar/openscholar/git/commits{/sha}","comments_url":"https://api.github.com/repos/openscholar/openscholar/comments{/number}","issue_comment_url":"https://api.github.com/repos/openscholar/openscholar/issues/comments/{number}","contents_url":"https://api.github.com/repos/openscholar/openscholar/contents/{+path}","compare_url":"https://api.github.com/repos/openscholar/openscholar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openscholar/openscholar/merges","archive_url":"https://api.github.com/repos/openscholar/openscholar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openscholar/openscholar/downloads","issues_url":"https://api.github.com/repos/openscholar/openscholar/issues{/number}","pulls_url":"https://api.github.com/repos/openscholar/openscholar/pulls{/number}","milestones_url":"https://api.github.com/repos/openscholar/openscholar/milestones{/number}","notifications_url":"https://api.github.com/repos/openscholar/openscholar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openscholar/openscholar/labels{/name}","releases_url":"https://api.github.com/repos/openscholar/openscholar/releases{/id}","created_at":"2011-03-04T16:39:08Z","updated_at":"2015-01-07T20:50:29Z","pushed_at":"2015-01-11T12:18:20Z","git_url":"git://github.com/openscholar/openscholar.git","ssh_url":"git@github.com:openscholar/openscholar.git","clone_url":"https://github.com/openscholar/openscholar.git","svn_url":"https://github.com/openscholar/openscholar","homepage":"http://theopenscholar.org","size":152021,"stargazers_count":120,"watchers_count":120,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":781,"forks":56,"open_issues":781,"watchers":120,"default_branch":"SCHOLAR-3.x"}},"base":{"label":"openscholar:api-6811","ref":"api-6811","sha":"17259ebc0f3d3afa7b66f3f3f67b8521d143a706","user":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?v=3","gravatar_id":"","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"repo":{"id":1440092,"name":"openscholar","full_name":"openscholar/openscholar","owner":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?v=3","gravatar_id":"","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openscholar/openscholar","description":"OpenScholar project ","fork":false,"url":"https://api.github.com/repos/openscholar/openscholar","forks_url":"https://api.github.com/repos/openscholar/openscholar/forks","keys_url":"https://api.github.com/repos/openscholar/openscholar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openscholar/openscholar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openscholar/openscholar/teams","hooks_url":"https://api.github.com/repos/openscholar/openscholar/hooks","issue_events_url":"https://api.github.com/repos/openscholar/openscholar/issues/events{/number}","events_url":"https://api.github.com/repos/openscholar/openscholar/events","assignees_url":"https://api.github.com/repos/openscholar/openscholar/assignees{/user}","branches_url":"https://api.github.com/repos/openscholar/openscholar/branches{/branch}","tags_url":"https://api.github.com/repos/openscholar/openscholar/tags","blobs_url":"https://api.github.com/repos/openscholar/openscholar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openscholar/openscholar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openscholar/openscholar/git/refs{/sha}","trees_url":"https://api.github.com/repos/openscholar/openscholar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openscholar/openscholar/statuses/{sha}","languages_url":"https://api.github.com/repos/openscholar/openscholar/languages","stargazers_url":"https://api.github.com/repos/openscholar/openscholar/stargazers","contributors_url":"https://api.github.com/repos/openscholar/openscholar/contributors","subscribers_url":"https://api.github.com/repos/openscholar/openscholar/subscribers","subscription_url":"https://api.github.com/repos/openscholar/openscholar/subscription","commits_url":"https://api.github.com/repos/openscholar/openscholar/commits{/sha}","git_commits_url":"https://api.github.com/repos/openscholar/openscholar/git/commits{/sha}","comments_url":"https://api.github.com/repos/openscholar/openscholar/comments{/number}","issue_comment_url":"https://api.github.com/repos/openscholar/openscholar/issues/comments/{number}","contents_url":"https://api.github.com/repos/openscholar/openscholar/contents/{+path}","compare_url":"https://api.github.com/repos/openscholar/openscholar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openscholar/openscholar/merges","archive_url":"https://api.github.com/repos/openscholar/openscholar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openscholar/openscholar/downloads","issues_url":"https://api.github.com/repos/openscholar/openscholar/issues{/number}","pulls_url":"https://api.github.com/repos/openscholar/openscholar/pulls{/number}","milestones_url":"https://api.github.com/repos/openscholar/openscholar/milestones{/number}","notifications_url":"https://api.github.com/repos/openscholar/openscholar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openscholar/openscholar/labels{/name}","releases_url":"https://api.github.com/repos/openscholar/openscholar/releases{/id}","created_at":"2011-03-04T16:39:08Z","updated_at":"2015-01-07T20:50:29Z","pushed_at":"2015-01-11T12:18:20Z","git_url":"git://github.com/openscholar/openscholar.git","ssh_url":"git@github.com:openscholar/openscholar.git","clone_url":"https://github.com/openscholar/openscholar.git","svn_url":"https://github.com/openscholar/openscholar","homepage":"http://theopenscholar.org","size":152021,"stargazers_count":120,"watchers_count":120,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":781,"forks":56,"open_issues":781,"watchers":120,"default_branch":"SCHOLAR-3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6851"},"html":{"href":"https://github.com/openscholar/openscholar/pull/6851"},"issue":{"href":"https://api.github.com/repos/openscholar/openscholar/issues/6851"},"comments":{"href":"https://api.github.com/repos/openscholar/openscholar/issues/6851/comments"},"review_comments":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6851/comments"},"review_comment":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6851/commits"},"statuses":{"href":"https://api.github.com/repos/openscholar/openscholar/statuses/ec519d596033fa7a72b89c41c66c1bace75df94e"}}}}