{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/5","id":88493497,"html_url":"https://github.com/Yuav/MogileFS-PHP-Model/pull/5","diff_url":"https://github.com/Yuav/MogileFS-PHP-Model/pull/5.diff","patch_url":"https://github.com/Yuav/MogileFS-PHP-Model/pull/5.patch","issue_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues/5","number":5,"state":"closed","locked":false,"title":"method to fetch raw content from mogile fs instead of storing in a file","user":{"login":"rajata07","id":5332729,"avatar_url":"https://avatars.githubusercontent.com/u/5332729?v=3","gravatar_id":"","url":"https://api.github.com/users/rajata07","html_url":"https://github.com/rajata07","followers_url":"https://api.github.com/users/rajata07/followers","following_url":"https://api.github.com/users/rajata07/following{/other_user}","gists_url":"https://api.github.com/users/rajata07/gists{/gist_id}","starred_url":"https://api.github.com/users/rajata07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajata07/subscriptions","organizations_url":"https://api.github.com/users/rajata07/orgs","repos_url":"https://api.github.com/users/rajata07/repos","events_url":"https://api.github.com/users/rajata07/events{/privacy}","received_events_url":"https://api.github.com/users/rajata07/received_events","type":"User","site_admin":false},"body":"This method allows to fetch the raw content from mogile fs. The use case is when you want to fetch the content without storing it in a temp file and pass through further to another cloud. For example, fetching millions of images from Mogile FS and pushing them to AWS S3. In this case, it is very useful not to create temporary files (so that server does not run out of space) and instead fetch raw binary files and push to AWS S3. \r\n\r\nNote: The method sends an curl request similar to fetchFile and store the result in a variable by setting CURLOPT_RETURNTRANSFER. \r\n","created_at":"2016-10-07T19:21:24Z","updated_at":"2016-10-10T10:58:58Z","closed_at":"2016-10-10T10:58:58Z","merged_at":"2016-10-10T10:58:58Z","merge_commit_sha":"2aea19b75970e4f5ecb4b46d78e2d70789ad413a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues/5/comments","statuses_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/statuses/0670f4c946d0fb04c31d3bfa6252b029263837cf","head":{"label":"rajata07:master","ref":"master","sha":"0670f4c946d0fb04c31d3bfa6252b029263837cf","user":{"login":"rajata07","id":5332729,"avatar_url":"https://avatars.githubusercontent.com/u/5332729?v=3","gravatar_id":"","url":"https://api.github.com/users/rajata07","html_url":"https://github.com/rajata07","followers_url":"https://api.github.com/users/rajata07/followers","following_url":"https://api.github.com/users/rajata07/following{/other_user}","gists_url":"https://api.github.com/users/rajata07/gists{/gist_id}","starred_url":"https://api.github.com/users/rajata07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajata07/subscriptions","organizations_url":"https://api.github.com/users/rajata07/orgs","repos_url":"https://api.github.com/users/rajata07/repos","events_url":"https://api.github.com/users/rajata07/events{/privacy}","received_events_url":"https://api.github.com/users/rajata07/received_events","type":"User","site_admin":false},"repo":{"id":70275251,"name":"MogileFS-PHP-Model","full_name":"rajata07/MogileFS-PHP-Model","owner":{"login":"rajata07","id":5332729,"avatar_url":"https://avatars.githubusercontent.com/u/5332729?v=3","gravatar_id":"","url":"https://api.github.com/users/rajata07","html_url":"https://github.com/rajata07","followers_url":"https://api.github.com/users/rajata07/followers","following_url":"https://api.github.com/users/rajata07/following{/other_user}","gists_url":"https://api.github.com/users/rajata07/gists{/gist_id}","starred_url":"https://api.github.com/users/rajata07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajata07/subscriptions","organizations_url":"https://api.github.com/users/rajata07/orgs","repos_url":"https://api.github.com/users/rajata07/repos","events_url":"https://api.github.com/users/rajata07/events{/privacy}","received_events_url":"https://api.github.com/users/rajata07/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rajata07/MogileFS-PHP-Model","description":"Model representation of a file inside MogileFS, complete with mapper and adapters for save, find and delete","fork":true,"url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model","forks_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/forks","keys_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/teams","hooks_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/hooks","issue_events_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/issues/events{/number}","events_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/events","assignees_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/assignees{/user}","branches_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/branches{/branch}","tags_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/tags","blobs_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/git/refs{/sha}","trees_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/statuses/{sha}","languages_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/languages","stargazers_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/stargazers","contributors_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/contributors","subscribers_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/subscribers","subscription_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/subscription","commits_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/commits{/sha}","git_commits_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/git/commits{/sha}","comments_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/comments{/number}","issue_comment_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/issues/comments{/number}","contents_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/contents/{+path}","compare_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/merges","archive_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/downloads","issues_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/issues{/number}","pulls_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/pulls{/number}","milestones_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/milestones{/number}","notifications_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/labels{/name}","releases_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/releases{/id}","deployments_url":"https://api.github.com/repos/rajata07/MogileFS-PHP-Model/deployments","created_at":"2016-10-07T19:06:54Z","updated_at":"2016-10-07T19:06:55Z","pushed_at":"2016-10-10T10:56:40Z","git_url":"git://github.com/rajata07/MogileFS-PHP-Model.git","ssh_url":"git@github.com:rajata07/MogileFS-PHP-Model.git","clone_url":"https://github.com/rajata07/MogileFS-PHP-Model.git","svn_url":"https://github.com/rajata07/MogileFS-PHP-Model","homepage":"","size":53,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Yuav:master","ref":"master","sha":"562fa427f2ee98cd2295cd7ff3e5fc9983073bc6","user":{"login":"Yuav","id":1322650,"avatar_url":"https://avatars.githubusercontent.com/u/1322650?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuav","html_url":"https://github.com/Yuav","followers_url":"https://api.github.com/users/Yuav/followers","following_url":"https://api.github.com/users/Yuav/following{/other_user}","gists_url":"https://api.github.com/users/Yuav/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuav/subscriptions","organizations_url":"https://api.github.com/users/Yuav/orgs","repos_url":"https://api.github.com/users/Yuav/repos","events_url":"https://api.github.com/users/Yuav/events{/privacy}","received_events_url":"https://api.github.com/users/Yuav/received_events","type":"User","site_admin":false},"repo":{"id":3156417,"name":"MogileFS-PHP-Model","full_name":"Yuav/MogileFS-PHP-Model","owner":{"login":"Yuav","id":1322650,"avatar_url":"https://avatars.githubusercontent.com/u/1322650?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuav","html_url":"https://github.com/Yuav","followers_url":"https://api.github.com/users/Yuav/followers","following_url":"https://api.github.com/users/Yuav/following{/other_user}","gists_url":"https://api.github.com/users/Yuav/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuav/subscriptions","organizations_url":"https://api.github.com/users/Yuav/orgs","repos_url":"https://api.github.com/users/Yuav/repos","events_url":"https://api.github.com/users/Yuav/events{/privacy}","received_events_url":"https://api.github.com/users/Yuav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yuav/MogileFS-PHP-Model","description":"Model representation of a file inside MogileFS, complete with mapper and adapters for save, find and delete","fork":false,"url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model","forks_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/forks","keys_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/teams","hooks_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/hooks","issue_events_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues/events{/number}","events_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/events","assignees_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/assignees{/user}","branches_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/branches{/branch}","tags_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/tags","blobs_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/statuses/{sha}","languages_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/languages","stargazers_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/stargazers","contributors_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/contributors","subscribers_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/subscribers","subscription_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/subscription","commits_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/contents/{+path}","compare_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/merges","archive_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/downloads","issues_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues{/number}","pulls_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls{/number}","milestones_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/milestones{/number}","notifications_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/labels{/name}","releases_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/releases{/id}","deployments_url":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/deployments","created_at":"2012-01-11T19:02:44Z","updated_at":"2016-10-09T21:29:25Z","pushed_at":"2016-10-10T10:58:59Z","git_url":"git://github.com/Yuav/MogileFS-PHP-Model.git","ssh_url":"git@github.com:Yuav/MogileFS-PHP-Model.git","clone_url":"https://github.com/Yuav/MogileFS-PHP-Model.git","svn_url":"https://github.com/Yuav/MogileFS-PHP-Model","homepage":"","size":51,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/5"},"html":{"href":"https://github.com/Yuav/MogileFS-PHP-Model/pull/5"},"issue":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues/5"},"comments":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Yuav/MogileFS-PHP-Model/statuses/0670f4c946d0fb04c31d3bfa6252b029263837cf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Yuav","id":1322650,"avatar_url":"https://avatars.githubusercontent.com/u/1322650?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuav","html_url":"https://github.com/Yuav","followers_url":"https://api.github.com/users/Yuav/followers","following_url":"https://api.github.com/users/Yuav/following{/other_user}","gists_url":"https://api.github.com/users/Yuav/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuav/subscriptions","organizations_url":"https://api.github.com/users/Yuav/orgs","repos_url":"https://api.github.com/users/Yuav/repos","events_url":"https://api.github.com/users/Yuav/events{/privacy}","received_events_url":"https://api.github.com/users/Yuav/received_events","type":"User","site_admin":false},"comments":5,"review_comments":4,"commits":1,"additions":50,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"Yuav"}}