{"action":"created","comment":{"url":"https://api.github.com/repos/minio/cookbook/pulls/comments/234024134","pull_request_review_id":175576202,"id":234024134,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDAyNDEzNA==","diff_hunk":"@@ -1,25 +1,34 @@\n-# Upload files from browser using pre-signed URLs [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io)\n+# Upload Files from a Browser Using Pre-signed URLs [![Slack](https://slack.minio.io/slack?type=svg)](https://slack.minio.io)\n \n-Using presigned URLs, you can allow a browser to upload a file\n-directly to S3 without exposing your S3 credentials to the user. The following\n-is an annotated example of this using [minio-js](https://github.com/minio/minio-js).\n+Using pre-signed URLs, a browser can upload files directly to an S3-compatible cloud storage server (S3) without exposing the S3 credentials to the user. \n \n-### Server code\n+This guide describes how to use the [`presignedPutObject`](https://docs.minio.io/docs/javascript-client-api-reference#presignedPutObject) API from the [Minio JavaScript Library](https://github.com/minio/minio-js) to generate a pre-signed URL. This is demonstrated through a JavaScript example in which an Express Node.js server exposes an endpoint to generate a pre-signed URL and a client-side web application uploads a file to Minio Server using that URL.\n+","path":"docs/presigned-put-upload-via-browser.md","position":11,"original_position":11,"commit_id":"1cf7c6610130b5c8817d221ad33abd72f0b41e0a","original_commit_id":"fc73d12926ae7ff33968feb5cc5f7511089817b3","user":{"login":"jamesneimanconsulting","id":11468259,"node_id":"MDQ6VXNlcjExNDY4MjU5","avatar_url":"https://avatars1.githubusercontent.com/u/11468259?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesneimanconsulting","html_url":"https://github.com/jamesneimanconsulting","followers_url":"https://api.github.com/users/jamesneimanconsulting/followers","following_url":"https://api.github.com/users/jamesneimanconsulting/following{/other_user}","gists_url":"https://api.github.com/users/jamesneimanconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesneimanconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesneimanconsulting/subscriptions","organizations_url":"https://api.github.com/users/jamesneimanconsulting/orgs","repos_url":"https://api.github.com/users/jamesneimanconsulting/repos","events_url":"https://api.github.com/users/jamesneimanconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/jamesneimanconsulting/received_events","type":"User","site_admin":false},"body":"@deekoder I have made this change in the branch. Please see https://github.com/jamesneimanconsulting/cookbook/blob/patch-7/docs/presigned-put-upload-via-browser.md.","created_at":"2018-11-15T21:58:52Z","updated_at":"2018-11-15T21:58:52Z","html_url":"https://github.com/minio/cookbook/pull/241#discussion_r234024134","pull_request_url":"https://api.github.com/repos/minio/cookbook/pulls/241","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/minio/cookbook/pulls/comments/234024134"},"html":{"href":"https://github.com/minio/cookbook/pull/241#discussion_r234024134"},"pull_request":{"href":"https://api.github.com/repos/minio/cookbook/pulls/241"}},"in_reply_to_id":233657751},"pull_request":{"url":"https://api.github.com/repos/minio/cookbook/pulls/241","id":230942447,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwOTQyNDQ3","html_url":"https://github.com/minio/cookbook/pull/241","diff_url":"https://github.com/minio/cookbook/pull/241.diff","patch_url":"https://github.com/minio/cookbook/pull/241.patch","issue_url":"https://api.github.com/repos/minio/cookbook/issues/241","number":241,"state":"open","locked":false,"title":"Update presigned-put-upload-via-browser.md","user":{"login":"jamesneimanconsulting","id":11468259,"node_id":"MDQ6VXNlcjExNDY4MjU5","avatar_url":"https://avatars1.githubusercontent.com/u/11468259?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesneimanconsulting","html_url":"https://github.com/jamesneimanconsulting","followers_url":"https://api.github.com/users/jamesneimanconsulting/followers","following_url":"https://api.github.com/users/jamesneimanconsulting/following{/other_user}","gists_url":"https://api.github.com/users/jamesneimanconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesneimanconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesneimanconsulting/subscriptions","organizations_url":"https://api.github.com/users/jamesneimanconsulting/orgs","repos_url":"https://api.github.com/users/jamesneimanconsulting/repos","events_url":"https://api.github.com/users/jamesneimanconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/jamesneimanconsulting/received_events","type":"User","site_admin":false},"body":"@deekoder , @harshavardhana Kindly review and merge if approved. I worked on this prior to the Tuesday afternoon call with Garima and Deepa.","created_at":"2018-11-14T18:49:02Z","updated_at":"2018-11-15T21:58:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c1b4b37ed665b14beb31d7d5b541a69d6b7f55d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/minio/cookbook/pulls/241/commits","review_comments_url":"https://api.github.com/repos/minio/cookbook/pulls/241/comments","review_comment_url":"https://api.github.com/repos/minio/cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minio/cookbook/issues/241/comments","statuses_url":"https://api.github.com/repos/minio/cookbook/statuses/1cf7c6610130b5c8817d221ad33abd72f0b41e0a","head":{"label":"jamesneimanconsulting:patch-7","ref":"patch-7","sha":"1cf7c6610130b5c8817d221ad33abd72f0b41e0a","user":{"login":"jamesneimanconsulting","id":11468259,"node_id":"MDQ6VXNlcjExNDY4MjU5","avatar_url":"https://avatars1.githubusercontent.com/u/11468259?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesneimanconsulting","html_url":"https://github.com/jamesneimanconsulting","followers_url":"https://api.github.com/users/jamesneimanconsulting/followers","following_url":"https://api.github.com/users/jamesneimanconsulting/following{/other_user}","gists_url":"https://api.github.com/users/jamesneimanconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesneimanconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesneimanconsulting/subscriptions","organizations_url":"https://api.github.com/users/jamesneimanconsulting/orgs","repos_url":"https://api.github.com/users/jamesneimanconsulting/repos","events_url":"https://api.github.com/users/jamesneimanconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/jamesneimanconsulting/received_events","type":"User","site_admin":false},"repo":{"id":156439253,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY0MzkyNTM=","name":"cookbook","full_name":"jamesneimanconsulting/cookbook","private":false,"owner":{"login":"jamesneimanconsulting","id":11468259,"node_id":"MDQ6VXNlcjExNDY4MjU5","avatar_url":"https://avatars1.githubusercontent.com/u/11468259?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesneimanconsulting","html_url":"https://github.com/jamesneimanconsulting","followers_url":"https://api.github.com/users/jamesneimanconsulting/followers","following_url":"https://api.github.com/users/jamesneimanconsulting/following{/other_user}","gists_url":"https://api.github.com/users/jamesneimanconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesneimanconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesneimanconsulting/subscriptions","organizations_url":"https://api.github.com/users/jamesneimanconsulting/orgs","repos_url":"https://api.github.com/users/jamesneimanconsulting/repos","events_url":"https://api.github.com/users/jamesneimanconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/jamesneimanconsulting/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jamesneimanconsulting/cookbook","description":"Collection of Minio recipes","fork":true,"url":"https://api.github.com/repos/jamesneimanconsulting/cookbook","forks_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/forks","keys_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/teams","hooks_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/hooks","issue_events_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/events","assignees_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/tags","blobs_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/languages","stargazers_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/stargazers","contributors_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/contributors","subscribers_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/subscribers","subscription_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/subscription","commits_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/merges","archive_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/downloads","issues_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/labels{/name}","releases_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/jamesneimanconsulting/cookbook/deployments","created_at":"2018-11-06T19:53:23Z","updated_at":"2018-11-06T19:53:25Z","pushed_at":"2018-11-15T21:57:54Z","git_url":"git://github.com/jamesneimanconsulting/cookbook.git","ssh_url":"git@github.com:jamesneimanconsulting/cookbook.git","clone_url":"https://github.com/jamesneimanconsulting/cookbook.git","svn_url":"https://github.com/jamesneimanconsulting/cookbook","homepage":"https://docs.minio.io","size":4546,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"minio:master","ref":"master","sha":"813b6f5275c59e8ba5e9ecbd2067e70be76f3dfd","user":{"login":"minio","id":695951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NTk1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/695951?v=4","gravatar_id":"","url":"https://api.github.com/users/minio","html_url":"https://github.com/minio","followers_url":"https://api.github.com/users/minio/followers","following_url":"https://api.github.com/users/minio/following{/other_user}","gists_url":"https://api.github.com/users/minio/gists{/gist_id}","starred_url":"https://api.github.com/users/minio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minio/subscriptions","organizations_url":"https://api.github.com/users/minio/orgs","repos_url":"https://api.github.com/users/minio/repos","events_url":"https://api.github.com/users/minio/events{/privacy}","received_events_url":"https://api.github.com/users/minio/received_events","type":"Organization","site_admin":false},"repo":{"id":49700913,"node_id":"MDEwOlJlcG9zaXRvcnk0OTcwMDkxMw==","name":"cookbook","full_name":"minio/cookbook","private":false,"owner":{"login":"minio","id":695951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NTk1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/695951?v=4","gravatar_id":"","url":"https://api.github.com/users/minio","html_url":"https://github.com/minio","followers_url":"https://api.github.com/users/minio/followers","following_url":"https://api.github.com/users/minio/following{/other_user}","gists_url":"https://api.github.com/users/minio/gists{/gist_id}","starred_url":"https://api.github.com/users/minio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minio/subscriptions","organizations_url":"https://api.github.com/users/minio/orgs","repos_url":"https://api.github.com/users/minio/repos","events_url":"https://api.github.com/users/minio/events{/privacy}","received_events_url":"https://api.github.com/users/minio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/minio/cookbook","description":"Collection of Minio recipes","fork":false,"url":"https://api.github.com/repos/minio/cookbook","forks_url":"https://api.github.com/repos/minio/cookbook/forks","keys_url":"https://api.github.com/repos/minio/cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minio/cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minio/cookbook/teams","hooks_url":"https://api.github.com/repos/minio/cookbook/hooks","issue_events_url":"https://api.github.com/repos/minio/cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/minio/cookbook/events","assignees_url":"https://api.github.com/repos/minio/cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/minio/cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/minio/cookbook/tags","blobs_url":"https://api.github.com/repos/minio/cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minio/cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minio/cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/minio/cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minio/cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/minio/cookbook/languages","stargazers_url":"https://api.github.com/repos/minio/cookbook/stargazers","contributors_url":"https://api.github.com/repos/minio/cookbook/contributors","subscribers_url":"https://api.github.com/repos/minio/cookbook/subscribers","subscription_url":"https://api.github.com/repos/minio/cookbook/subscription","commits_url":"https://api.github.com/repos/minio/cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/minio/cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/minio/cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/minio/cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/minio/cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/minio/cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minio/cookbook/merges","archive_url":"https://api.github.com/repos/minio/cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minio/cookbook/downloads","issues_url":"https://api.github.com/repos/minio/cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/minio/cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/minio/cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/minio/cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minio/cookbook/labels{/name}","releases_url":"https://api.github.com/repos/minio/cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/minio/cookbook/deployments","created_at":"2016-01-15T06:28:20Z","updated_at":"2018-11-15T10:46:26Z","pushed_at":"2018-11-15T21:57:55Z","git_url":"git://github.com/minio/cookbook.git","ssh_url":"git@github.com:minio/cookbook.git","clone_url":"https://github.com/minio/cookbook.git","svn_url":"https://github.com/minio/cookbook","homepage":"https://docs.minio.io","size":4451,"stargazers_count":248,"watchers_count":248,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":108,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":108,"open_issues":8,"watchers":248,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minio/cookbook/pulls/241"},"html":{"href":"https://github.com/minio/cookbook/pull/241"},"issue":{"href":"https://api.github.com/repos/minio/cookbook/issues/241"},"comments":{"href":"https://api.github.com/repos/minio/cookbook/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/minio/cookbook/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/minio/cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minio/cookbook/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/minio/cookbook/statuses/1cf7c6610130b5c8817d221ad33abd72f0b41e0a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jamesneimanconsulting"}}